- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unable to see volume groups and lvol's on system
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
07-06-2010 07:29 AM
07-06-2010 07:29 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2010 08:12 AM
07-06-2010 08:12 AM
Re: Unable to see volume groups and lvol's on system
Not able to understand your question.
>>I went to restore a file (/etc/profile) to the new system and I only checked the folder etc and chose "overwrite" and after it started restoring the directory /etc I killed the restore.
if you restore only one file /etc/profile then what you killed?
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2010 08:51 AM
07-06-2010 08:51 AM
Re: Unable to see volume groups and lvol's on system
What software were you using?
>Suraj: if you restore only one file /etc/profile then what you killed?
That was the mistake, Darrell did all of /etc/, until it was killed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2010 09:03 AM
07-06-2010 09:03 AM
Re: Unable to see volume groups and lvol's on system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2010 09:05 AM
07-06-2010 09:05 AM
Re: Unable to see volume groups and lvol's on system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2010 11:04 AM
07-06-2010 11:04 AM
Re: Unable to see volume groups and lvol's on system
May be vgdisplay -v VG00 will give a start...
HTH
SNS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2010 11:53 AM
07-06-2010 11:53 AM
Re: Unable to see volume groups and lvol's on system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2010 11:59 AM
07-06-2010 11:59 AM
Re: Unable to see volume groups and lvol's on system
Hope this helps,
Bruce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2010 12:17 PM
07-06-2010 12:17 PM
Re: Unable to see volume groups and lvol's on system
#vgcfgbackup vg00
But in this scenario, vg00 seems to have an issue.so im not sure it will work.But have a try ...
And also to the final query about minor numbers
/dev/vg** is the directory that can provide the required info.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2010 06:06 PM
07-06-2010 06:06 PM
SolutionSince lvmtab was overlaid, it must be reconstructed. Normally you would save the old lvmtab but since it is corrupted (overlaid by another system), just remove it and run vgscan:
rm /etc/lvmtab
vgscan -av
Now files in /etc such as fstab, hosts, syslog.conf, inetd.conf, services, resolv.conf, nsswitch.conf, pam* and so on may need to be verified. Use the Data Protector logs to see what was actually overlaid.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2010 04:41 AM
07-07-2010 04:41 AM
Re: Unable to see volume groups and lvol's on system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2010 05:13 AM
07-07-2010 05:13 AM
Re: Unable to see volume groups and lvol's on system
If you know the physical volume paths you can use them with the vgimport command
#vgimport -v /dev/vg01
If you have successfully created the lvmtab file with vgscan , then you can obtain the pvpaths from the lvmtab file.
Once vgimport succeeeds, activate the vg with
#vgchange -a y vg01
Hope this helps..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2010 05:49 AM
07-07-2010 05:49 AM
Re: Unable to see volume groups and lvol's on system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2010 06:15 AM
07-07-2010 06:15 AM
Re: Unable to see volume groups and lvol's on system
I could see that you have ran vgimport on an LV..instead that should be run on a disk
#vgimport -v /dev/vg01
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2010 06:23 AM
07-07-2010 06:23 AM
Re: Unable to see volume groups and lvol's on system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2010 06:29 AM
07-07-2010 06:29 AM
Re: Unable to see volume groups and lvol's on system
#strings /etc/lvmtab
#ls -l /etc/lvmconf*
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2010 06:36 AM
07-07-2010 06:36 AM
Re: Unable to see volume groups and lvol's on system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2010 06:47 AM
07-07-2010 06:47 AM
Re: Unable to see volume groups and lvol's on system
/dev/vg01
/dev/dsk/c4t0d0
/dev/vg02
/dev/dsk/c4t1d0
Also the vg conf files are those of june and not recent..
-r-------- 1 root sys 61440 Jun 14 14:44 vg01.conf
-r-------- 1 root sys 61440 Jun 14 14:40 vg01.conf.old
-r-------- 1 root sys 61440 Jun 14 14:54 vg02.conf
-r-------- 1 root sys 61440 Jun 14 14:52 vg02.conf.old
So if activating VG succeeds, then then should be available.
If not,then there is an other option that you can try..since the vg01/vg02 conf files are existing you can restore the VG.
#vgcfgrestore -n /dev/vg01 /dev/dsk/c4t0d0
#vgcfgrestore -n /dev/vg02 /dev/dsk/c4t1d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2010 07:02 AM
07-07-2010 07:02 AM
Re: Unable to see volume groups and lvol's on system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2010 07:05 AM
07-07-2010 07:05 AM
Re: Unable to see volume groups and lvol's on system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2010 07:06 AM
07-07-2010 07:06 AM
Re: Unable to see volume groups and lvol's on system
#vgchange -a n /dev/vg02
Let me know if you have any valid data on VG02..If not, then better delete and recreate :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2010 07:17 AM
07-07-2010 07:17 AM
Re: Unable to see volume groups and lvol's on system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2010 07:20 AM
07-07-2010 07:20 AM
Re: Unable to see volume groups and lvol's on system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2010 07:22 AM
07-07-2010 07:22 AM
Re: Unable to see volume groups and lvol's on system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2010 07:25 AM
07-07-2010 07:25 AM
Re: Unable to see volume groups and lvol's on system
#vgcfgrestore -n /dev/vg02 /dev/rdsk/c4t1d0
Also have a look at /etc/lvmconf/vg02.conf. This file should have the entry for /dev/rdsk/c4t1d0, for the command to succeed.