Alan wrote:> We just got a new system to use as a zfs file server with 8 drives on 2
controllers. I''ve installed on and mirrored c4t0d0s0 and c5t0d0s0, and
am now trying to create a mirrored set out of the rest of the disks, however all
of them are giving me i/o errors, e.g.:
>
> # uname -a
> SunOS zfs01.server.peak.org 5.11 snv_86 i86pc i386 i86pc
>
> # format
> Searching for disks...done
>
>
> AVAILABLE DISK SELECTIONS:
> 0. c4t0d0 <DEFAULT cyl 60798 alt 2 hd 255 sec 63>
> /pci at 0,0/pci8086,2940 at 1c/pci8086,32c at 0/pci11ab,11ab at
1/disk at 0,0
> 1. c4t1d0 <DEFAULT cyl 60799 alt 2 hd 255 sec 63>
> /pci at 0,0/pci8086,2940 at 1c/pci8086,32c at 0/pci11ab,11ab at
1/disk at 1,0
> 2. c4t2d0 <DEFAULT cyl 60799 alt 2 hd 255 sec 63>
> /pci at 0,0/pci8086,2940 at 1c/pci8086,32c at 0/pci11ab,11ab at
1/disk at 2,0
> 3. c4t3d0 <DEFAULT cyl 60799 alt 2 hd 255 sec 63>
> /pci at 0,0/pci8086,2940 at 1c/pci8086,32c at 0/pci11ab,11ab at
1/disk at 3,0
> 4. c5t0d0 <DEFAULT cyl 60798 alt 2 hd 255 sec 63>
> /pci at 0,0/pci8086,2940 at 1c/pci8086,32c at 0/pci11ab,11ab at
2/disk at 0,0
> 5. c5t1d0 <DEFAULT cyl 60799 alt 2 hd 255 sec 63>
> /pci at 0,0/pci8086,2940 at 1c/pci8086,32c at 0/pci11ab,11ab at
2/disk at 1,0
> 6. c5t2d0 <DEFAULT cyl 60799 alt 2 hd 255 sec 63>
> /pci at 0,0/pci8086,2940 at 1c/pci8086,32c at 0/pci11ab,11ab at
2/disk at 2,0
> 7. c5t3d0 <DEFAULT cyl 60799 alt 2 hd 255 sec 63>
> /pci at 0,0/pci8086,2940 at 1c/pci8086,32c at 0/pci11ab,11ab at
2/disk at 3,0
>
> # zpool create data mirror c4t1d0s0 c5t1d0s0
> cannot open ''/dev/dsk/c4t1d0s0'': I/O error
> # zpool create data mirror c5t1d0s0 c4t1d0s0
> cannot open ''/dev/dsk/c5t1d0s0'': I/O error
Do you have fdisk partitions and/or vtocs on those disks?
If you want to give the whole disk to ZFS, then remove the "s0"
from the end of the vdev specification:
# zpool create data mirror c4t1d0 c5t1d0
James C. McPherson
--
Senior Kernel Software Engineer, Solaris
Sun Microsystems
http://blogs.sun.com/jmcp http://www.jmcp.homeunix.com/blog