Justin Lee Ewing wrote:
On 04/21/10 02:16 PM, Erik Trimble wrote:
Justin Lee Ewing wrote:
So I can obviously see what zpools I have imported... but how do I see pools that have been exported? Kind of like being able to see deported volumes using "vxdisk -o alldgs list".

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

slightly counter-intuitively:

zfs import


will list all pools which are available for importing (i.e. exported)



zfs orrr... zpool import? Yeah... kinda counter-intuitive... I just didn't want to import EVERYTHING ... was afraid doing a simple "zpool import" would do that. Thanks Erik!


Uhh, yeah, what Tomas said   (need to put down the caffeine now...)



zpool import

Note that I'm pretty sure it will also show pools which are already imported on other systems (i.e. if you have shared storage, it will show pools which might already be active on other systems). However, if you try to import such a pool, you will get a warning and it will not import (you'd have to supply the '-f' flag to force such an import).



--
Erik Trimble
Java System Support
Mailstop:  usca22-123
Phone:  x17195
Santa Clara, CA
Timezone: US/Pacific (GMT-0800)

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

Reply via email to