Fibre Channel (SAN)

mkvg

by coco_furia on ‎10-07-2006 01:00 AM - edited on ‎10-30-2013 01:18 PM by bcm1 (152 Views)

DETAILED DESCRIPTION  

When you have to create a volume group from command line you should:
1) Check if maxvgs kernel parameter is big enough.
2) Search for a free and unused minor number.
3) Run mkdir /dev/vg...
4) Run mknod

... and then run vgcreate.
Boring...

This script resume all previous 4 steps in one.

Just run
mkvg, then vgcreate. Done.

This script informs you about maxvgs value, actual used minor numbers for vgs, searches for the next free minor number available, creates the /dev/vg... directory and runs mknod.
Nice uh? Enjoy! 

 

REQUIREMENTS 

Operating System HP-UX 

Interface UNIX 

Fabric Operating System Any 

Other None 

 

NOTES (INCLUDING LIMITATIONS) 

None 

 

NOTE: This contribution was migrated by Brocade from the former Brocade Connect community on March 13, 2008, on behalf of the author.

Contributors