cephfs-data-scan with multiple data pools

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

 



Dear All,

I'm trying to recover failed MDS metadata by following the link below but
having troubles. Thanks in advance.

Question1: how to scan 2 data pools with scan_extents (cmd 1). The cmd
didn't work with two pools specified. Should I scan one then the other?

Question2: As to scan_inodes (cmd 2), should I only specify the first data
pool per the document. I'm concerned if the 2nd pool is not scanned then
that'll cause metadata loss.

*my fs name: cephfs, data pools: cephfs_hdd, cephfs_ssd*

cmd 1: cephfs-data-scan scan_extents --filesystem cephfs cephfs_hdd
cephfs_ssd
cmd 2: cephfs-data-scan scan_inodes --filesystem cephfs cephfs_hdd

cephfs-data-scan scan_extents [<data pool> [<extra data pool>
...]]cephfs-data-scan scan_inodes [<data pool>]cephfs-data-scan
scan_links


Note, the data pool parameters for ‘scan_extents’, ‘scan_inodes’ and
‘cleanup’ commands are optional, and usually the tool will be able to
detect the pools automatically. Still you may override this. The
‘scan_extents’ command needs all data pools to be specified,* while
‘scan_inodes’ and ‘cleanup’ commands need only the main data pool.*

*https://docs.ceph.com/en/latest/cephfs/disaster-recovery-experts/
<https://docs.ceph.com/en/latest/cephfs/disaster-recovery-experts/>*





-- 
Best Regards,
*Justin Li*
IT Support/Systems Administrator
*Justin.Li2030@xxxxxxxxx <Justin.Li2030@xxxxxxxxx>*
  <http://www.linkedin.com/in/justinli7>
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[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