Curious failure of ZFS snapshots

Gerrit Kühn gerrit at pmp.uni-hannover.de
Mon Nov 24 00:09:18 PST 2008


On Fri, 21 Nov 2008 08:16:35 -0800 Freddie Cash <fjwcash at gmail.com> wrote
about Re: Curious failure of ZFS snapshots:

FC> > GK> mclane# ll /tank/home/pt/.zfs/
FC> > GK> ls: snapshot: Bad file descriptor
FC> > GK> total 0

FC> Which shell are you using?  I've seen quite a few 
FC> different "non-existent"/"invalid directory" errors when using tcsh
FC> to navigate through the .zfs/ hierarchy.  Can do "cd ..", "ls .", or
FC> tab completion when in anything under .zfs/

Standard root login, so it's /bin/csh.
I cannot remember if I tried to cd into the dir, and after rebooting
everything's fine up to now. I will try this if I see the problem again.
However, it would be rather strange if this was shell-dependent, as all
other snapshots were happily accessible with csh (and the panic after
trying to unmount the fs is definitely not an expected behaviour
either :-). 

FC> Using sh or zsh, these errors don't occur.
FC> Just curious if this is the same kind of thing.

I will try it when I see the problem next time.


cu
  Gerrit


More information about the freebsd-stable mailing list