Discussion:
rename recursive with descendants
skeletor
2013-09-13 10:13:04 UTC
Permalink
Hello.
I have a few zfs (about 20):

rpool/test
rpool/test/www
rpool/test/***@snapshot1
rpool/test/home
rpool/test/***@snapshot2

Is there exist an easy way to rename it to:

rpool/new_test
rpool/new_test/www
rpool/new_test/***@snapshot1
rpool/new_test/home
rpool/new_test/***@snapshot2

?

Thanks
Steven Hartland
2013-09-13 10:21:50 UTC
Permalink
zfs rename rpool/test rpool/new_test

----- Original Message -----
From: "skeletor" <***@lissyara.su>
To: <***@lists.illumos.org>
Sent: Friday, September 13, 2013 11:13 AM
Subject: [zfs] rename recursive with descendants
Post by skeletor
Hello.
rpool/test
rpool/test/www
rpool/test/home
rpool/new_test
rpool/new_test/www
rpool/new_test/home
?
Thanks
-------------------------------------------
illumos-zfs
Archives: https://www.listbox.com/member/archive/182191/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182191/24401717-fdfe502b
Modify Your Subscription: https://www.listbox.com/member/?&
Powered by Listbox: http://www.listbox.com
================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it.

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to ***@multiplay.co.uk.
skeletor
2013-09-13 10:34:32 UTC
Permalink
Post by Steven Hartland
zfs rename rpool/test rpool/new_test
It works! Thanks
skeletor
2013-09-13 10:41:43 UTC
Permalink
Post by Steven Hartland
zfs rename rpool/test rpool/new_test
May be you know how to copy/clone zfs recursive with descendants ?
Steven Hartland
2013-09-13 11:07:04 UTC
Permalink
To make a copy you can just use a snapshot, send, recieve.

Regards
Steve
----- Original Message -----
From: "skeletor" <***@lissyara.su>
To: <***@lists.illumos.org>
Sent: Friday, September 13, 2013 11:41 AM
Subject: Re: [zfs] rename recursive with descendants
Post by skeletor
Post by Steven Hartland
zfs rename rpool/test rpool/new_test
May be you know how to copy/clone zfs recursive with descendants ?
-------------------------------------------
illumos-zfs
Archives: https://www.listbox.com/member/archive/182191/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182191/24401717-fdfe502b
Modify Your Subscription: https://www.listbox.com/member/?&
Powered by Listbox: http://www.listbox.com
================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it.

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to ***@multiplay.co.uk.

Continue reading on narkive:
Search results for 'rename recursive with descendants' (Questions and Answers)
5
replies
what does UNIX mean?
started 2006-09-26 14:21:06 UTC
software
Loading...