Re: I got file system corruption with XFS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 12/11/18 2:32 PM, Luciano ES wrote:
> I needed to restore something from my backups, an external hard disk 
> that is kept separately, always disconnected until I really need it. 
> 
> But the file system refused to be mounted: "structure needs cleaning," 
> it said.
> 
> I googled and didn't find much hope about it. I followed what little 
> advice I found: I ran xfs_repair and it didn't work. So I ran it 
> again with -L and it worked, but the software itself warned me that 
> some files could not be recovered. I'll never know which ones.
> 
> I always liked XFS and thought those dreaded days of file system 
> corruption and lost files were far behind. So my only question is: 
> Why does that happen? The disk is not even used 99% of the time.
> How does an XFS file system go belly up just like that?

There is no way for us to know.  You didn't provide nearly enough
information to even hazard a guess.

But ok fine, I'll hazard a wild guess anyway: your external drive had
a corrupt log because the enclosure didn't honor a cache flush issued
by the filesystem after some previous mount.

-Eric



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux