Re: [zfs-discuss] Detaching a clone from a snapshot

2010-06-26 Thread Brandon High
On Fri, Jun 25, 2010 at 10:28 PM, Andrej Podzimek and...@podzimek.org wrote:
 I can't get rid of S (and of the error message in zpool status) without
 removing either C1 or C2. Is there a solution other than removing C1 or C2?

You can use send|recv to create a new copy of one or both of the
clones. This should remove any dependancy on the original snaopshot.

-B

-- 
Brandon High : bh...@freaks.com
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] Detaching a clone from a snapshot

2010-06-25 Thread Andrej Podzimek

Hello,

Is it possible to detach a clone from its snapshot (and copy all its data 
physically)? I ran into an obscure situation where 'zfs promote' does not help.

Snapshot S has clones C1 and C2, both of which are boot environments. S has a 
data error that cannot be corrected. The error affects *one* crash dump file, 
so it's obviously benign. (The system crashed when a crash dump was being 
transferred from the dump device to /var/crash and this happened more than 
once. This is a nightly + onu system, so accidents might happen.)

If I understand it well, the original dependency graph looks like this

C1 - S - C2,

and I can only achieve one the following with 'zfs promote':

C1 - S - C2
C1 - S - C2

I can't get rid of S (and of the error message in zpool status) without 
removing either C1 or C2. Is there a solution other than removing C1 or C2?

Andrej



smime.p7s
Description: S/MIME Cryptographic Signature
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss