Stuart,
Is it possible that you ran 'zpool import' on node1 and then failed it
over to the other node which ran 'zpool import' on node2? If so, then
the pool configuration was automatically added to zpool.cache so that
the pool could be automatically loaded upon reboot. This may result in
the pool being imported on both node at the same time.
What you need to do is run 'zpool import -R <altroot>' instead as this
prevent the pool from being added to the cache. You should also ensure
that the zpool.cache file does not exist on either node and that the
import is driven by your failover scripts only.
Thanks,
George
Stuart Low wrote:
Hi there,
We've been working with ZFS at an initial setup stage hoping to eventually integrate with
Sun Cluster 3.2 and create a failover fs. Somehow between my two machines I managed to
get the file system mounted on both. On reboot of both machines I can now no longer
import my ZFS file systems. ZFS reports they're online (which they were, albeit before
the reboot) but when I perform an import I'm told the pool "may be active".
When trying a zpool import -f the machine kernel panics and instantly reboots.
I'm at a loss as to how to mount this file system properly again. Please help!
:-|
[EMAIL PROTECTED] ~]$ zpool import
pool: ax150s
id: 15868755553787799685
state: ONLINE
action: The pool can be imported using its name or numeric identifier.
The pool may be active on on another system, but can be imported using
the '-f' flag.
config:
ax150s ONLINE
mirror ONLINE
c4t6006016071851800B86C8EE05831DB11d0 ONLINE
c4t6006016031E0180032F8E9868E30DB11d0 ONLINE
mirror ONLINE
c4t6006016071851800CA1D94EF5831DB11d0 ONLINE
c4t6006016031E0180026057F9B8E30DB11d0 ONLINE
mirror ONLINE
c4t6006016031E018003810E7AC8E30DB11d0 ONLINE
c4t60060160718518009A7926FF5831DB11d0 ONLINE
mirror ONLINE
c4t6006016031E01800AC7E34918E30DB11d0 ONLINE
c4t600601607185180010A65FE75831DB11d0 ONLINE
mirror ONLINE
c4t6006016031E018005A9B74A48E30DB11d0 ONLINE
c4t600601607185180064063BF85831DB11d0 ONLINE
[EMAIL PROTECTED] ~]$ zpool import ax150s
cannot import 'ax150s': pool may be in use from other system
use '-f' to import anyway
[EMAIL PROTECTED] ~]$ zpool import -f ax150s
Read from remote host solaris1: Connection reset by peer
Connection to solaris1 closed.
[EMAIL PROTECTED] ~]$
Any pointers muchly appreciated! :-|
Stuart
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