- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Need help: fsck read failure on "/usr" logical vol...
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
01-04-2005 02:30 AM
01-04-2005 02:30 AM
Need help: fsck read failure on "/usr" logical volume
Used "ISL> hpux -is" and ran fsck on all lvols. All were marked clean except for /dev/vg00/lvol7 which mounts /usr.
The error I get is:
vxfs fsck: fsck read failure bno = 1232, off =0, len = 8192
All help on how to recover is appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2005 02:33 AM
01-04-2005 02:33 AM
Re: Need help: fsck read failure on "/usr" logical volume
Have you tried
fsck -o full -y /dev/vg00/lvol7
HTH
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2005 02:38 AM
01-04-2005 02:38 AM
Re: Need help: fsck read failure on "/usr" logical volume
fsck -o full /dev/vg00/lvol7
It completed pass0 and "read failure" error came up during pass1.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2005 02:52 AM
01-04-2005 02:52 AM
Re: Need help: fsck read failure on "/usr" logical volume
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=767880
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2005 03:00 AM
01-04-2005 03:00 AM
Re: Need help: fsck read failure on "/usr" logical volume
pass1 - checking inode sanity and blocks ...
tried to check with dd if=/dev/vg00/rlvol7 of=/dev/null bs=1024k (blocks read test)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2005 03:03 AM
01-04-2005 03:03 AM
Re: Need help: fsck read failure on "/usr" logical volume
again, does it still report the same block#, or is it making progress? You have a small chance it will repair itself, otherwise you will probably need to recreate the logical volume/filesystem and restore the files (assuming you don't have a physical media problem).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2005 03:22 AM
01-04-2005 03:22 AM
Re: Need help: fsck read failure on "/usr" logical volume
Can't run dd because /usr is not mounted.
Only /sbin commands are available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2005 03:29 AM
01-04-2005 03:29 AM
Re: Need help: fsck read failure on "/usr" logical volume
It is always the same block no.
How do I recraete logical volume/file system, please? I am not a sys admin. Your help is greatly appreciated.
I can mount and access data on all other lvols on the physical drive. This is a C3600 workstation with only one 18G hard drive.
Do I need to replace the drive?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2005 06:38 PM
01-04-2005 06:38 PM
Re: Need help: fsck read failure on "/usr" logical volume
Copy dd from another hp-ux (same version) server if you can to /sbin.
The question here is whether the problem with
filesystem or with drive.You can mount /var and
check in /var/adm/syslog/syslog.log (OLDsyslog.log) for error messages on this drive.Many simmilar messages I saw points to disk problem:
http://aa11.cjb.net/hpux_admin/2000/06/0223.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2005 10:10 PM
01-04-2005 10:10 PM
Re: Need help: fsck read failure on "/usr" logical volume
mkfs -m /dev/vg00/lvol7
the -m flag is VERY important. You are not going to actually create a filesystem, you are going to look at the existing filesystem to see how it was created.
You should get back something like this:
mkfs -F vxfs -o ninode=unlimited,bsize=1024,version=4,inosize=256,logsize=1024,nolargefiles /dev/vg00/lvol7 1630208
(all on one line)
IF it gets to the stage where you want to recreate the fileystem, the above reply (your version - not mine!) is the command you should use. Then you need to mount the filesystem as /usr and recover the contents of /usr from your backup media.
But you really need to determine whether the disk itself is faulty first as it may need replacing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2005 12:26 AM
01-05-2005 12:26 AM
Re: Need help: fsck read failure on "/usr" logical volume
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2005 08:33 AM
01-05-2005 08:33 AM
Re: Need help: fsck read failure on "/usr" logical volume
I used /sbin/lvreduce to reduce the size of lvol. This managed to avoid the bad block of the pv. Then I was able to mkfs and load from backup.
Case closed.!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2005 08:34 AM
01-05-2005 08:34 AM