Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Oct 2010 09:07:10 -0400
From:      jhell <jhell@DataIX.net>
To:        Willem Jan Withagen <wjw@digiware.nl>
Cc:        fs@freebsd.org
Subject:   Re: ZFS destroy snapshot does not work
Message-ID:  <4CC18C7E.702@DataIX.net>
In-Reply-To: <4CBD52F4.2010105@digiware.nl>
References:  <4CBD52F4.2010105@digiware.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/19/2010 04:12, Willem Jan Withagen wrote:
> Hi,
> 
> Probably due to too many reboots when the system was livelocked.
> But now I have the following problem.
> 
> /sbin/zfs destroy -r zfsraid/backups@Monday
> cannot destroy 'zfsraid/backups@Monday': dataset does not exist
> no snapshots destroyed
> /sbin/zfs snapshot -r zfsraid/backups@Monday
> cannot create snapshot 'zfsraid/backups@Monday': dataset is busy
> no snapshots were created
> 
> /sbin/zfs destroy -r zfsraid/home@$DATE
> cannot destroy 'zfsraid/home@Monday': dataset does not exist
> no snapshots destroyed
> /sbin/zfs snapshot -r zfsraid/home@Monday
> cannot create snapshot 'zfsraid/home@Monday': dataset is busy
> no snapshots were created
> 
> Where this used to work(tm)....
> 
> I can iterate over all filesystems and then destroy/create a backup.
> 
> Except for one:
> # zfs list -r zfsraid/home/trouble
> NAME                          USED  AVAIL  REFER  MOUNTPOINT
> zfsraid/home/trouble          149G  3.49T   148G  none
> zfsraid/home/trouble@Sunday  1.06G      -   148G  -
> 
> # zfs destroy -r zfsraid/home/trouble
> cannot destroy 'zfsraid/home/trouble@Sunday': dataset already exists
> Exit 1
> # zfs destroy zfsraid/home/trouble@Sunday
> cannot destroy 'zfsraid/home/trouble@Sunday': dataset already exists
> Exit 1
> # zfs destroy -r zfsraid/home/trouble@Sunday
> cannot destroy 'zfsraid/home/trouble@Sunday': snapshot is cloned
> no snapshots destroyed
> 
> But of this last fact I do not remember cloning anything. Nor can I find
> any suggestions as to the filesystem being cloned.....
> 
> So how do I get ride of this rouge filesystem.
> 
> There is something like zdb, but the manual page is purposely vague on
> how to use that...
> 
> Thanx,
> --WjW
> 

Can you give a ( zfs list -t snapshot ) here please?

-- 

 jhell,v



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CC18C7E.702>