1753416 Members
5592 Online
108793 Solutions
New Discussion юеВ

Re: vgcreate issue

 
SOLVED
Go to solution
emily_3
Frequent Advisor

Re: vgcreate issue

Hi,

there is no /dev/slvmvg, just did:

# vgscan -a -p
# vgcreate /dev/vg01 /dev/dsk/c2t1d0

But still the same failure.
A. Clay Stephenson
Acclaimed Contributor

Re: vgcreate issue

Check /etc/lvmpvg; you may have defined PVG's at some time and there may be bogus entries in this file. It's a textfile so you can use vi to view/edit it.
If it ain't broke, I can fix that.
A. Clay Stephenson
Acclaimed Contributor

Re: vgcreate issue

Another thing to check is if there is another bogus device node out there some where.

find / -type c -exec ls -l {} \; | grep 64 | grep 0x01

Let's just see what that turns up.
If it ain't broke, I can fix that.
emily_3
Frequent Advisor

Re: vgcreate issue

There is no /etc/lvmpvg

After did the find, there is only one result, which is /dev/vg01/group. Actually there is no other files.!

My system is ia64 (11.23), is there any special feature?
Daniel Varabief
Occasional Advisor

Re: vgcreate issue

Hi Emily,
Please try
#vgexport vg01
#pvcreate -f /dev/rdsk/c2t1d0
After that repeat known procedure of creating vg's:
#mkdir /dev/vg01
#mknod /dev/vg01/group c 64 0x010000
#vgcreate /dev/vg01 /dev/dsk/c2t1d0

Kind regards,
Dan
F Verschuren
Esteemed Contributor
Solution

Re: vgcreate issue

one easy workarount:
mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x0a0000
ps you can alsow try to rename the vg01 to somting els but reading your tekst I do not hink it is the solution...


please post a ll /dev/* |grep 0x010000
F Verschuren
Esteemed Contributor

Re: vgcreate issue

befor you change yous numbres please first chek if it is free:
ll /dev/* |grep [new numbre]
if it is not free just pick the next numbre
Darrel Louis
Honored Contributor

Re: vgcreate issue

Hi Emily,

Can you check if the disk is oke?
- diskinfo -v /dev/rdsk/c2t1d0
Did the "find command" resulted in any Character devices found with the same minor number?

- pvcreate /dev/rdsk/c2t1d0
- mkdir /dev/
Try to use a differnt minor number
- mknod /dev//group c 64 0x020000

GoodLuck

Darrel
emily_3
Frequent Advisor

Re: vgcreate issue

Hello,

vgcreate is successfully created by change the minor number. But still don't know why 0x010000 is occupied, since didn't found any other by "find" command. Thanks.

Darrel Louis
Honored Contributor

Re: vgcreate issue

Emily,

What's the result of:
find / -type c -exec ls -l {} \; | grep 64 | grep 0x01
To check which Char. device is using this minor number.


Darrel