- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disks missing from /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
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
тАО05-25-2006 01:47 AM
тАО05-25-2006 01:47 AM
Hi All,
I have some disks missing from /etc/lvmtab and need to get them back in there via vgextend etc, but wanted your advice on the best way to do it - This is the output from strings /etc/lvmtab -
root@ugos388# strings /etc/lvmtab
/dev/vg00
/dev/dsk/c2t1d0s2
/dev/dsk/c3t0d0s2
/dev/vgapp
/dev/dsk/c4t0d1
/dev/dsk/c8t0d1
/dev/vgclwss
/dev/dsk/c4t0d3
/dev/dsk/c4t0d4
/dev/dsk/c4t0d5
/dev/dsk/c4t0d6
/dev/vgclord
/dev/dsk/c4t0d7
/dev/dsk/c8t0d7
root@ugos388#
The volume group /dev/vgclwss should have the alternate disks in the lvmtab, which should be /dev/dsk/c8 ...
Can someone tell me how to identify the 4 disks that need to be put into the /etc/lvmtab file and the syntax to do that.
Thanks alot
Trev
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2006 01:52 AM
тАО05-25-2006 01:52 AM
Re: Disks missing from /etc/lvmtab
When you say the alternate disks are missing - do you mean the disks shown in vgdisplay -v output as Alternate Link ?
Then they will not show in the lvmtab as they are just differnt path to same disk.
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2006 01:53 AM
тАО05-25-2006 01:53 AM
Re: Disks missing from /etc/lvmtab
First, one does not edit '/etc/lvmtab'. It is a binary file maintained by 'vgscan', 'vgextend', 'vgreduce', 'vgimport' and 'vgexport'.
If you want to add alternate links (pvlinks) to the volume group "/dev/vgclwss", use 'vgextend':
# vgextend /dev/vgclwss /dev/dsk/cXtYdZ
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2006 01:54 AM
тАО05-25-2006 01:54 AM
Re: Disks missing from /etc/lvmtab
The alternate disks will not show up on the /etc/lvmtab file.
Rgds
HGN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2006 01:58 AM
тАО05-25-2006 01:58 AM
SolutionAFAIK, the simplest way to see alternate pth disks in /etc/lvmtab is to add the disks to volume group.
If the alternate path is dev/dsk/c8t0 , then the needed command is
vgextend /dev/vgclwss dev/dsk/c8t0d3 /dev/dsk/c8t0d4 /dev/dsk/c8t0d5 /dev/dsk/c8t0d6
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2006 02:00 AM
тАО05-25-2006 02:00 AM
Re: Disks missing from /etc/lvmtab
If you are not sure and are not on a clustered system, you could do the following steps:
mv /etc/lvmtab /etc/lvmtab.bak
vgscan -v # This will take awhile to run
strings /etc/lvmtab
#You should see the pvlinks in the vgdisplay and the lvmtab
vgchange -a y /dev/vgclwss
vgdisplay -v /dev/vgclwss
If you have a way to find out which devices are suppose to be the alternate links, you can simply vgextend them into the VG.
vgextend /dev/vgclwss /dev/dsk/cXtXdX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2006 02:31 AM
тАО05-25-2006 02:31 AM
Re: Disks missing from /etc/lvmtab
Sorry - the disks should be visible in /etc/lvmtab.
And you can add those disks using vgextend vgname disk1 disk2 ..
No points for my posts please.
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2006 02:41 AM
тАО05-25-2006 02:41 AM
Re: Disks missing from /etc/lvmtab
Before using vgextend check with pvdisplay -v /dev/dsk/c8t?d? if the disk belongs to a Volume Group.
Darrel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2006 03:13 AM
тАО05-25-2006 03:13 AM
Re: Disks missing from /etc/lvmtab
to rescan and recreate the /etc/lvmtab,
do move the existing lvmtab and rin #vgscan
Regards,
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2006 03:16 AM
тАО05-25-2006 03:16 AM
Re: Disks missing from /etc/lvmtab
if the commmand
vgdisplay -v /dev/vgclwss
not shows the Alternate Link disk, Es:
PV Name /dev/dsk/c6t3d4
PV Name /dev/dsk/c4t4d3 Alternate Link
You need to add them:
vgextend /dev/vgclwss /dev/dsk/c8t0d3 /dev/dsk/c8t0d4 /dev/dsk/c8t0d5 /dev/dsk/c8t0d6
and
strings /etc/lvmtab should to show them
If the vgdisplay show them and lvmtan not show them, you need to run the vgscan command:
mv /etc/lvmtab /etc/lvmtab.old
vgscan -a -v -p (preview)
then
vgscan -a -v
Enrico