- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 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
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-18-2008 08:07 PM
тАО12-18-2008 08:07 PM
I have an HP-UX C200 running 10.20 that is hanging on boot due to a bad mount point in fstab. I believe this mount point is not on vg00 and thus not on the root disk.
If this were Solaris I would boot from the install media, mount c0t0d0s0 and edit vfstab to pound out the offending entries.
With HP-UX can I boot from the Install CD, run a recovery shell, mount /dev/vg00/lvol3 (/) and remove the offending entries from fstab?
Please provide the steps if possible. I can boot from the CD and get to the recovery shell but not sure how to mount the lvols.
Also I think the answer to this next question is no, but can I pull a disk from c360 and put it in a c200? I seem to remember the disks being different scsi standards one is FW and one is ultra wide I think.
Thank you in advance.
James
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2008 08:25 PM
тАО12-18-2008 08:25 PM
Re: Boot from recovery CD or media to edit fstab
Hi,
1. Reboot the machine ,
2. choose the boot from media,
3. else interuppt the ISL and go for boot hpux -is.
4 Takes it single user mode.
5. modify the /etc/fstab entry.
6. check for the mounting.
If there is any difficulty, try for this link.
http://docs.hp.com/en/B3782-90732/ch02s01.html
Thx,
Analyst.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2008 08:40 PM
тАО12-18-2008 08:40 PM
Re: Boot from recovery CD or media to edit fstab
I will try the hpux -is...
Don't know why that did not smack me in the face before. Hopefully the root disk is good, if it is then things will be ok.
Please answer this question for reference.
Can you boot from the Install CD and mount LVM volumes?
Thank you again
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2008 09:11 PM
тАО12-18-2008 09:11 PM
Re: Boot from recovery CD or media to edit fstab
The question is not clear.
If I understood your question,
1. boot hpux -is - single usermode
2. boot hpux -lm - LVM maintainace mode.
3. As mentioned earlier boot using singe user mode and do the modification .
Thx,
Analyst.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2008 09:21 PM
тАО12-18-2008 09:21 PM
Re: Boot from recovery CD or media to edit fstab
At any rate thank you for your answer, I am just looking ahead to the possibility that the root disk may be failed.
I sure hope that is not the case.
Any idea on if the disk internally in a c360 will work in a c200. Is there a manual that explains the SCSI specifications in regards to the c200 and c360?
Thanks again
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2008 09:31 PM
тАО12-18-2008 09:31 PM
Re: Boot from recovery CD or media to edit fstab
Iam not sure abt that,
may be you can try this link for the comparision.
http://partsurfer.hp.com/cgi-bin/spi/main?sel_flg=modinfo&model=C360&HP_model=
Thx,
Analyst.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2008 01:06 AM
тАО12-19-2008 01:06 AM
Re: Boot from recovery CD or media to edit fstab
You can check the part no. of both the disks and if its similar(sometimes, part nos. might not be same, then check if the 'Replace with HP Part #' matches either), then you should be able to put the disk from c360 to c200.
Regards,
Ramaprasad K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2008 03:43 AM
тАО12-19-2008 03:43 AM
Re: Boot from recovery CD or media to edit fstab
Booting from CD, importing, activating and mounting the vg00 is certainly possible, so you can make changes to fstab.
However, the recovery mode has a *very* limited number of commands by default. Before entering the actual recovery shell, the Install CD's recovery mode offers you a chance to load additional commands from the CD (you choose which commands to load). This is to cope with old machines with a very small amount of RAM.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2008 06:19 AM
тАО12-19-2008 06:19 AM
Re: Boot from recovery CD or media to edit fstab
Thank you for the reply. Is there a kb doc that details the steps I may need to perform from recovery mode?
Thank you
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2008 09:35 AM
тАО12-19-2008 09:35 AM
Re: Boot from recovery CD or media to edit fstab
For this, you'll want Chapter 4, System Recovery. Its Document ID is "emr_na-c01037105". It describes the use of the install CD as a recovery media, its automated recovery procedures and how to use the recovery shell mode.
The Introduction for the series of documents is emr_na-c00863981. Use it to find all the other parts you might be interested in.
You must have a valid support agreement to access the ITRC Knowledge Base.
MK
- 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