- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /usr will not mount
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
11-02-2003 10:02 PM
11-02-2003 10:02 PM
I am running 10.20 on a K class.
When it was rebooted this morning, it got to a point where it was hanging and giving an error message about init respawning the console.
I have since rebooted using the key and got into single user mode.
Following mount -a,
I did fsck on all the lvols that it said had a problem. They all fixed ok except for
/dev/vg00/lvol7 which is /usr
In this directory is the ARMServer daemon, without which I can't seem to use the disks in the AUTOraid, so when going up to multi user mode, fsck gets run automatically on other file systems.
In single user mode, I ran
fsck -F vxfs -o full /dev/vg00/lvol7
and it seemed to finish ok.
But when I then try mount /usr I get
vxfs: mesg012: vx_iget -
vxfs mount: /dev/vg00/lvol7 is not a vxfs file system.
Having read a few posts, someone suggested using dd to see if the disk has i/o errors, but that doesn't work. I am assuming it is in /usr/bin ?
Have I any choice but to recreate the logical volume and restore the filesystem?
Can I do this without the commands in /usr ?
TIA
Luke
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2003 10:10 PM
11-02-2003 10:10 PM
Re: /usr will not mount
All commands that you need to recreate this should be in /sbin as well as /usr (just change your PATH) for this very reason :)
You might want to try mounting it as an HFS file system unless you are absolutly sure it was a vxfs file system to start with ("mount -t hfs"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2003 10:11 PM
11-02-2003 10:11 PM
Re: /usr will not mount
Can you just see /etc/fstab to determine what is the type of /usr file system? wheather it is vxfs or hfs. and try to run Full check on /usr file system in single user mode and try to mount that manually.
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2003 10:19 PM
11-02-2003 10:19 PM
Re: /usr will not mount
The contents of /etc/fstab confirm what I already thought.
It is a vxfs file system.
Having run
fsck -F vxfs -o full /dev/vg00/lvol7
it again seems to pass through it ok, but when I go to mount the filesystem, I still get the vxfs: mesg012 error indicated in my original post.
Luke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2003 10:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2003 10:42 PM
11-02-2003 10:42 PM
Re: /usr will not mount
before you recreate the filesystem try this,
fsck -F vxfs -o full /dev/vg00/rlvol7
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2003 10:43 PM
11-02-2003 10:43 PM
Re: /usr will not mount
At risk of sounding stupid, do I just need to do the following to recreate my logical volume?
lvremove -f /dev/vg00/lvol7
lvcreate -L 620
Do I need to use
lvcreate -L 620 -n lvol7 vg00
or will it automatically use the same logical volume number?
Thanks
Luke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2003 10:53 PM
11-02-2003 10:53 PM
Re: /usr will not mount
check my previuos post,
fsck -F vxfs -o full /dev/vg00/rlvol7
notice the r in rlvol7
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2003 10:59 PM
11-02-2003 10:59 PM
Re: /usr will not mount
I have done the fsck command on both the lvol and rlvol and both complete just fine.
When I then try to mount the filesystem however, I get the same error as indicated above.
Luke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2003 11:41 PM
11-02-2003 11:41 PM
Re: /usr will not mount
You probably don't actually need to re-create the logical volume. You can probably just re-create the filesystem with "newfs -F vxfs /dev/vg00/rlvol7" and then restore from tape.
On the other hand if you want to go a bit ultra safe, then re-create the logical volume using the "-n" as you said to be sure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2003 11:50 PM
11-02-2003 11:50 PM
Re: /usr will not mount
just a suggestion/guess:
if you use etc/fstab for mount, pleae check the entry concerning /usr for suspicious characters.
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 02:38 AM
11-03-2003 02:38 AM
Re: /usr will not mount
I removed and recreated the logical volume, created a newFS, mounted it, and then restored the data.
It seems to be working ok now.
Luke