- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Recovering a VxFs file system
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
10-25-2005 12:30 AM
10-25-2005 12:30 AM
I have a VxFs file system that looks to be seriously corrupted ans I'm trying to "fsck" it.
Running fsck I get the error: "full file system check required, exiting ...". I tried with the "-o full" (and several others) option but without any result, the filesystem is not checked. I tried using the raw and block special file as well.
Can you help me in discovering how to proceed to recover this file system?
By the way, it is the /dev/vg00/lvol8 hosting the /var mount.
#fsck -F vxfs -o full /dev/vg00/lvol8
log replay in progress
pass0 - checking structural files
pass1 - checking inode sanity and blocks
fileset 999 primary inode 2 root inode is not a directory clear? (ynq)y
root inode for fileset 999 is invalid
full file system check required, exiting ...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 12:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 12:45 AM
10-25-2005 12:45 AM
Re: Recovering a VxFs file system
Considering that is the /var filesystem, it will be really easy restore it from a backup. Re-create the filesystem and restore your last backup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 01:08 AM
10-25-2005 01:08 AM
Re: Recovering a VxFs file system
thank you!
Pete, I tried already. With the "-y" option the fsck exists with the same notification (full file system check required, exiting ...) as it happens when I type the "y" manually (like in the enclosed example). I attached the result below.
Ivan, yep, the file system is unmounted.
It looks really strange. If we won't succeed in recovering we are going to restore from a backup, but we would like to leave this the very last option.
Thank you again!
Diego.
#fsck -F vxfs -y -o full /dev/vg00/lvol8
log replay in progress
pass0 - checking structural files
pass1 - checking inode sanity and blocks
fileset 999 primary inode 2 root inode is not a directory clear? (ynq)y
root inode for fileset 999 is invalid
full file system check required, exiting ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 01:14 AM
10-25-2005 01:14 AM
Re: Recovering a VxFs file system
Could you post your HPUX version please.
regards,
Robert-Jan.
ps 10.20 link with almost the same error.
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062912401
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 01:22 AM
10-25-2005 01:22 AM
Re: Recovering a VxFs file system
yes, you are right. This problem under 10.20 looks very similar to my one.
My Hp-Ux version is B.11.00, installed on a A180C 9000 series A server.
Again, thank you!
Diego.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 01:50 AM
10-25-2005 01:50 AM
Re: Recovering a VxFs file system
you can try to mount this volume with the option -F for force - so you can mount it also system want to fsck first.
(Well, this worked once for me)
HTH
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 03:33 AM
10-25-2005 03:33 AM
Re: Recovering a VxFs file system
unfortunately I couldn't manage to recover the file system, so I recreated it and restored a backup.
Thank you to everyone for your valuable suggestions (10 points to everyone).
Diego.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 08:25 PM
10-25-2005 08:25 PM
Re: Recovering a VxFs file system
I know you have restored filesystem from backup, but just for your information:
fsck should be run over character device so fsck command should look:
#fsck -F vxfs -o full /dev/vg00/rlvol8
^
|
(not lvol8!!!)
This could be a problem.
Best regards
Pawel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 09:01 PM
10-25-2005 09:01 PM
Re: Recovering a VxFs file system
yes, you are right. When I tried to recover the file system, I tried with rlvol8 too but it didn't succeed. I hope do not have damaged the file system attempting to execute the fsck with lvol8 ...
Anyway, file system recreated and backup restored, so the issue is now closed.
Thank you again to everyone!
Diego.