- 论坛徽章:
- 0
|
为了数据着想,先借了个DDS3的磁带机,挂上后装软件,改内核。然后做了make_tape_recovery -Av.
接下来就是做vgmodify的过程,主要参考netzh的文章:http://blog.itpub.net/netzh
重启用hpux -lm进入维护模式,然后
#vgmodify -e 20000 vg00 /dev/dsk/c3t5d0
Activating vg00 read-only to collect data
Activated volume group
Volume group "vg00" has been successfully changed.
Max. PVs=(old=16 new=16) PEs/PVs=(*OLD*=2150 *NEW*=20000) LVs=(old=255 new=255)
VGRA sizes=(*OLD*=624kb *NEW*=2640kb)
De-activating vg00
Volume group "vg00" has been successfully changed.
/dev/rdsk/c3t5d0:
User data=(old=2012 new=2012) PEs=(old=2150 new=2150)
stolen PEs=0 VGRA PSN (*OLD*=2144 *NEW*=12
type (*OLD*=boot *NEW*=non-boot)
last block=(old=8782539kb new=8782539kb) PEs used (First=0 Last=2195)
Performing writes
/dev/rdsk/c3t5d0:
Writing primary lvmrec
Writing secondary lvmrec
Writing VGRA to starting block 128
A current backup for the new configuration does not exist.
Please perform a vgcfgbackup(1m) after activating the VG
这里type (*OLD*=boot *NEW*=non-boot)居然把vg00改成non-boot了,这下就不能从硬盘引导系统了。看来要直接改vg00的LVM参数还真是风险大呀。
最后没办法,只能在新硬盘上恢复备份了。
[ 本帖最后由 zlg88 于 2007-5-17 21:55 编辑 ] |
|