Re: [zfs-discuss] How to rename rpool. Is that recommended ?

2011-04-11 Thread Arjun YK
Cindy, Here is what I was trying to do.. I have some scripts that allows to quickly deploy LDOM guest domains. The Golden OS Image of guest domain boot disk is on a ZFS Volume. This ZFS Volume has been Snapshot and Cloned for the quick deployment of guest domains. To build new ldom, create a

[zfs-discuss] How to rename rpool. Is that recommended ?

2011-04-08 Thread Arjun YK
Hello, I have a situation where a host, which is booted off its 'rpool', need to temporarily import the 'rpool' of another host, edit some files in it, and export the pool back retaining its original name 'rpool'. Can this be done ? Here is what I am trying to do: # zpool import -R /a rpool

Re: [zfs-discuss] How to rename rpool. Is that recommended ?

2011-04-08 Thread Fajar A. Nugraha
On Fri, Apr 8, 2011 at 2:10 PM, Arjun YK arju...@gmail.com wrote: Hello, I have a situation where a host, which is booted off its 'rpool', need to temporarily import the 'rpool' of another host, edit some files in it, and export the pool back retaining its original name 'rpool'. Can this be

Re: [zfs-discuss] How to rename rpool. Is that recommended ?

2011-04-08 Thread Arjun YK
Hi, Let me add another query. I would assume it would be perfectly ok to choose any name for root pool, instead of 'rpool', during the OS install. Please suggest otherwise. Thanks Arjun On 4/8/11, Arjun YK arju...@gmail.com wrote: Hello, I have a situation where a host, which is booted off

Re: [zfs-discuss] How to rename rpool. Is that recommended ?

2011-04-08 Thread Fajar A. Nugraha
On Fri, Apr 8, 2011 at 2:24 PM, Arjun YK arju...@gmail.com wrote: Hi, Let me add another query. I would assume it would be perfectly ok to choose any name for root pool, instead of 'rpool', during the OS install. Please suggest otherwise. Have you tried it? Last time I try, the pool name

Re: [zfs-discuss] How to rename rpool. Is that recommended ?

2011-04-08 Thread Stephan Budach
Am 08.04.11 09:31, schrieb Fajar A. Nugraha: On Fri, Apr 8, 2011 at 2:24 PM, Arjun YKarju...@gmail.com wrote: Hi, Let me add another query. I would assume it would be perfectly ok to choose any name for root pool, instead of 'rpool', during the OS install. Please suggest otherwise. Have you

Re: [zfs-discuss] How to rename rpool. Is that recommended ?

2011-04-08 Thread Casper . Dik
On Fri, Apr 8, 2011 at 2:24 PM, Arjun YK arju...@gmail.com wrote: Hi, Let me add another query. I would assume it would be perfectly ok to choose any name for root pool, instead of 'rpool', during the OS install. Please suggest otherwise. Have you tried it? Last time I try, the pool name

Re: [zfs-discuss] How to rename rpool. Is that recommended ?

2011-04-08 Thread Fajar A. Nugraha
On Fri, Apr 8, 2011 at 2:37 PM, Stephan Budach stephan.bud...@jvm.de wrote: You can re-name a zpool at import time by simply issueing: zpool import oldpool newpool Yes, I know :) The last question from Arjun was can we choose any name for root pool, instead of 'rpool', during the OS install

Re: [zfs-discuss] How to rename rpool. Is that recommended ?

2011-04-08 Thread randw
NOTE: when you modify your root pool on a different system, throw away the zfs.cache file. (Earlier implementation of a bug where if you rename your root pool and then your re-import it under a different name, zfs claims to have found two pools and then starts to corrupt them) Casper Also

Re: [zfs-discuss] How to rename rpool. Is that recommended ?

2011-04-08 Thread Cindy Swearingen
Arjun, Yes, you an choose any name for the root pool, but an existing limitation is that you can't rename the root pool by using the zpool export/import with new name feature. Too much internal boot info is tied to the root pool name. What info are you changing? Instead, could you create a new

Re: [zfs-discuss] How to rename rpool. Is that recommended ?

2011-04-08 Thread Glenn Lagasse
* Arjun YK (arju...@gmail.com) wrote: Hi, Let me add another query. I would assume it would be perfectly ok to choose any name for root pool, instead of 'rpool', during the OS install. Please suggest otherwise. While there is nothing special about the name 'rpool' (thus you *could* change

Re: [zfs-discuss] How to rename rpool. Is that recommended ?

2011-04-08 Thread Brandon High
On Fri, Apr 8, 2011 at 12:10 AM, Arjun YK arju...@gmail.com wrote: I have a situation where a host, which is booted off its 'rpool', need to temporarily import the 'rpool' of another host, edit some files in it, and export the pool back retaining its original name 'rpool'. Can this be done ?