Jump to content

Structure needs cleaning?


exist2resist

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?

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...