Jean-Paul, Regarding your comments here:
Expected because s0 is defined as 0 bytes in the partition table I presume? Yes, you need to put the disk space into s0 by using the format utility. Use the modify option from format's partition menu is probably the easiest way. Email me directly if you need the steps. > > ~$ pfexec zpool add rpool cache c8t0d0s2 > cannot add to 'rpool': invalid argument for this pool operation > ~$ > > Should this have worked? No, because s2 has a special meaning with a VTOC (SMI) label. After you fix the disk partitions, everything should just work. :-) Cindy Jean-Paul Rivet wrote: >>Put the disk space of c8t0d0 in c8t0d0s0 and try the >>zpool add syntax again. If you need help with the >>format syntax, let me know. >> >>This command syntax should have complained: >> >>pfexec zpool add rpool cache /dev/rdsk/c8t0d0 >> >>See the zpool syntax below for pointers. >> >>Cindy > > > I've tried the following and get: > > ~$ pfexec zpool add rpool cache c8t0d0s0 > cannot open '/dev/dsk/c8t0d0s0': No such device or address > ~$ > > Expected because s0 is defined as 0 bytes in the partition table I presume? > > ~$ pfexec zpool add rpool cache c8t0d0s2 > cannot add to 'rpool': invalid argument for this pool operation > ~$ > > Should this have worked? > > Have I partitioned the SD card correctly and am I trying to allocate the > correct slice to zfs? > > Thanks for your responses far. > > partition> p > Volume: cache > Current partition table (original): > Total disk cylinders available: 1940 + 2 (reserved cylinders) > > Part Tag Flag Cylinders Size Blocks > 0 unassigned wm 0 0 (0/0/0) 0 > 1 unassigned wm 0 0 (0/0/0) 0 > 2 unassigned wu 1 - 1939 3.79GB (1939/0/0) 7942144 > 3 unassigned wm 0 0 (0/0/0) 0 > 4 unassigned wm 0 0 (0/0/0) 0 > 5 unassigned wm 0 0 (0/0/0) 0 > 6 unassigned wm 0 0 (0/0/0) 0 > 7 unassigned wm 0 0 (0/0/0) 0 > 8 boot wu 0 - 0 2.00MB (1/0/0) 4096 > 9 unassigned wm 0 0 (0/0/0) 0 > > partition> > > Cheers, JP > > >># zpool add rpool cache c0t1d0s0 >># zpool iostat -v rpool >> capacity operations bandwidth >>d avail read write read write >>---------- ----- ----- ----- ----- ----- ----- >>rpool 11.4G 22.4G 0 0 5.86K 73 >> c0t0d0s0 11.4G 22.4G 0 0 5.86K 73 >>he - - - - - - >> c0t1d0s0 47.8M 33.9G 0 53 18.1K 6.38M >>------- ----- ----- ----- ----- ----- ----- >> _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss