Yep..
Just run zpool import without a poolname and it will list any pools that are available for import.

eg:
sb2000::#zpool import
  pool: mp
    id: 17232673347678393572
 state: ONLINE
action: The pool can be imported using its name or numeric identifier.
config:

        mp           ONLINE
          raidz2     ONLINE
            c1t2d0   ONLINE
            c1t3d0   ONLINE
            c1t4d0   ONLINE
            c1t5d0   ONLINE
            c1t8d0   ONLINE
            c1t9d0   ONLINE
            c1t10d0  ONLINE
            c1t11d0  ONLINE
            c1t12d0  ONLINE
            c1t13d0  ONLINE
            c1t14d0  ONLINE
        spares
          c1t15d0
sb2000::#zpool import mp

Regards
Rodney

Cyril Payet wrote:
Btw,
When you import a pool, you must know its name.
Is there any command to get the pool name to whom a non-impoted disks belongs.
"# vxdisk -o alldgs list "does this with vxm.
Thanx for your replies.
C. 

-----Message d'origine-----
De : zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss-boun...@opensolaris.org] De la part de D. Eckert
Envoyé : samedi 3 janvier 2009 09:10
À : zfs-discuss@opensolaris.org
Objet : [zfs-discuss] SOLVED: Mount ZFS pool on different system

RTFM seems to solve many problems.... ;-)

:# zpool import poolname
--
This message posted from opensolaris.org _______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
  

--


Rodney Lindner / Services Chief Technologist
Sun Microsystems, Inc.
33 Berry St
Nth Sydney, NSW, AU, 2060
Phone x59674/+61294669674
Email rodney.lind...@sun.com

Cut Utility Costs in Half - Learn More
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to