Re: Stale NFS file handle after power loss

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

 



On Fri, 14 Jun 2013, Josef Bacik <jbacik@xxxxxxxxxxxx> wrote:
> and put the image up somewhere I can pull it down so I can fix btrfsck to
> fix your file system and test it locally before I send you the
> patch.  Thanks,

Would it be possible to get this sort of thing fixed in the kernel by a scrub?

I've had a similar problem to Thomas (coincidentally also under /var/lib/dpkg) 
and I created a new filesystem and copied all the files across.  That wasn't 
particularly difficult as the system was a virtual machine, but it was still 
rather annoying.

Also if a file is corrupted then I think that rm -f should work to remove it. 
In the example cited the system would be in a good functional state after
"rm -f /var/lib/dpkg/tmp.ci/*" and it seems to me that file corruption 
shouldn't be a good reason to prevent that operation from completing.

-- 
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux