1752367 Members
5752 Online
108787 Solutions
New Discussion юеВ

Minor number

 
SOLVED
Go to solution
Yuri Fomin
Advisor

Minor number

Hello.
I have 2 group files:
#root@xxxx:/> ll /dev/va_*/group
crw-rw-rw- 1 root sys 64 0x015000 Jan 27 21:22
/dev/va_aiv/group
crw-rw-rw- 1 root sys 64 0x010000 Jan 16 22:01
/dev/va_uos/group

Is it error? Is minor number 0x015000 = 0x010000 in such case?
4 REPLIES 4
Pete Randall
Outstanding Contributor
Solution

Re: Minor number

Yuri,

Yes, you've got duplicate minor numbers. The minor number is the first two digits after the "x", so you've got two "01" minors.


Pete

Pete
Robert-Jan Goossens
Honored Contributor

Re: Minor number

Hi,

It is a duplicated minor number, check the example below.

# ll /dev/*/group
crw-r----- 1 root sys 64 0x000000 May 18 2000 /dev/vg00/group
crw-r----- 1 root sys 64 0x010000 May 18 2000 /dev/vg01/group

Regards,
Robert-Jan
Trond Haugen
Honored Contributor

Re: Minor number

Yes you have two VGs with the same group ID.
The first two digits after x is the group ID. The rest should be zero.
You can probaly fix this by exporting the VG (with a map file). Create a new VG with a unique group ID and import it.

Regards,
Trond
Regards,
Trond Haugen
LinkedIn
Todd McDaniel_1
Honored Contributor

Re: Minor number

Yuri,

Here is a list of 31 minor numbers for your reference... from one of my boxes.


0x000000
0x010000
0x020000
0x030000
0x040000
0x050000
0x060000
0x070000
0x080000
0x090000
0x100000
0x210000
0x220000
0x230000
0x240000
0x250000
0x260000
0x270000
0x280000
0x290000
0x2a0000
0x2b0000
0x2c0000
0x2d0000
0x2e0000
0x300000
0x310000
0x320000
0x330000
0x340000
0x350000
Unix, the other white meat.