- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /etc/lvmtab order
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-19-2007 01:23 PM
11-19-2007 01:23 PM
I have a question regarding lvmtab in my rx3600. When I do a strings lvmtab, the order the vg is detected is as shown below.
canary01:/etc# strings lvmtab
/dev/vg07
/dev/dsk/c10t0d0
/dev/dsk/c14t0d0
/dev/vg10
/dev/dsk/c14t0d1
/dev/dsk/c10t0d1
/dev/vg09
/dev/dsk/c10t0d2
/dev/dsk/c14t0d2
/dev/vg05
/dev/dsk/c10t0d5
/dev/dsk/c14t0d5
/dev/vg04
/dev/dsk/c10t0d6
/dev/dsk/c14t0d6
/dev/vg02
/dev/dsk/c10t1d0
/dev/dsk/c14t1d0
/dev/vg00
/dev/dsk/c1t0d0s2
/dev/vg01
/dev/dsk/c10t1d1
/dev/dsk/c14t1d1
/dev/vg03
/dev/dsk/c10t0d7
/dev/dsk/c14t0d7
/dev/vg08
/dev/dsk/c10t0d3
/dev/dsk/c14t0d3
/dev/vg06
/dev/dsk/c10t0d4
/dev/dsk/c14t0d4
The problem i have is everytime I reboot my machines, the messages below appear. It complains about unable to query all the vgs that appear before vg00 is detected (as ordered in lvmtab). I have tried moving the lvmtab and redo vgscan, the order is still unchanged.
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c10t0d0":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c14t0d0":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query all of the physical volumes.
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c10t0d1":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c14t0d1":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query all of the physical volumes.
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c10t0d2":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c14t0d2":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query all of the physical volumes.
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c10t0d5":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c14t0d5":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query all of the physical volumes.
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c10t0d6":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c14t0d6":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query all of the physical volumes.
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c10t1d0":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c14t1d0":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query all of the physical volumes.
My question is:-
1) Does the order of how vgs appear in lvmtab matters?
2) Can I manually reorder the vgs in lvmtab?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2007 02:14 PM
11-19-2007 02:14 PM
Re: /etc/lvmtab order
1. It matters, it showing which disk path is being used as primary connection.
2. The order in lvmtab depends on your vg settings. If you wanted to change the order then use this command:
# vgreduce /dev/vg07 /dev/dsk/c10t0d0
# vgextend /dev/vg07 /dev/dsk/c10t0d0
if you do the vgdisplay -v vg07, the primary link will be /dev/dsk/c14t0d0 and the secondary link will be /dev/dsk/c10t0d0
Regards,
Sandy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2007 02:26 PM
11-19-2007 02:26 PM
Re: /etc/lvmtab order
I am suspecting the if we don't get vg00 to be the first detected vg during vgscan in /etc/lvmtab, I will have those warning messages.
Anyone seen this before?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2007 02:42 PM
11-19-2007 02:42 PM
Re: /etc/lvmtab order
Fix those lvlnboot warning message first.
WK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2007 03:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2007 07:22 PM
11-19-2007 07:22 PM
Re: /etc/lvmtab order
Anyway, no you can't control the order in which VGs appear in /etc/lvmtab, but you can control the order in which VGs are activated by customising the file /etc/lvmrc.
But I'm not going to say any more about that until you explain why all those disks are inaccessible (what a meany!)
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2007 07:59 PM
11-19-2007 07:59 PM
Re: /etc/lvmtab order
1.What were the changes done to the LVM structure ?
2. Till when was this working last ?
Checks
******
Check the syslog for the commands executed for lvm related changes
check the timestamps of the relevant files
check the /etc/lvmrc
was there any activity with the Storage side ?
check the ioscan of the luns available, if you have an old copy of the ioscan compare anc check.
Finally I would say that we need to look in to many aspects for this.Well if you do not want the root cause.
Just export a VG and then reimport it and check the same VG status ..
Cheers
Vijay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2007 08:31 PM
11-19-2007 08:31 PM
Re: /etc/lvmtab order
The funny thing is the server is working perfectly fine. pvdisplay, vgdisplay, ioscan all shows normal behaviour.
Let me try vgexport and vgimport again. Will update all once I manage to get some maintenance windows.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2007 12:20 PM
11-21-2007 12:20 PM
Re: /etc/lvmtab order
After vgexport and vgimport all the vg's that appear before vg00 in the /etc/lvmtab, the warning messages are gone.
Now the first entry in my /etc/lvmtab is vg00.
Thanks.