UnixPedia : HPUX / LINUX / SOLARIS: How to add alternate path disk to a VG when primary path are already added.

Saturday, March 8, 2014

How to add alternate path disk to a VG when primary path are already added.

How to add alternate path disk to a VG when primary path are already added.

example :

Following available links are either not configured
or disabled in Volume group vg_CXS
/dev/dsk/c242t6d7 (Current Primary link is /dev/dsk/c48t6d7).
/dev/dsk/c241t6d7 (Current Primary link is /dev/dsk/c48t6d7).
/dev/dsk/c238t1d3 (Current Primary link is /dev/dsk/c53t1d3).
/dev/dsk/c237t1d3 (Current Primary link is /dev/dsk/c53t1d3).

in VG vg_CXS four disk alternate path were not added. So to add to VG

create a file with disk details !!! only which are part of VG !!!!

#cat > disk_alternatepath
/dev/dsk/c242t6d7
/dev/dsk/c241t6d7
/dev/dsk/c238t1d3
/dev/dsk/c237t1d3

crtl+d

extend the volume group with alternate disk path.

#vgextend vg_CXS `cat disk_alternatepath`


No comments:

Post a Comment