Rich Teer wrote:
Hi all,

I have a pool called tank/home/foo and I want to rename it to
tank/home/bar.  What's the best way to do this (the zfs and
zpool man pages don't have a "rename" option)?

Are you sure you have a pool with that name not a filesystem in a pool with that name ?

See zfs(1) it does have a rename.

One way I can think of is to create a clone of tank/home/foo
called tank/home/bar, and then destroy the former.  Is that
the best (or even only) way?

zfs rename tank/home/foo tank/home/bar

Would be the best and documented way.

--
Darren J Moffat
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to