[SOLVED] Changing FS on Disk in Array


kolla

Recommended Posts

Hi guys,

 

I have several disks (reiserfs) on my array that I was long planning to convert to "xfs" and was able to successfully convert the first disk (disk1) as follows

using an external USB drive (14TB) which I pre-cleared successfully beforehand:

 

1. Mounted the external USB disk as an "Unassigned Device" and formatted it to xfs.

2. Copied all data from disk1 into the Unassigned Disk using "rsync -avPX /mnt/disk1/ /mnt/disks/WD_easystore../". 

3. Stopped the array. Change the disk1 format to "xfs" and start the array.

4. Copy data from the unassigned USB device back to disk1 using  reverse command "rsync -avPX /mnt/disks/WD_easystore../ /mnt/disk1/"

   so that disk1 is now in "xfs" format.

 

This seems to have worked well and my question is do I need to pre-clear the external unassigned device again before attempting to repeat the above process for the next disk in array?

 

 

Link to comment

There seems to be a missing step 3.5 where after changing the format of the array disk to XFS and restarting the array you carried out the format step to create an empty XFS file system on disk1 before copying the data back to it.   I assume this happened?
 

-Rez-clear is never REQUIRED with Unraid, only use it if you intend to stress test a drive.   if you want to empty the external disk again ready for the next array drive you can format the external drive again (fastest) or simply delete all files/folders on it.

  • Thanks 1
Link to comment
3 hours ago, itimpi said:

There seems to be a missing step 3.5 where after changing the format of the array disk to XFS and restarting the array you carried out the format step to create an empty XFS file system on disk1 before copying the data back to it.   I assume this happened?
 

-Rez-clear is never REQUIRED with Unraid, only use it if you intend to stress test a drive.   if you want to empty the external disk again ready for the next array drive you can format the external drive again (fastest) or simply delete all files/folders on it.

Thanks! Yes I did format Disk1 to xfs before copying data back. Looks like I'm going to simply format the external disk and move to the next array drive then.

Thank you!

Link to comment
  • kolla changed the title to [SOLVED] Changing FS on Disk in Array

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.