Hello,

I am having a problem resizing an iSCSI LUN on my client machine (snv_55b) 
after successfully resizing the ZFS zvol on the server (snv_59) which is using 
the iSCSI target.  Here is what I've done so far.

I setup a server with snv_59, created one zvol with shareiscsi=on, and enabled 
the iscsitgt SMF service with everything working fine.  Then I setup a second 
zvol as follows:

server# zfs create -s -V 50gb mypool/zvol2
server# zfs set shareiscsi=on mypool/zvol2

Then from my client which is running snv_55b and the iSCSI initiator configured:

client# zpool create -m /zfs/pool/enrole enrole 
c3t01000003BA2425EF00002A0046043D12d0
client# zfs create enrole/backup

All works fine on the client with the 50gb LUN.  So I decide to try and resize 
the zvol:

server# zfs set volsize=100g mypool/zvol2
server# zfs get volsize
NAME          PROPERTY  VALUE         SOURCE
mypool        volsize   -             -
mypool/zvol1  volsize   200G          -
mypool/zvol2  volsize   100G          -

The server looks good now with no service restarts needed.  So, I go to the 
client but it hasn't picked up the new size change:

client# zfs list enrole
NAME     USED  AVAIL  REFER  MOUNTPOINT
enrole  47.1G  1.84G  26.5K  /zfs/pool/enrole

I try the following with no luck:

client# zpool export enrole
client# iscsiadm modify discovery -t disable
client# iscsiadm modify discovery -t enable
client# zpool import enrole

Also, if I check with "format", the partition table still shows 50gb.  Finally, 
I tried a good old "init 6" on the client, but the size is still 50gb instead 
of 100gb.

Any thoughts on what I can try next?

Regards,
-Eric
 
 
This message posted from opensolaris.org
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to