- 论坛徽章:
- 0
|
14楼介绍的步骤非常好,我也通过了实施,步骤发出来大家分享下:
1、从rootvg中复制LV到datavg.
#smitty cplv -> Copy to a user created logical volume
* SOURCE logical volume name [swnx] +
* DESTINATION logical volume to create [swnx_01]
* Destination VOLUME GROUP name [datavg]
2、通过换名方式来修改LV name.
#smitty chlv -> Rename a Logical Volume
* CURRENT logical volume name [swnx] +
* NEW logical volume name [swnx_02]
#smitty chlv -> Rename a Logical Volume
* CURRENT logical volume name [swnx_01] +
* NEW logical volume name [swnx]
3、编辑/etc/filesystems:
对/swnx片段的dev进行修改,改回原先的/dev/swnx;对log进行修改,改成/dev/loglv03(因为文件系统的日志必须和该文件系统在同一个VG下)。
/swnx:
dev = /dev/swnx
vfs = jfs2
log = /dev/loglv03
mount = true
check = false
options = mind,rw
account = false
4、对更改后的LV进行mount、umount,然后在/swnx文件系统挂载的情况下,对LV swnx_02进行rmlv操作,确保不删错LV |
|