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 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 temp-rpool
> # zfs set mountpoint=/mnt temp-rpool/ROOT/s10_u8
> # zfs mount temp-rpool/ROOT/s10_u8
> ### For example, edit /a/mnt/etc/hosts
> # zfs set mountpoint=/  temp-rpool/ROOT/s10_u8
> # zfs export temp-rpool    --> But, I want to give temp-rpool its
> original name 'rpool' before or after this export.
>
> I cannot see how this can be achieved. So, I decided to live with the
> name 'temp-rpool'. But, is renaming 'rpool'  recommended or supported
> parctice ?
>
> Any help is appreciated.
>
> Thanks
> Arjun
>
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to