- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Boot from recovery CD or media to edit fstab
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
тАО12-19-2008 09:45 AM
тАО12-19-2008 09:45 AM
Re: Boot from recovery CD or media to edit fstab
Ouch, that last line about a support agreement was painful. I am gonna have to beg one of my co workers but I appreciate the response. I had accessed that advanced recovery doc in the past when i did have a valid contract, actually I still may.I will have to check it out.
Good news is the box is up now,the root disk was still ok. Pounded out the non lvm entries from single user mode. But we lost a disk and the previous admin did not back the file system up that lived on it.
I will close this thread soon.
Thank you for your help.
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2008 09:51 AM
тАО12-19-2008 09:51 AM
Re: Boot from recovery CD or media to edit fstab
The lvmtab is not there anymore. How can i recreate this lvmtab file?
Is this a serious issue?
Thank you
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2008 09:57 AM
тАО12-19-2008 09:57 AM
Re: Boot from recovery CD or media to edit fstab
Not sure why it is missing.
Thanks again
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2008 10:15 AM
тАО12-19-2008 10:15 AM
Solution> How can i recreate this lvmtab file?
# vgscan -a -v
# vgchange -a y
# lvlnboot -R
Now, if you have any alternate LVM links they may not be in the primary/secondary relationships that they were originally. You can see the order by either doing:
# strings /etc/lvmtab
(or)
# vgdisplay -v
To reorder alternate links to your needs, simply 'vgreduce' a primary link. This promotes the seondary link to primary status. Then 'vgextend' the link you last reduced. THis adds it back to the volume group but as a secondary link. Repeat this for all of your links as necessary.
If you have a large number of pvlinks you can simply 'vgexport' the volume group capturing the device files in a file; edit and reorder the device links; and 'vgimport' the volume group. Thus:
# vgchange -a n /dev/vgNN
# vgexport -m /var/tmp/vgNN.map -f /var/tmp/vgNN.paths /dev/vgNN
# [ ...edit /var/tmp/vgNN.paths ]
# vgimport -m /var/tmp/vgNN.map -f /var/tmp/vgNN.paths /dev/vgNN
# vgchange -a y /dev/vgNN
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2008 10:17 AM
тАО12-19-2008 10:17 AM
Re: Boot from recovery CD or media to edit fstab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2008 10:37 AM
тАО12-19-2008 10:37 AM
Re: Boot from recovery CD or media to edit fstab
No wonder you are a 2 star Olympian.
I have no pvlinks so I think the set of 3 commands may do the trick.
# vgscan -a -v
# vgchange -a y
# lvlnboot -R
I can do this while in multi user mode then?
I am confused as to why the machine boots up and mounts the lvols if the lvmtab file is off.
I will have to read up on this but is this file unimportant for reasons other than displaying volume group statistics.
Thank you
James
--------------
TTr,
It's a cold world sometimes.
Thank you
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2008 04:34 PM
тАО12-21-2008 04:34 PM
Re: Boot from recovery CD or media to edit fstab
James
- « Previous
-
- 1
- 2
- Next »