August 30, 20232 yr Is it possible to change the defaults when formatting XFS for any new drives I add to the array? I don't need the features of the new reflink setting and would prefer the extra space available on all new drives.
August 30, 20232 yr Community Expert Nope, but you can reformat the drive after Unraid does it with reflink=0 mkfs.xfs -m crc=1,finobt=1,reflink=0 -f /dev/mdXp1 Replace X with disk number, if using Unraid <6.12 remove p1 from the end.
August 30, 20232 yr Author Will this manual format command set correct parameters for large 20TB drives? (GPT: 4KiB-aligned)
August 31, 20232 yr Community Expert Yes, that just for the format, Unraid first creates the partition correctly aligned.
April 24, 20242 yr Hi Guys. I was just looking for a way to disable reflink to reduce the FS overhead on the disk size and found this topic. If I try to use makfx.xfs on the disk I get "mkfs.xfs: cannot open /dev/md2p1: Device or resource busy" (also in maintenance mode). If I stop the array, the device cannot be found obvsl: "Error accessing specified device /dev/md2p1: No such file or directory" What do I need to do to apply the command?
April 24, 20242 yr Community Expert 13 minutes ago, Konstellis said: If I try to use makfx.xfs on the disk I get "mkfs.xfs: cannot open /dev/md2p1: Device or resource busy" (also in maintenance mode). md device should not be busy in maintenance mode, try rebooting
April 24, 20242 yr Thanks for the swift answer! Unfortunately, it is still shown as busy. May it have something to do with the drive being formatted as encrypted xfs? I would like to keep it encrypted... Edited April 24, 20242 yr by Konstellis
April 24, 20242 yr Community Expert 1 hour ago, Konstellis said: May it have something to do with the drive being formatted as encrypted xfs? I would like to keep it encrypted... Yes, if the drive is encrypted, and still in maintenance mode, you need to use: /dev/mapper/mdXp1
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.