On Thu, Oct 11, 2007 at 10:47:44AM +0100, Robert Milkowski wrote:
> Hello Matthew,
> 
> Thursday, October 11, 2007, 9:10:13 AM, you wrote:
> 
> MA> Robert Milkowski wrote:
> >> I haven't looked into details but in theory one should be
> >> able to copy/move a file within the same datapool between datasets
> >> without having to actually copy data blocks... or maybe there's some
> >> detail which actually makes it hard to implement...
> 
> MA> Once a block is referenced by multiple filesystem, it is nontrivial to
> MA> determine when it can be freed.
> 
> In a way multiple snapshots are separate file systems, or clones...
> What's the difference? However I'm sure you right...

Snapshot and clones are not autonomous datasets. A clone has always a
parent, you can use 'zfs promote' to switch the relatioship, but you
cannot make them independent, AFAIK.

To Matthew: As I understand it, Robert was talking more about moving the
blocks to another dataset, not creating a hardlink-like situation - only
one dataset will reference the blocks after the move.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/zfs-code/attachments/20071011/57f54236/attachment.bin>

Reply via email to