- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- strange vgimport error
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
11-23-2004 10:16 PM
11-23-2004 10:16 PM
strange vgimport error
I'm experiencing a strange errore while vgimporting a bcv disk
----------
The error is:
Couldn't attach to the volum group /dev/....
file exists
vgchange: File exists
------------
The error is the File exist line...
At the end of the vgchange command I still haven't imported the single physical disk indicated in the error below.
Does anybody have any suggestion?
Emanuele
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 10:27 PM
11-23-2004 10:27 PM
Re: strange vgimport error
The normal sequence of events is:
mkdir /dev/vgNN
mknod /dev/vgNN/group c 64 0xNN0000
vgimport . . . .
Assuming you've followed those steps then we need to look at the possibility of duplicates - either a duplicate vgNN or a duplicate minor number 0xNN0000.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 10:37 PM
11-23-2004 10:37 PM
Re: strange vgimport error
I verified vg name and minor number...and they are univocal...
;-(
Thanks anyway
Emanuele
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 11:35 PM
11-23-2004 11:35 PM
Re: strange vgimport error
Try to recreate lvmtab.
mv /etc/lvmtab /etc/lvmtab.old
vgscan -v
or maybe try to recreate the device drivers with
insf -e
Then proceed with installation.
Regards,
Borislav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 11:55 PM
11-23-2004 11:55 PM
Re: strange vgimport error
Try doing this on the node where you r importing:
1. vgexport vgNN (remove if it has done it half way)
2. mkdir /dev/vgnn
3. mknod /dev/vgnn/group c 64
4. vgimport -s -v -m
5. vgchange -a y vgnn
I hope this should work.
If not check whether you are able to see PV's properly and you r referring to the ones which u r suppose to. Use diskinfo command to see status of the PV's.
# diskinfo
See if you are able to get the info of all PV's related to VGnn
Hope that helps.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2004 12:29 AM
11-24-2004 12:29 AM
Re: strange vgimport error
the error you are seeing happens if a physical volume with a different VGID is still attached (kernel-wise) to the volume group. This is a somewhat weird situation, since the the VG is supposed to be deactivated... a deactivated VG with a PV attached? Not ok, indeed.
You can provoke this symptom by fiddling around with vgchgid. :) I don't go into details here.
Unfortunately there no easy way to get this situation cleared without rebooting.
But only the single VG slot in the kernel's structures should be affected. So you could workaround this problem by importing the VG to another free VG minor number. Activation should work fine then.
After reboot all should be fine again. LVM is supposed be enhanced in this area.
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2004 01:23 AM
11-24-2004 01:23 AM
Re: strange vgimport error
The error was very atipical!
There was 2 different disks with the same physical volume group number!
I'm pvmoving data on another disk....restoring situation and I hope everything will go fine!
thanks to everything
Emanuele