- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- failure to mount directory
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
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
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-22-2002 07:03 AM
тАО07-22-2002 07:03 AM
I had to reboot my server and I tried to go to /home directory only to find out there there is nothing there.
I did 'bdf' and I didn't see /home mounted, so I tried to mount /home and here is what I get:
test4:/> mount /home
vxfs mount: /dev/vg00b/lvol5 is corrupted. needs checking
Does anyone know whats going on?
Thanks a lot!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2002 07:06 AM
тАО07-22-2002 07:06 AM
Re: failure to mount directory
Home was not shut down cleanly and needs to be checked via fsck. Run "fsck -y /dev/vg00b/rlvol5", then mount.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2002 07:09 AM
тАО07-22-2002 07:09 AM
Re: failure to mount directory
Here is what I get:
test4:/> fsck -y /dev/vg00b/rvol5
fsck: /etc/default/fs is used for determining the file system type
vxfs fsck: cannot stat /dev/vg00b/rvol5
test4:/>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2002 07:10 AM
тАО07-22-2002 07:10 AM
Re: failure to mount directory
Try;
fsck -F vxfs -o full /dev/vg00b/rlvol5
And answer Y when prompted, then mount it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2002 07:13 AM
тАО07-22-2002 07:13 AM
Re: failure to mount directory
Here is what I get:
test4:/> fsck -F vxfs -o full /dev/vg00b/rvol5
vxfs fsck: cannot stat /dev/vg00b/rvol5
Hmm, unrecoverable??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2002 07:22 AM
тАО07-22-2002 07:22 AM
Re: failure to mount directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2002 07:24 AM
тАО07-22-2002 07:24 AM
Re: failure to mount directory
fsck -F vxfs -o full /dev/vg00b/rlvol5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2002 07:24 AM
тАО07-22-2002 07:24 AM
Re: failure to mount directory
test4:>fsck -F vxfs -o full /dev/vg00b/rlvol5
file system is larger than device
vxfs fsck: cannot initialize aggregate
file system check failure, aborting ...
test4:/>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2002 07:25 AM
тАО07-22-2002 07:25 AM
Re: failure to mount directory
Sounds bad. In /dev/vg00b if you do an ls -l do all the major/minor numbers look correct ?
If you grep for /home in /etc/fstab does it match vg00b/lvol5 ? In /etc/fstab is it hfs or vxfs ?
If its hfs, try;
fsck -F hfs -y /dev/vg00b/lvol5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2002 07:26 AM
тАО07-22-2002 07:26 AM
Re: failure to mount directory
do a fsck -y /dev/vg00b/rlvol5
and then
do mount /dev/vg00b/lvol5 /home
it looks that the filesystem was not umounted so it needs to be checked.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2002 07:27 AM
тАО07-22-2002 07:27 AM
Re: failure to mount directory
fstyp on /dev/vg00b/lvol5 returns vxfs
all minor/major numbers look good!
;-(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2002 07:29 AM
тАО07-22-2002 07:29 AM
Re: failure to mount directory
ur typing it wrongly, u type rlvol5 in place of lvol5.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2002 07:32 AM
тАО07-22-2002 07:32 AM
Re: failure to mount directory
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2002 07:33 AM
тАО07-22-2002 07:33 AM
Re: failure to mount directory
Just FYI for others who replied - using /dev/vg00b/rlvol5 is not a problem - its actually faster than using lvol5 ! Read the man page on fsck_vxfs
As for your problem, could either be a patch issue (you got some uptodate LVM/JFS patches installed ?) or to check the filesystem at a lower level try;
dd if=/dev/vg00b/rlvol5 of=/dev/null bs=1024k
And does it return xxx blocks in+out or an I/O error ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2002 07:36 AM
тАО07-22-2002 07:36 AM
Re: failure to mount directory
Here is what I get:
test4:/dev/vg00b> dd if=/dev/vg00b/rlvol5 of=/dev/null bs=1024k
24+0 records in
24+0 records out
test4:/dev/vg00b>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2002 07:42 AM
тАО07-22-2002 07:42 AM
SolutionAha, the dd worked, it read 24MB which should be the size of your /home lvol. Now, the key is your error;
file system is larger than device
Which appears to me is someone has increased the size of the lvol without running extendfs or fsadm on it to match, so if the filesystem doesnt match the size of the lvol you get this error. If you do an lvdisplay /dev/vg00b/lvol5 how big is it ? (I'd have a guess at 20Mb!)
I think your going to need to resize it back to what the filesystem size is from lvdisplay using lvreduce, then fsck it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2002 07:44 AM
тАО07-22-2002 07:44 AM
Re: failure to mount directory
it seems that it is 24mb....
LV Name /dev/vg00b/lvol5
VG Name /dev/vg00b
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 24
Current LE 6
Allocated PE 6
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
do you still think I should reduce the size of lvol5?
Thanks a lot!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2002 07:45 AM
тАО07-22-2002 07:45 AM
Re: failure to mount directory
Regards,
Ceesjan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2002 07:51 AM
тАО07-22-2002 07:51 AM
Re: failure to mount directory
Nope, dont resize it. DD confirms 24MB, as does lvdisplay. Good. The filesystem could still be a different size if someone used fsadm -b to resize it without running lvextend on it. Normally you could try running fsadm -b on it to resize back but this only works on a mounted filesystem and you cant mount yours! I think youre stuck. In cases like this where someone runs fsadm -b to resize or runs lvextend without the other then you next reboot, your dead. You will have to newfs your lvol and recover from backup.
If youre desperate not to recover from backup HP can dialin and run some utils they possess to resize it back manually - but you will need to call HP and persuade them to do this (and have a dialin setup).