VCS 6.1 – How to initialize GAB disk region using gabdiskconf?

vcs-how-toThe gabdiskconf utility can be used to initialize a GAB disk region. It also writes the disk signature to the beginning of each block. The disk signature has three components :
1) a fixed system prefix, “GAB”
2) the node id for the block, and,
3) a 4-byte string representing the user-supplied signature. After the disk region has been initialized, the gabdiskx/gabdiskhb utilities can be used in conjunction with the -S option to initiate signature checks. Signature checks are optional, but, if employed, offer better disk region integrity
 
Below command (shown for different platforms) initializes a disk region starting at block no. 0 (at block 16, in the case of Solaris) with the string representing the signature specified by the user.

For Solaris:

# /sbin/gabdiskconf -i /dev/dsk/c1t1d0s0 -s 16 -S1100

For AIX:

# /sbin/gabdiskconf -i /dev/hdisk4 -s 0 -S 1100

For Linux:

# /sbin/gabdiskconf -i /dev/sdg -s 0 -S 1100

For HP:

# /sbin/gabdiskconf -i /dev/vg01/lvol1 -s 0 -S 1100
Ramdev

Ramdev

I have started unixadminschool.com ( aka gurkulindia.com) in 2009 as my own personal reference blog, and later sometime i have realized that my leanings might be helpful for other unixadmins if I manage my knowledge-base in more user friendly format. And the result is today's' unixadminschool.com. You can connect me at - https://www.linkedin.com/in/unixadminschool/

1 Response

  1. October 10, 2015

    […] Read – How to initialize GAB disk region using gabdiskconf? […]

What is in your mind, about this post ? Leave a Reply

Close
  Our next learning article is ready, subscribe it in your email

What is your Learning Goal for Next Six Months ? Talk to us