[OmniOS-discuss] zfs export with iscsi always showing resource bussy
Muhammad Yousuf Khan
sirtcp at gmail.com
Tue Sep 24 08:46:22 UTC 2013
Sorry forgot to add the list
Thanks George and Johan for all your help. as i delete the LUs i finally
manage to export the pool however the size is still not grown to the lowest
attached drives. here is what i mean.
first i had . 2x160GB drives and 2x250 drives and per the rule i have got
300GB of working space as Raidz2 consider smallest hard drives and demote
the bigger one.
now i replaced 2x160 with a 500GB and a 320GB drive respectively here is
detail.
AVAILABLE DISK SELECTIONS:
0. c1d0 <Unknown-Unknown-0001 cyl 4862 alt 2 hd 255 sec 63>
/pci at 0,0/pci-ide at 1f,1/ide at 0/cmdk at 0,0
1. c2t0d0 <ATA-ST3320613AS-CC2J-298.09GB>
/pci at 0,0/pci1028,1c1 at 1f,2/disk at 0,0
2. c2t1d0 <ATA-WDC WD5001AALS-0-3B01-465.76GB>
/pci at 0,0/pci1028,1c1 at 1f,2/disk at 1,0
3. c2t2d0 <ATA-Hitachi HDP72502-A5FA-232.89GB>
/pci at 0,0/pci1028,1c1 at 1f,2/disk at 2,0
4. c2t3d0 <ATA-Hitachi HDP72502-A5FA-232.89GB>
/pci at 0,0/pci1028,1c1 at 1f,2/disk at 3,0
and here is my zpool status
NAME STATE READ WRITE CKSUM
acipool ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
c2t0d0 ONLINE 0 0 0
c2t1d0 ONLINE 0 0 0
c2t2d0 ONLINE 0 0 0
c2t3d0 ONLINE 0 0 0
so as per the rule, it should have consider the lowest capacity drive x 2
and in my case it should be 250GBx2 = 500GB however the df output still
shows the old 300GB size.
Filesystem Size Used Avail Use% Mounted on
rpool/ROOT/napp-it-0.9b3 27G 19G 8.3G 70% /
swap 13G 352K 13G 1% /etc/svc/volatile
/usr/lib/libc/libc_hwcap1.so.1 27G 19G 8.3G 70% /lib/libc.so.1
swap 13G 8.0K 13G 1% /tmp
swap 13G 52K 13G 1% /var/run
rpool/export/home 8.3G 31K 8.3G 1% /export/home
rpool 8.3G 39K 8.3G 1% /rpool
acipool 284G 25G 259G 9% /acipool
you can see my acipool is almost 300GB which is reflecting the old size.
but as per the Raiz2 rule it should have been 500GB.
i tried zpool export/import and also "zpool online -e poolname drivename"
and tried this on all drives but still no luck
i also restarted the server it also didnt work. however i had a ubuntu
destkop on which -e function was working correctly.
any help will be highly appreciated.
Thanks,
Myk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20130924/f82127d2/attachment-0001.html>
More information about the OmniOS-discuss
mailing list