On Thu, Feb 11, 2010 at 10:55:20PM -0500, Tony MacDoodle wrote: > I am getting the following message when I try and remove a snapshot from a > clone: > > bash-3.00# zfs destroy data/webser...@sys_unconfigd > cannot destroy 'data/webser...@sys_unconfigd': snapshot has dependent clones > use '-R' to destroy the following datasets: > > The datasets are being used, so why can't I delete the snapshot?
Clones are writable copies of snapshots, and share space with the snapshot that is their basis (initially, all the space). That space belongs to the snapshot, which in turn belongs to another dataset (from which it was originally taken). For clones, you will see that "referenced" is often much more than "usedbydataset", as a result. You can use zfs promote to change around which dataset owns the base snapshot, and which is the dependant clone with a parent, so you can deletehe other - but if you want both datasets you will need to keep the snapshot they share. -- Dan.
pgpjCc6bUAkTe.pgp
Description: PGP signature
_______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss