Chinaunix

标题: AIX下如何重新命名一个LV的名字 [打印本页]

作者: ABAP/4    时间: 2013-12-21 14:36
标题: AIX下如何重新命名一个LV的名字
# lspv
hdisk0          00f7c936d345bdad                    rootvg          active              
hdisk1          00f7c936d98715de                    rootvg          active              
hdisk2          00f7c936e982ff67                    None                                
hdisk11         none                                None                                
hdisk12         00f7c936f2139bcf                    None                                
hdisk3          00f7c936f6549bcf                    None                                
hdisk4          none                                None                                
hdisk7          none                                None                                
hdisk8          00f7c936f6689bcf                    None                                
hdisk9          00f7c936f1234bcf                    None                                
hdisk10         none                                None                                
hdisk13         none                                None                                
hdisk14         none                                None                                
hdisk15         none                                None                                
hdisk16         none                                None                                
hdisk6          none                                None                                
hdisk17         none                                None                                
hdisk18         none                                None                                
# cfgmgr
# lspv
hdisk0          00f7c936d345bdad                    rootvg          active              
hdisk1          00f7c936d98715de                    rootvg          active              
hdisk2          00f7c936e982ff67                    None                                
hdisk11         none                                None                                
hdisk12         00f7c936f2139bcf                    None                                
hdisk3          00f7c936f6549bcf                    None                                
hdisk4          none                                None                                
hdisk7          none                                None                                
hdisk8          00f7c936f6689bcf                    None                                
hdisk9          00f7c936f1234bcf                    None                        
hdisk10         none                                None                                
hdisk13         none                                None                                
hdisk14         none                                None                                
hdisk15         none                                None                                
hdisk16         none                                None                                
hdisk5          none                                None                               
hdisk6          none                                None                                
hdisk17         none                                None                                
hdisk18         none                                None   

最新加的盘居然分配了HSIDK5这个名字,如何把这个名字换成HDISK19?
作者: hello_unix    时间: 2013-12-22 16:38
为啥有着需求,在vg使用pv的时候,关注的是pvid,不关注的他的名字
作者: ABAP/4    时间: 2013-12-23 20:53
hello_unix 发表于 2013-12-22 16:38
为啥有着需求,在vg使用pv的时候,关注的是pvid,不关注的他的名字


看着不顺眼
作者: yddll    时间: 2013-12-24 15:44
ABAP/4 发表于 2013-12-23 20:53
看着不顺眼


抠了,眼不见,心不烦
作者: jianhomlee    时间: 2013-12-26 13:02
是修改pv名吧,rendev -l hdisk5 -n hdisk19
作者: ws187131593    时间: 2014-01-21 15:42
恩  楼上正解
作者: zealotddv    时间: 2014-03-14 17:00
rendev -l hdisk5 -n hdisk19这个命令有版本需求,只有aix5309(好像)或者AIX6.1才有,lz注意啊




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2