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.

Check File System on encrypted XFS volume

Featured Replies

Hello,

 

i have a little problem with an encrypted XFS Volume which i created with unassigned devices.
The external hard disk has some problems when i check the log and i would like to check the filesystem.

 

When i try to repair it with xfs_repair i get an error

xfs_check -n /dev/sda1

xfs_repair: cannot open /dev/sda1: Device or resource busy

 

The volume is not mounted at the moment.

Anybody has the information to check this?

In the unraid documentation i could not find the answer.
https://wiki.unraid.net/index.php/Check_Disk_Filesystems#Drives_formatted_with_XFS

  • Community Expert

If it's already decrypted you can use:

 

xfs_repair -v /dev/mapper/sdX1

 

  • Author

Thanks for your help.

 

I checked the folder, if the drive is mounted is see the device with "DriveModelName-Serialnumber" but not sda1

When the drive is not mounted i dont see the device name or sda1

When i try to run the repair on the "DriveModelName-Serialnumber" drive i get

"contains a mounted and writable filesystem"

  • Community Expert

That works for any array/pool devices, not sure with unassigned ones since I don't use encryption.

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.