- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- fsck fail
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
12-28-2010 02:36 AM
12-28-2010 02:36 AM
Hello
When trying to run the fsck it finally bring the message: cannot red blk 212080.
It seems that Vol 19 is crushed.
The OS is up but without the normal GUI (like init 3).
Please see the attached rc.log file.
Please advice.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2010 03:00 AM
12-28-2010 03:00 AM
Re: fsck fail
I think, it is /usr file system.
If any application running, please stop and unmount /usr . Otherwise, boot into single user mode ( this is safe option ) and do fscsk on /usr
fsck -F vxfs -o full
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2010 03:41 AM
12-28-2010 03:41 AM
Re: fsck fail
Thanks for the reply,
I rebooted the system into Singel mode.
When I tried to umount /dev/vg00/lvol19, it says that /dev/vg00/lvol19 cannot find in /etc/mnttab.
Should I run the fsck -F vxfs -o anyway ?
BR,
Yaron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2010 03:46 AM
12-28-2010 03:46 AM
Re: fsck fail
You may have to give full path.
/sbin/fsck -F vxfs -o full
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2010 04:04 AM
12-28-2010 04:04 AM
Re: fsck fail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2010 04:18 AM
12-28-2010 04:18 AM
Re: fsck fail
Vxfs there is the type of filesystem that is being mentioned at the time of execution of fsck and an lvol19 will not be mounted in runlevel s. Yes the logical volume that is corrupted should be mentioned as the argument on the execution of fsck.
Regards
Ismail Azad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2010 04:42 AM
12-28-2010 04:42 AM
Re: fsck fail
I tried:
/sbin/fsck -F vxfs -o full /dev/vg00/lvol19
received:
fsck vxfs cannot stat /dev/vg00/lvol19
What does it mean?
Thanks,
Yaron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2010 06:10 AM
12-28-2010 06:10 AM
Re: fsck fail
Are you using the raw/character device?
>Shibin: I think, it is /usr file system.
It seems to be /var/?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2010 06:37 AM
12-28-2010 06:37 AM
Solution---from the attachment:---
mount: /dev/vg00/lvol9 needs to be fsck'ed before mounting
----end----
Depending on the font used on your display, the second lowercase L in default-style LV names (pattern "lvolN", N = number) can be easy to confuse with number 1.
You aren't the first to make this mistake, and probably won't be the last one either.
Based on the error messages in your attached rc.log, looks like your /dev/vg00/lvol9 probably contains your /var. As a result of the failed mount, several system daemons have failed to start.
You also have an exportfs error message about /scc: is this symlinked to some sub-directory within your /var? If not, this might be a separate issue.
If /scc does not exist at all, it might be a remnant of some old configuration: while the /scc directory may have been removed, /etc/exports seems to still refer to it.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2010 09:32 PM
12-28-2010 09:32 PM
Re: fsck fail
bdf /dev/vg00/lvol19 ?
If mounted, then need to unmount it first, then do fsck.
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2010 01:22 AM
12-29-2010 01:22 AM
Re: fsck fail
Thank you for the correction. Indeed, it is
LVOL9 and not LVO19.
I could not find /scc and /dev/vg00/lvol9 as well.
I checked the mount to /dev/vg00/lvol9 and it says that its not in /etc/mnttab
bdf check olso indicates that /dev/vg00/lvol9 does not exist.
/etc/exports shows:
/scc -annon = 0
/disk2/scc = 65534
I compared with Other HP machine and it shows that /dev/vg00/lvol9 is mounted to /scc and
/etc/exports shows
/scc -annon = 65534
/disk2/scc = 65534
Please note that /scc is necessary for work.
Please advice.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2010 03:17 AM
12-29-2010 03:17 AM
Re: fsck fail
This command will try to fix LVOL 9, accessing it in raw mode. For this command, the VG must be activated, but the LVOL must be unmounted. If I understood correctly, that's exactly the situation you have now.
/sbin/fsck -F vxfs -o full /dev/vg00/rlvol9
If the filesystem check is successful, you should be able to mount the LVOL 9 filesystem after that:
mount /dev/vg00/lvol9
If this is successful too, it should be possible to reboot (with the command "shutdown -r now") and have your system start up normally again.
The original error message (cannot read block ...) suggests your disk may have already failed partially and may soon fail completely. If you don't have a backup of the system, make one as soon as possible.
(I hope you *do* have a backup: some files may already have been lost or damaged)
If you have a support agreement with HP, open a support call for disk replacement, let the HP engineer fix it and ask him/her how to proceed.
If you don't have a support agreement, please read this HP document called "When Good Disks go Bad: dealing with disk failures under LVM":
http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c01911837/c01911837.pdf
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2010 05:46 AM
12-29-2010 05:46 AM
Re: fsck fail
Any idea how to search for the vol?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2010 05:54 AM
12-29-2010 05:54 AM
Re: fsck fail
What error did you get?
>Any idea how to search for the vol?
What do these show:
ls -l /dev/vg00/lvol9
/sbin/lssf /dev/vg00/lvol9
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2010 06:01 AM
12-29-2010 06:01 AM
Re: fsck fail
vxfs fsck: cannot stat /dev/vg00/rlvol9
ls -l /dev/vg00/lvol9 shows:
/dev/vg00/lvol9 not found
/sbin/lssf /dev/vg00/lvol9 shows:
lssf: no shuch file or directory /dev/vg00/lvol9
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2010 07:00 PM
12-29-2010 07:00 PM
Re: fsck fail
vgdisplay -v vg00
If it is too long, please DO NOT copy paste here; but attach.
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2011 11:19 PM
01-04-2011 11:19 PM
Re: fsck fail
Sorry for the delay but I was out of the office.
I attached 2 files:
LVOL_check - is the vgdisplay -v vg00 resault of the "demaged" computer
and
LVOL_check_OK - is the vgdisplay -v vg00 command resault of other "good" computer(an HP similar machine that does not suffer from disk problem).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2011 11:22 PM
01-04-2011 11:22 PM
Re: fsck fail
I can see that only one file canbe attached at a time. so here is the second one (LVOL_check_OK)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2011 07:21 AM
01-05-2011 07:21 AM
Re: fsck fail
Yes, unless you tar and/or zip the files.
(If you zip, make sure the suffix is .Zip.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2011 11:52 PM
01-08-2011 11:52 PM
Re: fsck fail
In my poor opinion, I should recreate the lost Volume - (Vol19).
1. How can I do that?
2. How can I restore the lost information? (I think the information is still there, somewhere, I need to check for it).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2011 11:20 PM
01-23-2011 11:20 PM
Re: fsck fail
I am still waitting for help regarding my problem. I will be glad to have a solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2011 11:32 PM
01-23-2011 11:32 PM
Re: fsck fail
LV Name /dev/vg00/lvol9
LV Status available/syncd
LV Size (Mbytes) 4500
Current LE 1125
Allocated PE 1125
Used PV 1
Please post the output of bdf /dev/vg00/lvol9
and lvdisplay /dev/vg00/lvol9
Have you tried to do fsck on this LV in single user mode ?
First try to do fsck and fix the issue. Otherwise, restore from ignite. If you have good ignite backup, you may restore from that.
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2011 12:51 AM
01-24-2011 12:51 AM
Re: fsck fail
# lvdispay /dev/vg00/lvol9
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol9 960725 328509 536143 38%
# lvdisplay /dev/vg00/lvol9
--- Logical volumes ---
LV Name /dev/vg00/lvol9
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 1000
Current LE 250
Allocated PE 250
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
How do I make this check - fsck on this LV in single user mode ? Please specify exactly what command should I ran.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2011 01:08 AM
01-24-2011 01:08 AM
Re: fsck fail
ISL> hpux -is
Once booted into single user mode, mount /usr then do fsck to your lvol9. You may have to give full path of fsck.
/sbin/fsck -F vxfs -o full -y /dev/vg00/lvol9
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2011 01:10 AM
01-24-2011 01:10 AM
Re: fsck fail
please put the bdf output.
have tried with full path of fsck (/usr/sbin/fsck) command?