mirror2 / # zpool history
History for 'tank':
2007-11-07.14:15:19 zpool create -f tank raidz2 c0t0d0 c0t1d0 c0t2d0 c2t0d0 
c2t1d0 c2t2d0 c3t0d0 c3t1d0 c3t2d0 c3t3d0
2007-11-07.14:17:21 zfs set atime=off tank
2007-11-07.14:18:16 zfs create tank/datatel
2007-11-07.14:52:16 zfs set mountpoint=/datatel tank/datatel
2007-11-07.14:52:31 zfs create tank/u
2007-11-07.14:52:47 zfs set mountpoint=/u tank/u
2007-11-08.11:20:48 zpool scrub tank
2007-11-09.13:21:26 zpool online tank c3t0d0
2007-11-09.13:29:48 zpool replace tank c3t0d0
2007-12-02.18:07:40 zfs create tank/backup
2007-12-02.18:08:22 zfs set mountpoint=/backup tank/backup
2007-12-03.14:42:28 zpool add tank c4t0d0

mirror2 / #

I thought that c4t0d0 would be added to tank (raidz2). That is not what 
happened. tank is unaltered in df:
mirror2 / # df -k
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/md/dsk/d0       7801199 5783703 1939485    75%    /
/devices                   0       0       0     0%    /devices
ctfs                       0       0       0     0%    /system/contract
proc                       0       0       0     0%    /proc
mnttab                     0       0       0     0%    /etc/mnttab
swap                   53800    1416   52384     3%    /etc/svc/volatile
objfs                      0       0       0     0%    /system/object
fd                         0       0       0     0%    /dev/fd
swap                   52384       0   52384     0%    /tmp
swap                   52424      40   52384     1%    /var/run
tank/datatel         86510592 50856620 21310585    71%    /datatel
tank                 86510592      58 21310585     1%    /tank
tank/u               86510592 1561634 21310585     7%    /u
tank/backup          86510592 12778742 21310585    38%    /backup
mirror2 / #


 but in zpool list tank is larger than before but not by much:

mirror2 / # zpool list
NAME                    SIZE    USED   AVAIL    CAP  HEALTH     ALTROOT
tank                    101G   77.9G   22.9G    77%  ONLINE     -
mirror2 / #

and in zpool status:
mirror2 / # zpool status
  pool: tank
 state: ONLINE
 scrub: none requested
config:

        NAME        STATE     READ WRITE CKSUM
----tank        ONLINE       0     0     0
--------raidz2    ONLINE       0     0     0
--------c0t0d0  ONLINE       0     0     0
--------c0t1d0  ONLINE       0     0     0
--------c0t2d0  ONLINE       0     0     0
--------c2t0d0  ONLINE       0     0     0
--------c2t1d0  ONLINE       0     0     0
--------c2t2d0  ONLINE       0     0     0
--------c3t0d0  ONLINE       0     0     0
--------c3t1d0  ONLINE       0     0     0
--------c3t2d0  ONLINE       0     0     0
--------c3t3d0  ONLINE       0     0     0
----c4t0d0    ONLINE       0     0     0 #this line is indented to be under 
tank not raidz2

errors: No known data errors
mirror2 / #

c4t0d0 is not part of raidz2. How can I fix this?
I cannot remove c4t0d0 and I cannot offline it.
Ideally I would like to create another zpool with c4t0d0 plus some more disks
since there are more than the recommended number of disks in tank
already.

jonathan soons
 
 
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