Can I change file system type of an array after copying data to it?


Go to solution Solved by itimpi,

Recommended Posts

I would like to change the array file system that is currently in place from xfs to xfs - encrypted. However, I already have data stored on the array. 

The interface warns me that:

Quote

"Changing the file system type of a device will permit you to reformat that device using the new file system. Be aware that all existing data on the device will be lost."

 

I assume that means that I cannot change the file system on the disks without either doing one disk at a time and then rebuilding parity, or re-building the array from scratch (likely a faster option with the amount of data I have). 

 

Is there anything I can do to efficiently migrate the data from an unencrypted file system to an encrypted one?

Link to comment
  • Solution

You cannot change the file system type without reformatting (which effectively wipes the current data).   The only way to achieve this is to first copy the data elsewhere before reformatting the drive and then (if wanted) copy it back.

 

Parity is maintained when you reformat so will not need rebuilding.

 

  • Like 1
Link to comment

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.