发新话题
打印

VERITAS卷划分该使用那组命令!

VERITAS卷划分该使用那组命令!

主机是HP,连接的磁盘阵列采用的是VxVM卷管理方式,现在需要划分新的volumn,手头没有资料,以前也没有做过,网上查找了一下,发现好多不同的方法,请大家批评指正,究竟那种方法是真确的

假设有两块物理盘是c1t1d1,  c1t2d1为前提
方法一:
vxdisk init  c1t1d1  c1t2d1
vxdg init   dg1  c1t1d1   c1t2d1
vxassist –g dg1 make volumn1  5g  layout=stripe  stripeunit=64k  ncol=2
vxdg import  dg1
vxvol -g  dg1 startall

方法二:
vxdisksetup  -i  c1t1d1   c1t2d1
vxdg  init  dg1  c1t1d1  c1t2d21
vxdg  -g  dg1   adddisk    c1t1d1  c1t2d1   
vxassist –g dg1 make volumn1  5g  layout=stripe  stripeunit=64k  ncol=2
vxdg import  dg1
vxvol -g  dg1 startall

请问这两种方法对不对,哪种方法更好,哪怕有一点差错希望大家能够指出来!另外问一下,
卷划好后,一定要导入,激活一下吗?为什么?

TOP

1方法2
2 step of adddisk is not required
3. step of import and step start vol are not required , too

It's better to check your vm version and the document.

TOP

thank you!
i  use   storage foundation  3.5!
why  are  not  these steps  necessary?
can you give some infomation in detail?

TOP

发新话题