I've been reading the zfs man page, but I'm confused about
dependancies.  I have a ZFS filesystem that I wish to split into two
ZFS filesystems at one of the subdirectories.  I understand that I
first need to make a snapshot of the filesystem and then make a clone
of the snapshot, with a different name.  Then, in the clone I can move
everything in that subdirectory up to the top level, and in the
original I can remove that subdirectory.  All of these operations
should be quick, with no copying of data.

I understand also that I won't be able to destroy the snapshot because
the clone is dependant on it.  Can I just promote the clone and then
destroy the snapshot?  Does that remove all dependancies?

I suppose a simpler case, without the file shuffling, would be to
create a second filesystem as a copy of a first.  All of the examples
of this I've seen destroy the first filesystem but don't destroy the
snapshot.  I want to do the opposite.  Is this possible?

-- 
-Gary Mills-        -Unix Group-        -Computer and Network Services-
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to