Structure needs cleaning?


Recommended Posts

root@Tower:/mnt/user/Movies# ls -laR >> /mnt/user/Temp/laR_Movies.txt
/bin/ls: reading directory './Abraham Lincoln Vampire Hunter (2012)':
/bin/ls: reading directory './Brothers (2009)/.actors': Structure needs cleaning

 

I ran:

xfs-reapair /dev/sdo

 

Still complaining about a few files in those folders. 

I can't delete the files in question either, which I would be ok with. 

Any suggestions?

Edited by exist2resist
Link to comment
1 hour ago, exist2resist said:

root@Tower:/mnt/user/Movies# ls -laR >> /mnt/user/Temp/laR_Movies.txt
/bin/ls: reading directory './Abraham Lincoln Vampire Hunter (2012)':
/bin/ls: reading directory './Brothers (2009)/.actors': Structure needs cleaning

 

I ran:


xfs-reapair /dev/sdo

 

Still complaining about a few files in those folders. 

I can't delete the files in question either, which I would be ok with. 

Any suggestions?

That is not a valid xfs_repair command as if you are running against a ‘sdX’ type device you need to include the partition number (e.g. /dev/sdo1).   Not sure if in doing so you have damaged the file system and potentially caused data loss.    Running against the ‘sdX’ devices will invalidate any parity that you have.

 

Assuming that is an array drive it is strongly recommended that you do not run against the ‘dev’sdX’ Devices but instead put the array into Maintenance mode and then against /dev/mdX where X is the disk number at the Unraid level (when using the mdX devices you do not need to specify the partition) as running against ‘mdX’ devices maintains parity.    You can also run the repair from the GUI by putting the array into Maintenance mode; clicking on the drive in the Main tab and scrolling down to the section to check the 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.