- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Cannot mount directory after crash
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
02-26-2006 07:51 PM
02-26-2006 07:51 PM
Cannot mount directory after crash
I have a problem which caused my DS2300 disk to go offline. Not exactly sure what caused it
But I manage to online them and run fsck for the following lvols
/dev/vg01/lvol1
/dev/vg01/lvol2
/dev/vg01/lvol3
which is all in my DS2300 server.
I could mount my directories to lvol1 and lvol2 but when I mount lvol3 I got the following error
# mount /users2
vxfs mount: /dev/vg01/lvol3 no such device
What could be the cause of the problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 07:52 PM
02-26-2006 07:52 PM
Re: Cannot mount directory after crash
Can you send the output of vgdisplay -v vg01
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 08:00 PM
02-26-2006 08:00 PM
Re: Cannot mount directory after crash
Please provide us the outputs of the following commands,
vgdisplay -v vg01
lvdisplay /dev/vg01/lvol3
ll /dev/vg01
regards,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 08:07 PM
02-26-2006 08:07 PM
Re: Cannot mount directory after crash
Attached is the output
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 08:10 PM
02-26-2006 08:10 PM
Re: Cannot mount directory after crash
Try
fsck -F vxfs /dev/vg01/rlvol3
mount /dev/vg01/lvol1 /users2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 08:13 PM
02-26-2006 08:13 PM
Re: Cannot mount directory after crash
At the bottom is my dmesg results. /users2 seems to be badly affected and the situation seems hopeless. Should I do mkfs_vxfs instead of trying to recover?
vxfs: mesg 055: vx_metaioerr - /dev/vg01/lvol3 file system meta data write error
vxfs: mesg 056: vx_dataioerr - /dev/vg01/lvol1 file system file data read error
vxfs: mesg 008: vx_direrr - /users2 file system inode 22 block 64323 error 22
vxfs: mesg 008: vx_direrr - /users2 file system inode 22 block 64323 error 22
vxfs: mesg 008: vx_direrr - /users2 file system inode 22 block 64323 error 22
vxfs: mesg 008: vx_direrr - /users2 file system inode 22 block 64323 error 22
vxfs: mesg 008: vx_direrr - /users2 file system inode 22 block 64323 error 22
vxfs: mesg 008: vx_direrr - /users2 file system inode 22 block 64323 error 22
vxfs: mesg 008: vx_direrr - /users2 file system inode 22 block 64323 error 22
vxfs: mesg 031: vx_disable - /dev/vg01/lvol3 file system disabled
vxfs: mesg 031: vx_disable - /dev/vg01/lvol1 file system disabled
vxfs: mesg 049: vx_esum_bad - /dev/vg01/lvol2 file system extent allocation unit summary number 5 marked bad
---------------- End of dmesg ------------
If my fstab entry for /users2 is as follows..
/dev/vg01/lvol3 /users2 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
should my newfs command be
# newfs -F vxfs -o largefiles /dev/vg01/lvol3
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 08:21 PM
02-26-2006 08:21 PM
Re: Cannot mount directory after crash
lvol3 is striped on two disk.
Try the following
fsck -F vxfs -o full /dev/vg01/lvol1
or
restart your DS2300 it the fsck doesn't solve your problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 08:21 PM
02-26-2006 08:21 PM
Re: Cannot mount directory after crash
If you issue newfs, you are at the risk of loosing the data in that volume, why don't you check fsck , once again, before taking such a drastic step.
Regards,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 08:41 PM
02-26-2006 08:41 PM
Re: Cannot mount directory after crash
full fsck not much of a help.
# fsck -F vxfs -o full /dev/vg01/rlvol3
log replay in progress
pass0 - checking structural files
pass1 - checking inode sanity and blocks
pass2 - checking directory linkage
warning - no lost+found directory for fileset 999
pass3 - checking reference counts
pass4 - checking resource maps
OK to clear log? (ynq)y
set state to CLEAN? (ynq)y
# pwd
/
# mount /users2
vxfs mount: /dev/vg01/lvol3 no such device
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 08:43 PM
02-26-2006 08:43 PM
Re: Cannot mount directory after crash
Try also mount /dev/vg01/lvol3 /users2 please.
Perhaps here might be an error in your fstab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 08:49 PM
02-26-2006 08:49 PM
Re: Cannot mount directory after crash
As luk suggested ,if "mount /dev/vg01/lvol3 /users2 " does not work, your command for newfs is good to go. I hope you have the backup of the data. Because, for obvious reasons, u will have to perform a restore operation after "newfs".
Regards,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 08:55 PM
02-26-2006 08:55 PM
Re: Cannot mount directory after crash
The error at dmesg clearly indicated a disk i/o error and disabling of the LVOLs. Now your problem is that other two are activating and this one still not. Can you try deactivating and activating the VG and see if it activates the LVOL. But for now atleast the LVOL seems OK and once it is available you should be able to find all data intact.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 08:59 PM
02-26-2006 08:59 PM
Re: Cannot mount directory after crash
Devendran has a valid suggestion , I think it might work out, first try as he suggests.
Regards,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 09:05 PM
02-26-2006 09:05 PM
Re: Cannot mount directory after crash
as per devender, the commands to try are,
vgchange -a n vg01
vgchange -a y vg01
now try mounting /dev/vg01/lvol3
regards,
Senthil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2006 12:47 PM
02-27-2006 12:47 PM
Re: Cannot mount directory after crash
I have done a mkfs and recover the data from a backup
I like to know the cause of my disk going offline. Strange thing is that there are no amber light on my disks
I am starting a new thread for this..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2006 12:49 PM
02-27-2006 12:49 PM