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 done ?
>
> Here is what I am trying to do:
>
> # zpool import -R /a rpool temp-rpool

I think it'd be easier for this purpose if you simply use a live cd /
network boot. You can then just import the pool without having to
change the name.

> # 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.

Live CD / network boot

> So, I decided to live with the
> name 'temp-rpool'. But, is renaming 'rpool'  recommended or supported
> parctice ?

It should work, as long as you edit the necessary files. Whether it's
supported or not is an entirely different problem.

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

Reply via email to