[OpenIndiana-discuss] zfs import error

Richard Elling richard.elling at richardelling.com
Wed May 30 00:46:19 UTC 2012


idea at the bottom...

On May 29, 2012, at 12:56 PM, Jason Cox wrote:

> Let me start by saying that I am very new to OpenIndiana and Solaris
> 10/11 in general. I normally deal with Red Hat Linux. I wanted to use
> OI for ZFS support for a vmware shared storage server to mount LUNs on
> my SAN.
> 
> Setup:
> 
> 2 servers with multiple fiber-channel connections directly connected
> to my SAN (no SAN switch).
> 
> 
> Situation:
> 
> I have multipath working and I create the zpool with no problem using
> the multipath disk device.
> ---
> root at nfs01.xxxxxxx:~# zpool create lun00 c2t60060E80104B8F6004F327FE00000000d0
> root at nfs01.xxxxxxx:~# zpool status lun00
>  pool: lun00
> state: ONLINE
>  scan: none requested
> config:
> 
>        NAME                                     STATE     READ WRITE CKSUM
>        lun00                                    ONLINE       0     0     0
>          c2t60060E80104B8F6004F327FE00000000d0  ONLINE       0     0     0
> 
> errors: No known data errors
> ---
> 
> Now I can export the pool from nfs01 to nfs02 with no problem..
> 
> ---
> root at nfs02.xxxxxxx:~# zpool status lun00
>  pool: lun00
> state: ONLINE
>  scan: none requested
> config:
> 
>        NAME                                     STATE     READ WRITE CKSUM
>        lun00                                    ONLINE       0     0     0
>          c2t60060E80104B8F6004F327FE00000000d0  ONLINE       0     0     0
> 
> errors: No known data errors
> ---
> 
> The issue comes up when I then export the pool off nfs02 and try to
> import it again back on nsa01.
> 
> ---
> root at nfs01.xxxxxxx:~# zpool import lun00
> Assertion failed: rn->rn_nozpool == B_FALSE, file
> ../common/libzfs_import.c, line 1093, function zpool_open_func
> Abort (core dumped)
> ---
> 
> No matter how many times I try to import the pool on 01 I have this
> issue. Both servers are running the same version of OI and all the
> same updates. They are also the same servers purchased and spec'ed at
> the same time for this project.
> 
> 
> Any guidance would be appreciated.

This can occur if the disk label does not look the same from both systems.
	prtvtoc /dev/rdsk/c2t60060E80104B8F6004F327FE00000000d0s0
and compare
  -- richard

--
ZFS Performance and Training
Richard.Elling at RichardElling.com
+1-760-896-4422





More information about the OpenIndiana-discuss mailing list