Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Change default XFS format settings to reflink=0

Featured Replies

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.

  • 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.

  • Author

Will this manual format command set correct parameters for large 20TB drives? (GPT: 4KiB-aligned)

  • Community Expert

Yes, that just for the format, Unraid first creates the partition correctly aligned.

  • 7 months later...

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?

  • 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

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 by Konstellis

  • 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

It worked.

Thank you so much!

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.