Could you import it back on the original server with

Zpool import -f newpool rpool?

Jay

-----Original Message-----
From: Brandon High [mailto:bh...@freaks.com] 
Sent: Wednesday, June 16, 2010 2:19 PM
To: Seaman, John
Cc: zfs-discuss@opensolaris.org
Subject: Re: [zfs-discuss] mount zfs boot disk on another server?

On Wed, Jun 16, 2010 at 10:24 AM, Jay Seaman
<john.sea...@americas.ing.com> wrote:
> zpool import
>
> to get the id number of the non-native rpool

You'll get the names and IDs for any un-imported pools.

> then use
> zpool import -f <id#> -R /mnt newpool

That should work. You may have to put the pool id after the -R argument
though.

You're renaming to pool in the process, so it may not work in the
original host afterwards, since it expects the pool name to be rpool.
You could boot a system off the LiveCD (which doesn't have an rpool)
and import it without changing the name.

-B

-- 
Brandon High : bh...@freaks.com
--------------------------------------------------------------------------------------------------------------------------------------------------------

The information in this Internet e-mail is confidential and may be legally 
privileged. It is intended solely for the addressee(s). Access to this Internet 
e-mail by anyone else is unauthorized.

If you are not the intended recipient of this e-mail, any disclosure, copying, 
or distribution of it is prohibited and may be unlawful. If you have received 
this e-mail in error, please notify the sender and immediately and permanently 
delete it and destroy any copies of it that were printed out.  When addressed 
to our clients any opinions or advice contained in this Internet e-mail is 
subject to the terms and conditions expressed in any applicable governing ING 
terms of business or client engagement letter.

Visit us at www.ing.com

--------------------------------------------------------------------------------------------------------------------------------------------------------
 

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

Reply via email to