iscsi lun extend
1.实验环境netapp simulator 7.3.4;winows xp ;Microsoft iSCSI Initiatosi
操作步骤:
1.创建Igroup
igroup create -i -t windows nodename
igroup create -i -t windows iqn.1991-06.com.microsoft:xiao6th
2. 创建一个40m的lun
lun create -s 40m -t windows -o noreserve /vol/vol1/lun1
3. map lun to host
lun map /vol/vol1/lun1 windows 1
4.host端发现lun。
a)
b) Add discovery的ip
c) Logon targets,click log on
d) Locate lun to local disk
e) 格式化lun ,copy一份文件进去。
f) lun resize /vol/vol1/lun1 +10m
g) 在host端运行run输入cmd
h) diskpart
list disk
select disk 1
list partition 1
extend size=16
最后partition 1的大小为63m,文件没有丢失。
转载于:https://blog.51cto.com/xiao4th/471422