- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: LVM configuration lost
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
тАО07-19-2004 01:49 PM - last edited on тАО03-10-2014 10:05 PM by Lisa198503
тАО07-19-2004 01:49 PM - last edited on тАО03-10-2014 10:05 PM by Lisa198503
LVM configuration lost
hai there,
i have a problem where i lost all my lvm configuration. when i do vgdisplay -v /dev/vg00, it returns nothing. so as the /etc/lvmtab.
i try
mv lvmtab lvmtab.orig
vgscan -v
also return a empty lvmtab file
but when i try bdf, all the file system seems inplace.
can anyone please me figure this out.
P.S. This thread has been moved from Disk to HP-UX > LVM and VxVM. -HP Forum Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2004 04:53 PM
тАО07-19-2004 04:53 PM
Re: LVM configuration lost
What does ioscan -fnC disk say ?
Do you get any error while doing vgscan -v ?
what do you get when you try to activate a vg.
how many vg's do you have ?
Is your system working fine ?
If no then is it botable from the alternate kernel ?
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2004 05:54 PM
тАО07-19-2004 05:54 PM
Re: LVM configuration lost
disk 0 8/4.5.0 sdisk CLAIMED DEVICE SEAGATE ST39175LC
/dev/dsk/c0t5d0 /dev/rdsk/c0t5d0
disk 1 8/4.8.0 sdisk CLAIMED DEVICE SEAGATE ST39175LC
/dev/dsk/c0t8d0 /dev/rdsk/c0t8d0
, as for vgscan -v, just go back to prompt and didn't return anything even didn't recreate the /etc/lvmtab file.
i don't have another copy kernel, since all these problem occur after the primary boot(P0) failed and replace with a another disk. currently boot with P1.
i try restore the conf using
vgcfgrestore -f /appl/qa/vg00.backup /dev/rdsk/c0t8d0 and it failed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2004 06:02 PM
тАО07-19-2004 06:02 PM
Re: LVM configuration lost
try to re-import the vg00:
1) create a mapfile. Its sintax is
number lvolname
for example
1 lvol1
2 lvol2
3 lvol3
repeat for ALL the lvols. remember to include the swap!!!
2) create directory /dev/vg00
3) create /dev/vg00/group
mknod /dev/vg00/group c 64 0x000000
4) try to import it
vgimport -f MAPFILE vg00
Good luck,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2004 07:08 PM
тАО07-19-2004 07:08 PM
Re: LVM configuration lost
actually it seems like the problem is not from the vg configuration but some how some of the files in /usr/sbin corrupted. after i replace with another copy from another machine, all the commands responced. i can see my volume groups.
sorry to trouble you so much.