免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2394 | 回复: 5
打印 上一主题 下一主题

[小机硬件] lsdev 看到有Available怎么理解? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-02-01 11:37 |只看该作者 |倒序浏览
lspv
hdisk0          00cc023c9cfc60c3                    rootvg          active
hdisk1          00cc023c9625ba42                    rootvg          active
hdisk2          00cc023c963181b4                    None            
hdisk3          00cc023c992665c7                    None   

lsdev -Cc disk
hdisk0 Available 03-08-00-5,0 16 Bit LVD SCSI Disk Drive
hdisk1 Available 03-08-00-4,0 16 Bit LVD SCSI Disk Drive
hdisk2 Available 0B-08-00-4,0 16 Bit LVD SCSI Disk Drive
hdisk3 Available 0B-08-00-5,0 16 Bit LVD SCSI Disk Drive

是不是说只要lsdev -Cc中有available就说明这个磁盘一定存在于小机中?

论坛徽章:
0
2 [报告]
发表于 2013-02-01 14:02 |只看该作者
说明此设备可用

论坛徽章:
0
3 [报告]
发表于 2013-02-01 14:20 |只看该作者
hello_unix 发表于 2013-02-01 14:02
说明此设备可用


使用smitty extendvg,准备吧hdisk2加入到rootvg中,系统出现这个错误

Command: failed        stdout: yes           stderr: no

Before command completion, additional instructions may appear below.

0516-1398 /usr/sbin/extendvg: The physical volume hdisk2, appears to belong to
another volume group. Use the force option to add this physical volume
to a volume group.
0516-792 /usr/sbin/extendvg: Unable to extend volume group.

然后看hdisk2的信息

lspv -l hdisk2
0516-320 : Physical volume 00cc025c863181b60000000000000000 is not assigned to a volume group.

论坛徽章:
0
4 [报告]
发表于 2013-02-01 14:57 |只看该作者
这个hdisk2已经加到了其他卷组里面了。。

确认一下有没有其他卷组在用这个hdisk2,如果没有,可以强制加入到vg里面去。。

论坛徽章:
0
5 [报告]
发表于 2013-02-01 15:44 |只看该作者
bigacer 发表于 2013-02-01 14:20
使用smitty extendvg,准备吧hdisk2加入到rootvg中,系统出现这个错误

Command: failed        stdo ...

extendvg -f rootvg hdisk2

论坛徽章:
0
6 [报告]
发表于 2013-02-01 16:07 |只看该作者
wushanyink 发表于 2013-02-01 14:57
这个hdisk2已经加到了其他卷组里面了。。

确认一下有没有其他卷组在用这个hdisk2,如果没有,可以强制加 ...



没有其他的VG
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP