On Oct 14, 2010, at 5:08 PM, Derek G Nokes wrote:

> I am relatively new to OpenSolaris / ZFS (have been using it for maybe 6 
> months). I recently added 6 new drives to one of my servers and I would like 
> to create a new RAIDZ2 pool called 'marketData'.
> 
> I figured the command to do this would be something like:
> 
> zpool create marketData raidz2 c0t5000C5001A6B9C5Ed0s0 
> c0t5000C5001A81E100d0s0 c0t5000C500268C0576d0s0 c0t5000C500268C5414d0s0 
> c0t5000C500268CFA6Bd0s0 c0t5000C500268D0821d0s0
> 
> Unfortunately I get an error:
> 
> [b]cannot open '/dev/dsk/c0t5000C500268CFA6Bd0s0': I/O error[/b]

This can happen if slice0 is size 0.  KISS would say to do:
        zpool create marketData raidz2 \
                c0t5000C5001A6B9C5Ed0 \
                c0t5000C5001A81E100d0 \
                c0t5000C500268C0576d0 \
                c0t5000C500268C5414d0 \
                c0t5000C500268CFA6Bd0 
                c0t5000C500268D0821d0

This method will create slice0 (s0) as the full disk, on your behalf.
 -- richard

> 
> Can anyone give me some clues as to what is wrong?
> 
> I have included the zpool status and format output from my system
> 
> 
> [b]ZPOOL STATUS[/b]
> r...@dnokes.homeip.net:~# zpool status
>  pool: rpool
> state: ONLINE
> status: The pool is formatted using an older on-disk format.  The pool can
>       still be used, but some features are unavailable.
> action: Upgrade the pool using 'zpool upgrade'.  Once this is done, the
>       pool will no longer be accessible on older software versions.
> scrub: none requested
> config:
> 
>       NAME                         STATE     READ WRITE CKSUM
>       rpool                        ONLINE       0     0     0
>         mirror-0                   ONLINE       0     0     0
>           c0t5000C50019F5B5BAd0s0  ONLINE       0     0     0
>           c0t5000C50019E0EB23d0s0  ONLINE       0     0     0
> 
> errors: No known data errors
> 
> [b]FORMAT[/b]
> r...@dnokes.homeip.net:~# format
> Searching for disks...done
> 
> 
> AVAILABLE DISK SELECTIONS:
>       0. c0t5000C5001A6B9C5Ed0 <ATA-ST31500341AS-CC4H-1.36TB>
>          /scsi_vhci/d...@g5000c5001a6b9c5e
>       1. c0t5000C5001A81E100d0 <ATA-ST31500341AS-CC4H-1.36TB>
>          /scsi_vhci/d...@g5000c5001a81e100
>       2. c0t5000C50019E0EB23d0 <DEFAULT cyl 60797 alt 2 hd 255 sec 126>
>          /scsi_vhci/d...@g5000c50019e0eb23
>       3. c0t5000C50019F5B5BAd0 <DEFAULT cyl 60797 alt 2 hd 255 sec 126>
>          /scsi_vhci/d...@g5000c50019f5b5ba
>       4. c0t5000C500268C0576d0 <ATA-ST31500341AS-CC1H-1.36TB>
>          /scsi_vhci/d...@g5000c500268c0576
>       5. c0t5000C500268C5414d0 <ATA-ST31500341AS-CC1H-1.36TB>
>          /scsi_vhci/d...@g5000c500268c5414
>       6. c0t5000C500268CFA6Bd0 <DEFAULT cyl 60798 alt 2 hd 255 sec 189>
>          /scsi_vhci/d...@g5000c500268cfa6b
>       7. c0t5000C500268D0821d0 <DEFAULT cyl 60798 alt 2 hd 255 sec 189>
>          /scsi_vhci/d...@g5000c500268d0821
> 
> Thanks in advance.
> -- 
> 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

Reply via email to