.zfs directory broken on an FS

Stefan Bethke stb at lassitu.de
Wed May 12 21:23:18 UTC 2010


Am 12.05.2010 um 02:09 schrieb Daniel O'Connor:

> I recently switched over to ZFS at work and it seems pretty good (so far at least!) however I was writing a script to do snapshots and one of the file systems now gives..
> 
> [cain 9:37] ~ >ls -la /usr/local/Genesis/archive/.zfs
> ls: snapshot: Bad file descriptor
> total 0
> 
> Other file systems in the same pool work fine though..
> [cain 9:36] ~ >ll /usr/local/Genesis/MeteorData/.zfs/snapshot
> total 4
> drwxrwxr-x  32 metdata  radar  38 Mar 21 03:11 20100512-0900
> 
> (All other snapshot directories are OK)

This appears to be a long standing issue with no solution.  I used to get this a lot during daily rsync backups; since switching to a zfs send/recv based script I don't get these problems anymore.

Be aware that trying to unmount that snapshot or it's filesystem might panic or hang the system, including when you try to reboot.


Stefan

-- 
Stefan Bethke <stb at lassitu.de>   Fon +49 151 14070811





More information about the freebsd-stable mailing list