HPEVA3000文件系统扩容方案版权所有侵权必究目录HPEVA3000文件系统扩容方案..................................................................................................1第1章HPEVA3000文件系统扩容方案.....................................................................................31.1扩容方案说明.........................................................................................................................31.1.1相关版本信息如下.......................................................................................................31.1.2文件系统规划要求.......................................................................................................31.2文件系统扩容步骤.................................................................................................................31.2.1查看文件系统的现状...................................................................................................31.2.2查看卷组是否还有足够剩余空间未分配......................................................................31.2.3在SMA上创建VDISK................................................................................................51.2.4查看有没有新增加disk...............................................................................................61.2.5执行insf–e激活新增加的disk..................................................................................71.2.6再次执行ioscan-fnCdisk可以看到新增加的disk有了设备名称...............................71.2.7扩PV和VG................................................................................................................71.2.8停应用,umount文件系统..........................................................................................71.2.9查看vgscp信息..........................................................................................................71.2.10去激活vgscp.........................................................................................................101.2.11激活vgscp.............................................................................................................101.2.12查看vgscp.............................................................................................................101.2.13扩容LVSMS、LVSCU...........................................................................................131.2.14扩容文件系统.........................................................................................................131.2.15扩容完成后,重启主机..........................................................................................131.3扩容后检查.........................................................................................................................13第1章HPEVA3000文件系统扩容方案1.1扩容方案说明1.1.1相关版本信息如下HPRP4440热双机+EVA3000阵列SMA:EVA3000OS:HP-UXdrscp01B.11.11U9000/800587638677unlimited-userlicenseMC/SG:B3935DAA.11.15.00MC/ServiceGuardPHKL_306071.01.1.2文件系统规划要求要求LVSMS扩容到30G,LVSCU扩容到8G;而原有的LVSMS空间为10G,LVSCU空间为2G,要求LV所在的VGSCP需有足够的FreePE,由于两个LV所属的VGSCP只有空闲的6G空间,所以要求先扩容VGSCP,然后再分别扩容LV,然后再扩容相应的文件系统。1.2文件系统扩容步骤说明:以下操作没有特殊说明都必须在主备机都操作。1.2.1查看文件系统的现状#bdf……/dev/vgscp/lvsms104038405980103978605.7%/tellinshare/sms/dev/vgscp/lvscu2097152446990165016224%/tellin/scu1.2.2查看卷组是否还有足够剩余空间未分配#vgdisplay-vvgscp---Volumegroups---VGName/dev/vgscpVGWriteAccessread/writeVGStatusavailableMaxLV255CurLV3OpenLV3MaxPV16CurPV1ActPV1MaxPEperPV5119VGDA2PESize(Mbytes)4TotalPE5119AllocPE3584FreePE1535#VGSCP中可以看到FreePE:1535,只有空闲的6G,没有足够的空闲PE满足文件系统的扩容。TotalPVG0TotalSparePVs0TotalSparePVsinuse0---Logicalvolumes---LVName/dev/vgscp/lvscuLVStatusavailable/syncdLVSize(Mbytes)2048#当前LVSCU的LV大小为2G;CurrentLE512AllocatedPE512UsedPV1LVName/dev/vgscp/lvsmsLVStatusavailable/syncdLVSize(Mbytes)10240#当前LVSMS的LV大小为10G;CurrentLE2560AllocatedPE2560UsedPV1LVName/dev/vgscp/lvdatasyncLVStatusavailable/syncdLVSize(Mbytes)2048CurrentLE512AllocatedPE512UsedPV1---Physicalvolumes---PVName/dev/dsk/c14t0d2PVName/dev/dsk/c18t0d2AlternateLinkPVName/dev/dsk/c15t0d2AlternateLinkPVName/dev/dsk/c20t0d2AlternateLinkPVStatusavailableTotalPE5119FreePE1535AutoswitchOn1.2.3在SMA上创建VDISK通过键盘/显示器直接登陆Windows或通过远程连接桌面工具远程登录Windows,打开IE即可进入commandviewEVA界面。选择vdsik或其中的某个vdsikfolder,点击createvdisk:说明:由于本次VGSCP需要扩容20G的空间,双机中每个主机对应的阵列都需要至少新增一个20G的VDISK,所谓的VDISK简单的理解就象HP早期的autoraid中LUN。Autoraid先检查阵列,然后在阵列划分LUN,EVA就是在VDISKGROUP上新建一个VDISK。1.2.4查看有没有新增加diskioscan-fnCdisk,看看有没有新增加diskdisk190/2/1/0/4/0.1.3.0.0.0.4sdiskCLAIMEDDEVICEHPHSV200......disk200/5/2/0/4/0.1.3.0.0.0.4sdiskCLAIMEDDEVICEHPHSV200......disk210/5/2/0/4/0.1.4.0.0.0.4sdiskCLAIMEDDEVICEHPHSV200......disk220/2/1/0/4/0.1.4.0.0.0.4sdiskCLAIMEDDEVICEHPHSV200......1.2.5执行insf–e激活新增加的disk1.2.6再次执行ioscan-fnCdisk可以看到新增加的disk有了设备名称dev/dsk/c6t0d4/dev/rdsk/c6t0d4dev/dsk/c11t0d4/dev/rdsk/c11t0d4dev/dsk/c7t0d4/dev/rdsk/c7t0d4dev/dsk/c10t0d4/dev/rdsk/c10t0d41.2.7扩PV和VGpvcreate-f/dev/rdsk/c6t0d4vgextend/dev/vgscp/dev/dsk/c6t0d4pvcreate-f/dev/rdsk/c7t0d4vgextend/dev/vgscp/dev/dsk/c7t0d4pvcreate-f/dev/rdsk/c10t0d4vgextend/dev/vgscp/dev/dsk/c10t0d4pvcreate-f/dev/rdsk/c11t0d4vgextend/dev/vgscp/dev/dsk/c11t0d41.2.8停应用,umount文件系统1、停应用(省略)2、Umount文件系统Umount/tellin/scuUmount/tellinshare/sms如果vgscp中有其他的lv,也需要umount掉对应的文件