I'm a bit solaristarded, can somebody please help?

I've got a 

 c3d1 <INTEL SS-VLC117500Z8020AG-0001-18.64GB>
          /pci@0,0/pci-ide@14,1/ide@0/cmdk@1,0

which looks like

partition> print
Current partition table (original):
Total disk sectors available: 39074830 + 16384 (reserved sectors)

Part      Tag    Flag     First Sector        Size        Last Sector
  0        usr    wm               256       4.00GB         8388863
  1        usr    wm           8388864      14.63GB         39074830
  2 unassigned    wm                 0          0              0
  3 unassigned    wm                 0          0              0
  4 unassigned    wm                 0          0              0
  5 unassigned    wm                 0          0              0
  6 unassigned    wm                 0          0              0
  8   reserved    wm          39074831       8.00MB         39091214

I'm trying to add the 4 GByte partition as log and
the 14.6 GByte as cache to below pool:

root@nexenta:/export/home/eugen# zpool status tank
  pool: tank
 state: ONLINE
 scan: scrub repaired 0 in 0h0m with 0 errors on Fri Aug  5 03:04:57 2011
config:

        NAME        STATE     READ WRITE CKSUM
        tank        ONLINE       0     0     0
          raidz2-0  ONLINE       0     0     0
            c0t0d0  ONLINE       0     0     0
            c0t1d0  ONLINE       0     0     0
            c0t2d0  ONLINE       0     0     0
            c0t3d0  ONLINE       0     0     0

errors: No known data errors

root@nexenta:/export/home/eugen# zpool add tank log /dev/dsk/c3d1p0

This works:

root@nexenta:/export/home/eugen# zpool status tank
  pool: tank
 state: ONLINE
 scan: scrub repaired 0 in 0h0m with 0 errors on Fri Aug  5 03:04:57 2011
config:

        NAME        STATE     READ WRITE CKSUM
        tank        ONLINE       0     0     0
          raidz2-0  ONLINE       0     0     0
            c0t0d0  ONLINE       0     0     0
            c0t1d0  ONLINE       0     0     0
            c0t2d0  ONLINE       0     0     0
            c0t3d0  ONLINE       0     0     0
        logs
          c3d1p0    ONLINE       0     0     0

errors: No known data errors

This doesn't:

root@nexenta:/export/home/eugen# zpool add tank cache /dev/dsk/c3d1p1
cannot open '/dev/dsk/c3d1p1': No such device or address

root@nexenta:/export/home/eugen# ls -la /dev/dsk/c3d1*
lrwxrwxrwx 1 root root 52 Aug  5 00:45 /dev/dsk/c3d1 -> 
../../devices/pci@0,0/pci-ide@14,1/ide@0/cmdk@1,0:wd
lrwxrwxrwx 1 root root 51 Aug  5 00:45 /dev/dsk/c3d1p0 -> 
../../devices/pci@0,0/pci-ide@14,1/ide@0/cmdk@1,0:q
lrwxrwxrwx 1 root root 51 Aug  5 00:45 /dev/dsk/c3d1p1 -> 
../../devices/pci@0,0/pci-ide@14,1/ide@0/cmdk@1,0:r
lrwxrwxrwx 1 root root 51 Aug  5 00:45 /dev/dsk/c3d1p2 -> 
../../devices/pci@0,0/pci-ide@14,1/ide@0/cmdk@1,0:s
lrwxrwxrwx 1 root root 51 Aug  5 00:45 /dev/dsk/c3d1p3 -> 
../../devices/pci@0,0/pci-ide@14,1/ide@0/cmdk@1,0:t
lrwxrwxrwx 1 root root 51 Aug  5 00:45 /dev/dsk/c3d1p4 -> 
../../devices/pci@0,0/pci-ide@14,1/ide@0/cmdk@1,0:u
lrwxrwxrwx 1 root root 51 Aug  5 00:45 /dev/dsk/c3d1s0 -> 
../../devices/pci@0,0/pci-ide@14,1/ide@0/cmdk@1,0:a
lrwxrwxrwx 1 root root 51 Aug  5 00:45 /dev/dsk/c3d1s1 -> 
../../devices/pci@0,0/pci-ide@14,1/ide@0/cmdk@1,0:b
lrwxrwxrwx 1 root root 51 Aug  5 00:45 /dev/dsk/c3d1s10 -> 
../../devices/pci@0,0/pci-ide@14,1/ide@0/cmdk@1,0:k
lrwxrwxrwx 1 root root 51 Aug  5 00:45 /dev/dsk/c3d1s11 -> 
../../devices/pci@0,0/pci-ide@14,1/ide@0/cmdk@1,0:l
lrwxrwxrwx 1 root root 51 Aug  5 00:45 /dev/dsk/c3d1s12 -> 
../../devices/pci@0,0/pci-ide@14,1/ide@0/cmdk@1,0:m
lrwxrwxrwx 1 root root 51 Aug  5 00:45 /dev/dsk/c3d1s13 -> 
../../devices/pci@0,0/pci-ide@14,1/ide@0/cmdk@1,0:n
lrwxrwxrwx 1 root root 51 Aug  5 00:45 /dev/dsk/c3d1s14 -> 
../../devices/pci@0,0/pci-ide@14,1/ide@0/cmdk@1,0:o
lrwxrwxrwx 1 root root 51 Aug  5 00:45 /dev/dsk/c3d1s15 -> 
../../devices/pci@0,0/pci-ide@14,1/ide@0/cmdk@1,0:p
lrwxrwxrwx 1 root root 51 Aug  5 00:45 /dev/dsk/c3d1s2 -> 
../../devices/pci@0,0/pci-ide@14,1/ide@0/cmdk@1,0:c
lrwxrwxrwx 1 root root 51 Aug  5 00:45 /dev/dsk/c3d1s3 -> 
../../devices/pci@0,0/pci-ide@14,1/ide@0/cmdk@1,0:d
lrwxrwxrwx 1 root root 51 Aug  5 00:45 /dev/dsk/c3d1s4 -> 
../../devices/pci@0,0/pci-ide@14,1/ide@0/cmdk@1,0:e
lrwxrwxrwx 1 root root 51 Aug  5 00:45 /dev/dsk/c3d1s5 -> 
../../devices/pci@0,0/pci-ide@14,1/ide@0/cmdk@1,0:f
lrwxrwxrwx 1 root root 51 Aug  5 00:45 /dev/dsk/c3d1s6 -> 
../../devices/pci@0,0/pci-ide@14,1/ide@0/cmdk@1,0:g
lrwxrwxrwx 1 root root 51 Aug  5 00:45 /dev/dsk/c3d1s8 -> 
../../devices/pci@0,0/pci-ide@14,1/ide@0/cmdk@1,0:i
lrwxrwxrwx 1 root root 51 Aug  5 00:45 /dev/dsk/c3d1s9 -> 
../../devices/pci@0,0/pci-ide@14,1/ide@0/cmdk@1,0:j

It's probably something blindingly obvious to a seasoned
Solaris user, but I'm stumped. Any ideas?

-- 
Eugen* Leitl <a href="http://leitl.org";>leitl</a> http://leitl.org
______________________________________________________________
ICBM: 48.07100, 11.36820 http://www.ativel.com http://postbiota.org
8B29F6BE: 099D 78BA 2FD3 B014 B08A  7779 75B0 2443 8B29 F6BE
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to