- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lv group missing
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
тАО04-30-2004 04:04 AM
тАО04-30-2004 04:04 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2004 04:14 AM
тАО04-30-2004 04:14 AM
Re: lv group missing
Next do a strings /etc/lvmtab to see if the disk is still in /etc/lvmtab.
If so then you should vgexport the VG.
Next,
cd to /dev
mkdir vg01
cd vg01
mknod group c 64 0x010000
But make certain that the minor device number 0x010000 is not is use by any other VG. If it is in use then choose another number.
vgimport -v /dev/vg01 /dev/dsk/c2t5d0
vgchange -y y /dev/vg01
Now you should be able to mount your filesystem on /dev/vg01/lvol1 although an fsck will probably be required first.
Man vgexport, vgimport, vgchange for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2004 04:52 AM
тАО04-30-2004 04:52 AM
Solution1) Check the disk for hardware errors (dd, stm)
2) If the disk is okay, check if the LVM headers exists on the disk (vgscan, pvdisplay, vgdisplay)and in system (/etc/lvmtab). If yes, then you can vgimport the disk and see if you got the data in it.
3) If not, do a 'vgcfgrestore' to this disk using vg01 lvmconf file from /etc (if that's the right copy). Then mount the file systems and restore the data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2004 04:57 AM
тАО04-30-2004 04:57 AM
Re: lv group missing
SAM says the disk is unused ?. Then probably your LVM headers are corrupted. How about a vgcfgrestore ?
# echo "0x2008?4D" | adb /dev/dsk/
Execute the above command post the output
The output is of format
2008:
hostID - uname -i
If the output doesnt make sense to you then you can try vgcfgrestore and hope the data is still intact
# vgcfgrestore -n vg01 /dev/rdsk/
Good luck :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2004 07:11 AM
тАО04-30-2004 07:11 AM
Re: lv group missing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2004 07:21 AM
тАО04-30-2004 07:21 AM
Re: lv group missing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2004 07:28 AM
тАО04-30-2004 07:28 AM
Re: lv group missing
To check what is there in /etc/lvmconf/vg01.conf
Then
vgcfgrestore -n /dev/vg01 /dev/rdsk/c0t5d0
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2004 07:57 AM
тАО04-30-2004 07:57 AM
Re: lv group missing
# vgcfgrestore -n /dev/vg01 /dev/rdsk/c0t5d0
vgcfgrestore: IO error on Physical Volume device /dev/rdsk/c0t5d0
Any suggestions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2004 08:04 AM
тАО04-30-2004 08:04 AM
Re: lv group missing
Restore LVM configuration information stored for /dev/rdsk/c0t7d0 in
default configuration file /etc/lvmconf/vg01.conf to physical volume
/dev/rdsk/c0t6d0:
vgcfgrestore -n /dev/vg01 -o /dev/rdsk/c0t7d0 /dev/rdsk/c0t6d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2004 08:05 AM
тАО04-30-2004 08:05 AM
Re: lv group missing
diskinfo -v /dev/rdsk/c0t5d0
dd if=/dev/rdsk/c0t5d0 of=/dev/null
Anil