On 11/23/06, James Dickens <[EMAIL PROTECTED]> wrote:
On 11/23/06, Dennis Clarke <[EMAIL PROTECTED]> wrote: > > > this is off list on purpose ? > > > run zpool import, it will search all attached storage and give you a > list > > of availible pools. then run zpool import poolname or add a -f if > you > > didn't export before the install/upgrade. > > assume worst case > > someone walks up to you and drops an array on you. They say "its ZFS an' I need that der stuff 'k? " all while chewing on a > cig. > > what do you do ? besides run ? same thing.. plug it in... run zpool import and get a list of pool... and import, renaming the pool if necessary... James
and to be more complete with my answer, might as well create a /test dir zpool import [-d dir] [-D] [-f] [-o opts] [-R root] pool | id [newpool] Imports a specific pool. A pool can be identified by its name or the numeric identifier. If newpool is specified, the pool is imported using the name newpool. Otherwise, it is imported with the same name as its exported name. If a device is removed from a system without running "zpool export" first, the device appears as potentially active. It cannot be determined if this was a failed export, or whether the device is really in use from another host. To import a pool in this state, the -f option is required. -d dir Searches for devices or files in dir. The -d the pool is imported using the name newpool. Otherwise, it is imported with the same name as its exported name. If a device is removed from a system without running "zpool export" first, the device appears as potentially active. It cannot be determined if this was a failed export, or whether the device is really in use from another host. To import a pool in this state, the -f option is required. -d dir Searches for devices or files in dir. The -d option can be specified multiple times. -D Imports destroyed pool. The -f option is also required. -f Forces import, even if the pool appears to be potentially active. -o opts Comma-separated list of mount options to use when mounting datasets within the pool. See zfs(1M) for a description of dataset properties and mount options. -R root Imports pool(s) with an alternate root. See the "Alternate Root Pools" section. and do zpool import -R /test foreignarray ; zpool status foreignarray; zfs list foreignarray James Dennis
> >
_______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss