- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgcreate failure
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 08:45 AM
07-19-2002 08:45 AM
vgcreate failure
I can't go forward and I can't go back - it's the proverbial Catch-22.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 08:50 AM
07-19-2002 08:50 AM
Re: vgcreate failure
Did you mv lvmtab prior to vgscan?
Also IF you know for a fact that the the vg99 is no longer used, try to vgexport it. Then also IF you know the PV is no longer unused do a pvcreate -f on it.
Then rerun your vgscan again prior to vgcreate.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 08:51 AM
07-19-2002 08:51 AM
Re: vgcreate failure
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 08:51 AM
07-19-2002 08:51 AM
Re: vgcreate failure
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 08:55 AM
07-19-2002 08:55 AM
Re: vgcreate failure
Hang on - I'm re-trying the vgscan after making absolutely sure that I moved it first. I'll get back to you in a few minutes.
Pete
P.S. Jeff, when I went back and looked at my wizard congratulatory thread yesterday I noticed that it was you and Steven at the head of the list again - he started it and you had the first response. Are you two my guardian angels, or what?
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 08:57 AM
07-19-2002 08:57 AM
Re: vgcreate failure
Make sure that the minor number of the volume group you are trying to create is unique. Do:
# ls -l /dev/vg*/group
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 08:57 AM
07-19-2002 08:57 AM
Re: vgcreate failure
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 09:02 AM
07-19-2002 09:02 AM
Re: vgcreate failure
The Volume Group /dev/vg99 was not matched with any Physical Volumes.
*** LVMTAB has been created successfully.
*** If PV links are configured in the system.
*** Do the following to resync information on disk.
*** #1. vgchange -a y
*** #2. lvlnboot -R
Now, however, when SAM tries to create the vg, it says
"A volume group is already using this major and minor number"
Aarghh!
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 09:07 AM
07-19-2002 09:07 AM
Re: vgcreate failure
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 09:08 AM
07-19-2002 09:08 AM
Re: vgcreate failure
ll /dev/vg*/group
crw-r----- 1 root sys 64 0x000000 Feb 14 2000 /dev/vg00/group
crw-rw-rw- 1 root root 64 0x010000 Jul 13 09:12 /dev/vg01/group
crw-rw-rw- 1 root root 64 0x020000 Jul 13 09:12 /dev/vg02/group
crw-r--r-- 1 root sys 64 0x030000 Jun 27 2000 /dev/vgswap/group
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 09:15 AM
07-19-2002 09:15 AM
Re: vgcreate failure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 09:15 AM
07-19-2002 09:15 AM
Re: vgcreate failure
If possible bring system to single user mode, unmount all data file systems and try:
1) vgexport
2) check lvmtab
3) do vgscan -a
4) Create new vg with unique number
5) Add disk
In either case, vgexport should work very easily. Carefully check the settings and try resolving one by one !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 09:24 AM
07-19-2002 09:24 AM
Re: vgcreate failure
No I just wanted to see you squirm a little again ;~)
Steve & I just happened to post @ the same time.
Back to the issue @ hand:
1) It is possible (but unprobable) that there's a misconfigured LV minor number in a VG. Look down thru them all to make sure you don't have am 0x040002 or such.
2) Possible that something was/is linked to the old /dev/vg99/group entry or vice/versa.
2) highly possible that the kernel thinks there's an 64 0x040000 device out there.
For now manually create it with 64 0x050000 & track it down after the next reboot. May be gone after a reboot....
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 09:48 AM
07-19-2002 09:48 AM
Re: vgcreate failure
mkdir /dev/vg99
mknod /dev/vg99/group c 64 0x050000
pvcreate /dev/rdsk/c18t1d2
pvcreate /dev/rdsk/c18t1d3
vgcreate /dev/vg99 /dev/dsk/c18t1d2 /dev/dsk/c18t1d3
Increased the number of physical extents per physical volume to 17326.
vgcreate: Volume group "/dev/vg99" could not be created:
Device busy
lsof /dev/dsk/c18t1d2 shows nothing.
Unless someone comes up with something brilliant, I think I'm going to give up for now and come in this weekend when I can re-boot this server.
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 10:05 AM
07-19-2002 10:05 AM
Re: vgcreate failure
Are they active - light on?
If you're sure of just which they are & they're hot-swappable, I'd pull them for 10-20 seconds & reseat them.
Something may have them tied up for some reason.
Also if this is a shared array, be damn sure that another system doesn't have it mitts on 'em.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 10:09 AM
07-19-2002 10:09 AM
Re: vgcreate failure
DOes 'diskinfo' yield good information (like a disk size > 0)?:
# diskinfo /dev/rdsk/c18t1d2
Second, can you do the 'vgcreate' without this disk?
I'm beginning to think you have a bad disk.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 10:16 AM
07-19-2002 10:16 AM
Re: vgcreate failure
It's a pair of RAID 5 luns in an FC60 array. No failure lights. Diskinfo looks good. I really don't think there's anything wrong with the disk(s). I'll run a *little* dd just to prove that they can be exercised - it would probably take hours to dd the whole 140 MB.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 10:24 AM
07-19-2002 10:24 AM
Re: vgcreate failure
My thanks to all.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 10:31 AM
07-19-2002 10:31 AM
Re: vgcreate failure
Can you check pvdisplay on those disks?
Thanks.
Prashant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 10:34 AM
07-19-2002 10:34 AM
Re: vgcreate failure
pvdisplay: Couldn't find the volume group to which
physical volume "/dev/dsk/c18t1d2" belongs.
pvdisplay: Cannot display physical volume "/dev/dsk/c18t1d2".
Same for the other.
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 10:35 AM
07-19-2002 10:35 AM
Re: vgcreate failure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 10:49 AM
07-19-2002 10:49 AM
Re: vgcreate failure
#mkdir /dev/vg20
# mknod /dev/vg20/group c 64 0x060000
# vgcreate /dev/vg20 /dev/dsk/c18t1d2 /dev/dsk/c18t1d3
Increased the number of physical extents per physical volume to 17326.
vgcreate: Volume group "/dev/vg20" could not be created:
Device busy
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 10:51 AM
07-19-2002 10:51 AM
Re: vgcreate failure
I seem to remember having seen that quite some years ago... Can you please try to use "vgcreate" with some options:
vgcreate -s 32 -e 2048 -l 32 /dev/vgXX ...
does it work now?
If yes, then it was a *wrong* error-message (your LVM headers did not fit into a single PE).
HTH,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 10:55 AM
07-19-2002 10:55 AM
Re: vgcreate failure
open for some desperate ideas ?
ll /dev/*/group
--> a volume group name does not need to start with vg
Somebody reduced "the kernel tunable parameter maxvgs" to 4 ?
I noticed diffrent permissions/ownerships on the group-files, although the ones on my system differ as well.
Just vague ideas
Volker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 10:55 AM
07-19-2002 10:55 AM
Re: vgcreate failure
vgcreate -s 32 -e 2165 -l 32 /dev/vg20 /dev/dsk/c18t1d2 /dev/>
vgcreate: Volume group "/dev/vg20" could not be created:
Device busy
Pete
Pete