XFS formatting outside Unraid for drop in migration


Go to solution Solved by itimpi,

Recommended Posts

Looking for the correct way to format XFS drives so i can just drop them into a new Unraid array and after adding them turn on parity. I'm trying to avoid having to move all my data around in unraid. I have 130ishTB on a bunch of drives. I would have a lot of down time while moving the data from unassigned devices over to the array as it seems like I cant pool/merge/union the unassigned devices right? If I format drives correctly and move the data over before going to unraid I should be able to just configure all the plugins/dockers, add two parity drives and be up and running

Currently my research suggests if i set the spinning disks in gdisk partitioning with sector size of 64 and then to starting at sector 64 instead of the default 2048 that is how Unraid likes it. I then format it as xfs and label the drive. Seems to look right, however when i do this i get a superblock issue and can't then mount the drive due to a superblock issue. Seems like the superblock resides in the first 512 blocks. What am I missing? has anyone manually partitioned and formatted drives in other OS's for use in Unraid and what did you have to do?

Link to comment
  • Solution

The easiest thing would be to plug the drives into Unraid as Unassigned Devices and use the UD plugin to partition and format them correctly for Unraid (as XFS or BTRFS) drives.   You can then use them on other systems to add files and when you add them to Unraid (as long is there is no current parity drive) then Unraid will accept them and leave their data intact.

  • Like 2
Link to comment

I don't remember the magic sauce, but if you format them in UD, you should be able to remove them and add data in any other distro that understands XFS.

 

All root folders on all the drives will become user shares with their content merged in the /mnt/user/folder structure, so you can set up shares at the same time by judiciously using root folders.

  • Like 1
Link to comment
  • 2 weeks later...

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.