On Fri, May 28, 2010 at 9:04 AM, Thanassis Tsiodras <ttsiod...@gmail.com> wrote: > Is there no better solution?
If you don't care about snapshots, you can also create a new dataset and move or copy the files to it. If you do care about snapshots, you can send/recv the dataset, which will apply the copies property and save all your snapshots. I did this when I un-dedup'd (redup'd?) some datasets. Create a target path and create copy of the dataset in it. I set the target path mountpoint to legacy to keep the new copy from trying to mount or share automatically. zfs create -o mountpoint=legacy tank/copies-foo zfs send -R tank/foo/b...@now | zfs rcv -e tank/new-foo then do a renaming monte on datasets. zfs rename tank/foo/bar tank/copies-foo/bar-old zfs rename tank/copies-foo/bar tank/foo/bar If you're brave, you can destroy your source and just rename your new copy into place instead. -B -- Brandon High : bh...@freaks.com _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss