Re: Upgrade from 12.2.1 to 12.2.2 broke my CephFs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Zheng,


On 12/11/2017 04:28 PM, Yan, Zheng wrote:
On Mon, Dec 11, 2017 at 11:17 PM, Tobias Prousa <tobias.prousa@xxxxxxxxx> wrote:
These are essentially the first commands I did execute, in this exact order.
Additionally I did a:

ceph fs reset cephfs --yes-i-really-mean-it

how many active mds were there before the upgrading.
The CephFS in all the years never ever had more than a single active MDS. Might be that ceph fs reset was obsolete and actually killing all clients happend at the same time so this might not have been the change to get it "working" again.


Any hint on how to find max inode number and do I understand that I should
remove every free-marked inode number that is there except the biggest one
which has to stay?
If you are not sure, you can just try removing 10000 inode numbers
from inodetale
I still do not get the meanings of all that inode removal. Wouldn't removing inodes drop files, i.e. data loss? And do those falsely free-marked inodes mean that if I start writing to my cephfs (in case I would get MDS working stable again) mean that it would write new data to inodes that are actually already in use, again coming with data loss? Would like to understand what I'm doing before I do it ;)



How to remove those inodes using cephfs-table-tool?

using cephfs-table-tool take_inos <max ino>
Is there some documentation to cephfs-table-tool? And which inodes would I want to remove? Again, I would like to understand whats happening.

Thank you so much for taking your time. Your help is highly appreciated!

Best regards,
Tobi

--
-----------------------------------------------------------
Dipl.-Inf. (FH) Tobias Prousa
Leiter Entwicklung Datenlogger

CAETEC GmbH
Industriestr. 1
D-82140 Olching
www.caetec.de

Gesellschaft mit beschränkter Haftung
Sitz der Gesellschaft: Olching
Handelsregister: Amtsgericht München, HRB 183929
Geschäftsführung: Stephan Bacher, Andreas Wocke

Tel.: +49 (0)8142 / 50 13 60
Fax.: +49 (0)8142 / 50 13 69

eMail: tobias.prousa@xxxxxxxxx
Web:   http://www.caetec.de
------------------------------------------------------------

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux