Check File System on encrypted XFS volume


Recommended Posts

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

Link to comment

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"

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.