- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- invalid information in /etc/lvmtab
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
03-28-2003 08:33 AM
03-28-2003 08:33 AM
a few days ago i started to work at a new company.
First i run some scripts to get several information about the systems:
I found out that in the /etc/lvmtab there are several information about disks that don't exists on the system anynmore.
ioscan -funC disk
show different disks, also in the /etc/lvmtab
Is vgexport /dev/vg0x the best way to get rid of this information ?
Thanks in advance
Uli Tehrani
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2003 08:34 AM
03-28-2003 08:34 AM
Re: invalid information in /etc/lvmtab
mv /etc/lvmtab /etc/lvmtab.prev
vgscan -a -v
strings /etc/lvmtab
Share and Enjoy! Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2003 08:36 AM
03-28-2003 08:36 AM
Re: invalid information in /etc/lvmtab
vgscan -a -v -p (* preview new /etc/lvmtab *)
This will list all disk that respond.
-a (* check all controllers *)
Cross reference with vgdisplay -v | grep -i pv.
Vgdisplay is the key since some disks may not be allocated. You may have unused disks that don't belong to any vg.
Once your happy :
vgscan -a -v (* will update your lvmtab *)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2003 08:38 AM
03-28-2003 08:38 AM
Re: invalid information in /etc/lvmtab
Do as suggested above but vgscan -p first.
This will do a preview of the command before writing a new /etc/lvmtab. Make sure it picks up all the required disks for your vgs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2003 08:42 AM
03-28-2003 08:42 AM
Re: invalid information in /etc/lvmtab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2003 08:45 AM
03-28-2003 08:45 AM
Re: invalid information in /etc/lvmtab
If you are going to recreate your '/etc/lvmtab' be sure update your boot information afterwards ('lvlnboot -R') and "rebalance" any pv_links to load-balance I/O among controllers. A primary link to a physical disk is nothing more than the *first* pv_link as defined in 'etc/lvmtab'. This order is thus dependent on the discovery order during a 'vgscan' which may or may not be what you desire.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2003 08:46 AM
03-28-2003 08:46 AM
Re: invalid information in /etc/lvmtab
not a good solution?
Uli
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2003 08:52 AM
03-28-2003 08:52 AM
Re: invalid information in /etc/lvmtab
vgchange -a n vg01 to 4
vgexport vg01 to 4
should work, if it complains use the vgscan option.
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2003 08:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2003 09:01 AM
03-28-2003 09:01 AM
Re: invalid information in /etc/lvmtab
lvlnboot -v show me that the are not activated..
lvlnboot: Volume group not activated.
Cannot display volume group "/dev/vg01".
lvlnboot: Volume group not activated.
Cannot display volume group "/dev/vg02".
lvlnboot: Volume group not activated.
Cannot display volume group "/dev/vg03".
lvlnboot: Volume group not activated.
Cannot display volume group "/dev/vg04".
Current path "/dev/dsk/c8t0d1" is an alternate link, skip.
Current path "/dev/dsk/c11t0d2" is an alternate link, skip.
Current path "/dev/dsk/c8t0d3" is an alternate link, skip.
Uli
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2003 09:13 AM
03-28-2003 09:13 AM