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.li2...@gmail.com <justin.li2...@gmail.com>*
  <http://www.linkedin.com/in/justinli7>
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to