- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgimport: could not access the list of physical vo...
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
Discussions
Discussions
Forums
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
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
тАО01-16-2008 01:02 PM
тАО01-16-2008 01:02 PM
My trouble is the next:
I've been trying to do the next command
vgimport -v -p -m /etc/lvmconf/vgtest.map vg01
but when i execute this command it sends me the next msn:
Couldn't access the list of physical volumes for volume group "/dev/vg01".
I tried making a VG whit this diretory and a PV then it sends me the next msn:
vgimport: Volume group "/dev/vg01" already exists in the "/etc/lvmtab"
i used the vgexport to erase it from the "/etc/lvmtab" but this sends me the firs msn
thanks for you help
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2008 01:21 PM
тАО01-16-2008 01:21 PM
Re: vgimport: could not access the list of physical volumes for volume group
I prefer controlling it by giving it the list of disk to take action on.
BTW, -p is preview mode and will not actually import the VG. ( I am sure you knew this ).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2008 01:34 PM
тАО01-16-2008 01:34 PM
Re: vgimport: could not access the list of physical volumes for volume group
nodo 1:
mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x010000
vgcreate /dev/vg01 /dev/dsk/c2t0d0
vgexport -p -v -s -m /tmp/vg01.map vg01
cat /tmp/vg01.map
scp /tmp/vg01.map user@nodo2:/tmp
nodo 2:
mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x010000
vgimport -s -p -v -m /tmp/vg01.map /dev/vg01
here sends me error
Couldn't access the list of physical volumes for volume group "/dev/vg01"
then i do this
vgcreate /dev/vg01 /dev/dsk/c2t0d0
here is another error
vgimport: Volume group "/dev/vg01" already exists in the "/etc/lvmtab"
if i use de vgexport i need to do this
vgchange -a n vg01
vgexport /dev/vg01
mkdir .... vg01
mknod ...
i then i get the same error
please help me
CH2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2008 01:38 PM
тАО01-16-2008 01:38 PM
Re: vgimport: could not access the list of physical volumes for volume group
We will have to wait for others to chime in as I have long since forgotten the tricks when SG is in play.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2008 01:40 PM
тАО01-16-2008 01:40 PM
Re: vgimport: could not access the list of physical volumes for volume group
CH2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2008 02:59 PM
тАО01-16-2008 02:59 PM
Re: vgimport: could not access the list of physical volumes for volume group
~hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2008 03:31 PM
тАО01-16-2008 03:31 PM
Re: vgimport: could not access the list of physical volumes for volume group
vgimport -m /tmp/vg01.map /dev/vg01 /dev/dsk/c2t0d0 but i got this msn:
Physical Volume "/dev/dsk/c2t0d0" is not part of a Volume Group
what colud be the cause?
CH2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2008 12:56 AM
тАО01-17-2008 12:56 AM
Re: vgimport: could not access the list of physical volumes for volume group
>Physical Volume "/dev/dsk/c2t0d0" is not part of a Volume Group
>what colud be the cause?
There are still lots of things that could be wrong so you need to narrow it down further. You can't use the "-m" option and specify the list of PVs to be imported into the VG as the two are mutually exclusive. Take out the "-m" option and try again:
# vgimport /dev/vg01 /dev/dsk/c2t0d0
Also post the output of the below commands which will help in troubleshooting the problem further:
-- get the PVID to see if it has LVM information on it
# echo 0x2008?2D | adb /dev/dsk/c2t0d0
-- get the VGID to see if this PV is part of a VG
# echo 0x2010?2D | adb /dev/dsk/c2t0d0
-- show the HBAs that are in the 2nd node
# ioscan -funC fc
~hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2008 06:10 AM
тАО01-17-2008 06:10 AM
SolutionPlease confirm this once again.. I doubt that disks are not visible to second node.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2008 06:42 AM
тАО01-17-2008 06:42 AM
Re: vgimport: could not access the list of physical volumes for volume group
this is the output of de ioscan -fnc disk
server 1:
# ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 0 0/0/1/1.0.0 sdisk CLAIMED DEVICE SEAGATE ST318404LC
/dev/dsk/c1t0d0 /dev/rdsk/c1t0d0
disk 1 0/0/2/0.0.0 sdisk CLAIMED DEVICE SEAGATE ST336704LC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 4 0/0/2/0.2.0 sdisk CLAIMED DEVICE HP 73.4GST373405LC
/dev/dsk/c2t2d0 /dev/rdsk/c2t2d0
disk 2 0/0/2/1.2.0 sdisk CLAIMED DEVICE HP DVD-ROM 305
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
server 2:
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 0 0/0/1/1.0.0 sdisk CLAIMED DEVICE SEAGATE ST318404LC
/dev/dsk/c1t0d0 /dev/rdsk/c1t0d0
disk 1 0/0/2/0.0.0 sdisk CLAIMED DEVICE SEAGATE ST118202LC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 2 0/0/2/1.2.0 sdisk CLAIMED DEVICE HP DVD-ROM 305
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
inthe server 1 i'm using the /dev/dsk/c2t0d0 for mi VG