I'm trying to put an older Fibre Channel RAID (Fujitsu Siemens S80) box into 
use again with ZFS on a Solaris 10 (Update 8) system, but it seems ZFS gets 
confused about which "disk" (LUN) is which...

Back in the old days when we used these disk systems on another server we had 
problems with Disksuite not "seeing" their 'unit serial numbers' for some 
reason so we hade to fake it using a hack in sd.conf 
(sd-config-list="EUROLOGC","unsupported-hack"; 
unsupported-hack=1,0x8,0,0,0,0,0;). But as far as I can tell from the output 
below from luxadm it seems the LUNs have different disk serial numbers. 

Any ideas? 


> # zpool create DATA c2t0d0

> # zpool add DATA c2t0d1
> invalid vdev specification
> use '-f' to override the following errors:
> /dev/dsk/c2t0d0s0 is part of active ZFS pool DATA. Please see zpool(1M).

> # ls -l c2t0d1s0 c2t0d1s0
> lrwxrwxrwx   1 root     root          73 Jan 29 12:49 c2t0d1s0 -> 
> ../../devices/p...@4,2000/fibre-chan...@1/f...@0,0/s...@w2100000339001797,1:a
> lrwxrwxrwx   1 root     root          73 Jan 29 12:49 c2t0d1s0 -> 
> ../../devices/p...@4,2000/fibre-chan...@1/f...@0,0/s...@w2100000339001797,1:a

> # luxadm display /dev/rdsk/c2t0d0s0 | head -12
> DEVICE PROPERTIES for disk: /dev/rdsk/c2t0d0s0
>   Vendor:               EUROLOGC
>   Product ID:           FC2502          
>   Revision:             7860
>   Serial Num:           0000ddfb20000080e512ddfb0000000000000000
>   Unformatted capacity: 134276.000 MBytes
>   Write Cache:          Enabled
>   Read Cache:           Enabled
>     Minimum prefetch:   0x0
>     Maximum prefetch:   0x10
>   Device Type:          Disk device

> # luxadm display /dev/rdsk/c2t0d1s0 | head -14
> DEVICE PROPERTIES for disk: /dev/rdsk/c2t0d1s0
>   Vendor:               EUROLOGC
>   Product ID:           FC2502          
>   Revision:             7860
>   Serial Num:           0001ddfb20000080e512ddfb0000000000000000
>   Unformatted capacity: 134276.000 MBytes
>   Write Cache:          Enabled
>   Read Cache:           Enabled
>     Minimum prefetch:   0x0
>     Maximum prefetch:   0x10
>   Device Type:          Disk device

It seems I can create the ZFS setup I want if I create it all in one go. Like:

> # zpool create DATA raidz2 c2t0d0 c2t0d1 c2t0d2 c2t0d3 c2t0d4 c2t0d5 c2t0d6 
> raidz2 c2t0d7 c2t0d8 c2t0d9 c2t0d10 c2t0d11 c2t0d12 c2t0d13

But not if I want to to do it step by step...

Annoying :-)
-- 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to