Operating System - HP-UX
1751974 Members
4553 Online
108784 Solutions
New Discussion юеВ

identifying a unique minor number for volume group

 
Ravinder Singh Gill
Regular Advisor

identifying a unique minor number for volume group

Hi guys,

I am creating a new volume group and have not done so for ages. I am at the mknod stage however can someone tell me how to check what minor numbers have already been used. The reason for my query is our volume groups are not simply numbered, they are actually given names i.e. vgABCData

We already have 14 volume groups so I would assume minor numbers 0 - 13 have been used. But obviously I want to be sure before I do anything.
3 REPLIES 3
Luk Vandenbussche
Honored Contributor

Re: identifying a unique minor number for volume group

Check al the group files

ls -l /dev/vg*/group

Now you can see al the minor numbers that are in use.

Ravinder Singh Gill
Regular Advisor

Re: identifying a unique minor number for volume group

I tried that already but for some reason it did not work.

But the following did work:

ll vg* | grep group
Ravinder Singh Gill
Regular Advisor

Re: identifying a unique minor number for volume group

Thanks