Originally posted by: shargus
Trying to create a new volume group using
mkvg -S -f -s 1024 -y vgoracle hdisk2
we're getting 0516-021 message about the major number is in use.
The mkvg command did not actually create a vgoracle (and thus, no device file), so we can't tell what major number it has a problem with.
So, I tried adding a "-C" to the mkvg command. This time, it created a vgoracle volume group with associated device file. The major number is 37.
As expected, trying to varyonvg vgoracle gives the "major number already in use" error.
The problem is, we cannot find any other device file with major number 37.
We even poked around in the ODM looking for it.
If we do the same mkvg, but this time specified a major number (we picked 41 at random), it works fine.
So, 1) What is mkvg colliding with? 2) If I need to specify a major number, how can I tell (in a script) which ones are available for use? 37 appears to be available here, yet mkvg (and varyonvg) choke on it.
#AIX-Forum