2012-03-14 13:57, Svavar Örn Eysteinsson wrote:
Hello.
I can't seem to find any good info about this case.
I'm running OpenIndiana 151 and have some files on a ZFS folder (located
under /datapool/stuff).
I'm in the need to create a new ZFS folder (/datapool/temp) and move
some files from stuff.
What's the best way to move files between ZFS folders / Datasets ?
Unfortunately, at this time - only commands like "move"
or "rsync -avPHK --remove-source-files SRC/ DST/"
You should use Sun commands like cp, mv, cpio, arguably
Sun tar, to transfer files along with their non-POSIX
ACL lists if you really use those.
There were some hopes that dedup would speed up such
transfers between datasets (not really, unless you have
a good hardware config with LOTS of RAM and an L2ARC),
or a special zfs-move command would emerge to reassign
ownership of on-disk blocks from one dataset to another
quickly and space-sparingly, but such wishes were not
yet fulfilled...
//Jim
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss