Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change vg_major_number 1

Status
Not open for further replies.

mariod

MIS
Jun 14, 2001
3
YU
I have problem with volume group on ssa disks. There is two rs/6000 with ssa disks and nonconcurent access and HACMP. On slave I have diferent volume group major number. How I can correct this.

Thanks,

Mariod
 
Mariod,

Well first of let me explain that the major numbers only have to be the same if the cluster is NFS exporting directories/filesystems. This is because the major number is used as a file handle in the NFS mount on the client.

If you just have a database running or some type of application then you may not need to make this change. Only if you have NFS clients.

The only way to actually change the major number is to export and import the volume group on the slave node by specifying a major number, here are the steps:

1) on the master :

ls -l /dev/*vg*

** Look and make a note of the major number of the vg in question

2) On the slave, use the following command to list the next available major number, or peruse the /dev/ directory.

lvlstmajor

3) On the slave export/import the VG (do this after stopping cluster services on both nodes i.e. a maintenance window)

In this example vg=testvg major number=41 disk=hdisk2

exportvg testvg

importvg -V41 -y testvg hdisk2

Any problems let me know.

Cheers

PSD
IBM Certified Specialist - AIX V4.3 Systems Support
IBM Certified Specialist - AIX V4 HACMP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top