存储学习之--StarWind高级配置(添加新的存储和扩展SIZE)
在配置完StarWind的存储后,可以按照需求来增加或扩展共享存储设备的容量,以下是具体的操作步骤。
一、添加新的存储(New Target)
选择添加新的target
命名新的target
选择存储设备类型
选择虚拟的方式
以镜像方式添加
建立镜像文件和指定Size
设置共享存储属性,支持Cluster
设置Cache大小
完成创建
创建成功
查看新的存储属性
二、扩展存储的尺寸
选择扩展Size
指定扩展后的Size
扩展成功!
三、Linux Client验证
搜索iscsi target:
[root@rh6 ~]# iscsiadm -m discovery -t sendtargets -p 192.168.8.245
192.168.8.245:3260,-1 iqn.2008-08.com.starwindsoftware:win-oaj0hths7kg-starwind 192.168.8.245:3260,-1 iqn.2008-08.com.starwindsoftware:win-oaj0hths7kg-starwind-2
查看磁盘信息:
[root@rh6 ~]# fdisk -l
Disk /dev/sdd: 10.5 GB, 10485760000 bytes 64 heads, 32 sectors/track, 10000 cylinders Units = cylinders of 2048 * 512 = 1048576 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/sdd doesn't contain a valid partition table
连接iscsi target 2:
[root@rh6 ~]# iscsiadm -m node -T iqn.2008-08.com.starwindsoftware:win-oaj0hths7kg-starwind-2 -p 192.168.8.245 -l
Logging in to [iface: default, target: iqn.2008-08.com.starwindsoftware:win-oaj0hths7kg-starwind-2, portal: 192.168.8.245,3260] Login to [iface: default, target: iqn.2008-08.com.starwindsoftware:win-oaj0hths7kg-starwind-2, portal: 192.168.8.245,3260] successful.
[root@rh6 ~]# fdisk -l
Disk /dev/sdd: 10.5 GB, 10485760000 bytes 64 heads, 32 sectors/track, 10000 cylinders Units = cylinders of 2048 * 512 = 1048576 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/sdd doesn't contain a valid partition table Disk /dev/sde: 31.8 GB, 31834767360 bytes 64 heads, 32 sectors/track, 30360 cylinders Units = cylinders of 2048 * 512 = 1048576 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/sde doesn't contain a valid partition table
Linux客户端访问虚拟存储成功!
对于StarWind的存储的管理非常方便,和易于操作。