Chinaunix首页 | 论坛 | 博客
  • 博客访问: 317528
  • 博文数量: 239
  • 博客积分: 481
  • 博客等级: 下士
  • 技术积分: 1170
  • 用 户 组: 普通用户
  • 注册时间: 2008-07-15 17:28
文章分类

全部博文(239)

文章存档

2014年(13)

2013年(6)

2012年(122)

2011年(98)

分类:

2012-02-02 19:03:19

原文地址:hpunix将lvm盘转为vxvm 作者:guopy007

http://blog.chinaunix.net/space.php?uid=119039&do=blog&id=2802556


 

c9t2d1       auto:LVM        -            -            LVM

hp23 #vxdisksetup -i c9t1d7
VxVM vxdisk ERROR V-5-1-3421 Device c9t1d7 is already in use by LVM.

hp23 #pvremove /dev/rdsk/c9t1d7
The physical volume associated with "/dev/rdsk/c9t1d7" has been removed.
c9t2d1       auto:none       -            -            online invalid

hp23 #vxdisksetup -i c9t1d7
++++++++++++++++++++++++++++++++++++++++++++++++++++

hp23 #vxdisksetup -i c9t1d7

hp23:/ # pvremove /dev/rdsk/c9t2d1
pvremove: The physical volume "/dev/rdsk/c9t2d1" belongs to an exported volume group.
pvremove: Couldn't remove physical volume "/dev/rdsk/c9t2d1".

hp23:/ # vxdiskunsetup -C c9t2d1
VxVM vxdiskunsetup ERROR V-5-2-2399 c9t2d1: Disk device is not on-line. Can't perform operation until disk is online.
hp23:/ # pvcreate -f /dev/rdsk/c9t2d1
Physical volume "/dev/rdsk/c9t2d1" has been successfully created.
hp23:/ #  pvremove /dev/rdsk/c9t2d1
The physical volume associated with "/dev/rdsk/c9t2d1" has been removed.

阅读(228) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~