"converting" btrfs osds to xfs?

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

 



I am considering converting some OSDs to xfs (currently running btrfs)
for stability reasons.  I have a couple of ideas for doing this, and
was hoping to get some comments:

Method #1:
1.  Check cluster health and make sure data on a specific OSD is
replicated elsewhere.
2.  Bring down the OSD
3.  Reformat it to xfs
4.  Restart OSD
5.  Repeat 1-4 until all btrfs OSDs have been converted.

Method #2:
1.  Take cluster offline.
2.  Copy the data off btrfs onto a separate disk
3.  Reformat it to xfs
4.  Copy data back
5.  Repeat 1-4 until all btrfs disks have been converted.
6.  Bring up cluster.

Obviously #1 seems much more appetizing, but unfortunately I can't
seem to find out how to verify that data on a specific OSD is
replicated elsewhere.  I could go off general cluster health, but that
seems more error prone.

Going with #2 would incur a large downtime, which I would like to
avoid.  Additionally, I am not completely certain which data must be
copied off and restored, as it seems some btrfs snapshots are done
which would not easily be migratable to xfs.

Which of these sounds better to other people?  Is there a method #3?
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux