hi
are the disk/sas controller the same on both server?
-LT

Sent from my iPad

On Mar 13, 2012, at 6:10, P-O Yliniemi <p...@bsd-guide.net> wrote:

> Hello,
> 
> I'm currently replacing a temporary storage server (server1) with the one 
> that should be the final one (server2). To keep the data storage from the old 
> one I'm attempting to import it on the new server. Both servers are running 
> OpenIndiana server build 151a.
> 
> Server 1 (old)
> The zpool consists of three disks in a raidz1 configuration:
> # zpool status
>  pool: storage
> state: ONLINE
>  scan: none requested
> config:
> 
>        NAME        STATE     READ WRITE CKSUM
>        storage     ONLINE       0     0     0
>          raidz1-0  ONLINE       0     0     0
>            c4d0    ONLINE       0     0     0
>            c4d1    ONLINE       0     0     0
>            c5d0    ONLINE       0     0     0
> 
> errors: No known data errors
> 
> Output of format command gives:
> # format
> AVAILABLE DISK SELECTIONS:
>       0. c2t1d0 <LSILOGIC-LogicalVolume-3000 cyl 60785 alt 2 hd 255 sec 126>
>          /pci@0,0/pci8086,25e2@2/pci8086,350c@0,3/pci103c,3015@6/sd@1,0
>       1. c4d0 <ST3000DM-         W1F07HW-0001-2.73TB>
>          /pci@0,0/pci-ide@1f,2/ide@0/cmdk@0,0
>       2. c4d1 <ST3000DM-         W1F05H2-0001-2.73TB>
>          /pci@0,0/pci-ide@1f,2/ide@0/cmdk@1,0
>       3. c5d0 <ST3000DM-         W1F032R-0001-2.73TB>
>          /pci@0,0/pci-ide@1f,2/ide@1/cmdk@0,0
>       4. c5d1 <ST3000DM-         W1F07HZ-0001-2.73TB>
>          /pci@0,0/pci-ide@1f,2/ide@1/cmdk@1,0
> 
> (c5d1 was previously used as a hot spare, but I removed it as an attempt to 
> export and import the zpool without the spare)
> 
> # zpool export storage
> 
> # zpool list
> (shows only rpool)
> 
> # zpool import
>   pool: storage
>     id: 17210091810759984780
>  state: ONLINE
> action: The pool can be imported using its name or numeric identifier.
> config:
> 
>        storage     ONLINE
>          raidz1-0  ONLINE
>            c4d0    ONLINE
>            c4d1    ONLINE
>            c5d0    ONLINE
> 
> (check to see if it is importable to the old server, this has also been 
> verified since I moved back the disks to the old server yesterday to have it 
> available during the night)
> 
> zdb -l output in attached files.
> 
> -------------------------------------------------------
> 
> Server 2 (new)
> I have attached the disks on the new server in the same order (which 
> shouldn't matter as ZFS should locate the disks anyway)
> zpool import gives:
> 
> root@backup:~# zpool import
>   pool: storage
>     id: 17210091810759984780
>  state: UNAVAIL
> action: The pool cannot be imported due to damaged devices or data.
> config:
> 
>        storage                    UNAVAIL  insufficient replicas
>          raidz1-0                 UNAVAIL  corrupted data
>            c7t5000C50044E0F316d0  ONLINE
>            c7t5000C50044A30193d0  ONLINE
>            c7t5000C50044760F6Ed0  ONLINE
> 
> The problem is that all the disks are there and online, but the pool is 
> showing up as unavailable.
> 
> Any ideas on what I can do more in order to solve this problem ?
> 
> Regards,
>  PeO
> 
> 
> 
> <zdb_l_c4d0s0.txt>
> <zdb_l_c4d1s0.txt>
> <zdb_l_c5d0s0.txt>
> <zdb_l_c5d1s0.txt>
> <zdb_l_c7t5000C50044A30193d0s0.txt>
> <zdb_l_c7t5000C50044E0F316d0s0.txt>
> <zdb_l_c7t5000C50044760F6Ed0s0.txt>
> _______________________________________________
> 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

Reply via email to