- 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
01-24-2011 03:44 AM
01-24-2011 03:44 AM
Re: fsck fail
but how I can bring the ISL prompt?
ISL> hpux -is
all I'v get is the following prompt:
Service Menu: Enter Command>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2011 04:18 AM
01-24-2011 04:18 AM
Re: fsck fail
Than ran fsck:
isL> /sbin/fsck -F vxfs -o full -y /dev/vg00/lvol0
I'v got:
Invalid super-block
search for auxiliary super-blo? (ynq)y
alternate super-block not found
vxfs fsck: cannot initialize aggregate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2011 05:18 AM
01-24-2011 05:18 AM
Re: fsck fail
I ran /usr/sbin/fsch
# /usr/sbin/fsck
fsck: /dev/vg00/lvol3: root file system
continue (y/n)? y
** /dev/vg00/lvol3
** Last Mounted on /
** Root file system
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
FREE INODE COUNT WRONG IN SUPERBLK
FIX? y
** Phase 5 - Check Cyl groups
8 BLK(S) MISSING
BAD CYLINDER GROUPS
FIX? y
** Phase 6 - Salvage Cylinder Groups
1896 files, 0 icont, 42576 used, 41157 free (557 frags, 5075 blocks)
***** MARKING FILE SYSTEM CLEAN *****
***** FILE SYSTEM WAS MODIFIED *****
***** REBOOT HP-UX; DO NOT SYNC (USE reboot -n) *****
vxfs fsck: /dev/vg01/lvol1 is currently mounted
Please advice.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2011 10:16 PM
01-24-2011 10:16 PM
Re: fsck fail
Could you please repeat the fsck on /dev/vg00/lvol9 similarly as you done on lvol3 ? After that reboot the server as mentioned ( reboot -n )
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2011 10:38 PM
01-24-2011 10:38 PM
Re: fsck fail
Should I run the following command in order to repeat the fsck to lvol9?
/dev/vg00/lvol9/fsck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2011 10:53 PM
01-24-2011 10:53 PM
Re: fsck fail
/usr/sbin/fsck -o full -y /dev/vg00/lvol9
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2011 10:59 PM
01-24-2011 10:59 PM
Re: fsck fail
fsck /dev/vg00/lvol9
Received:
# fsck /dev/vg00/lvol9/
fsck: /etc/default/fs is used for determining the file system type
** /dev/vg00/lvol9/
** Last Mounted on /var
** Phase 1 - Check Blocks and Sizes
CANNOT READ: BLK 212080
CONTINUE? Yes
CANNOT READ: BLK 212080
CONTINUE? YES
CANNOT READ: BLK 212080
CONTINUE? YES
FAILED READ OF BLOCK #212080, RETRIED 2 TIMES
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
SUMMARY INFORMATION (INODE FREE) BAD
BAD CYLINDER GROUPS
FIX? y
** Phase 6 - Salvage Cylinder Groups
17884 files, 0 icont, 328509 used, 632216 free (7096 frags, 78140 blocks)
DISK MEDIA PROBLEMS ENCOUNTERED!
BAD BLOCKS WERE FOUND ON THE DISK.
***** FILE SYSTEM IS NOT CLEAN -- DISK MEDIA PROBLEMS ENCOUNTERED *****
***** FILE SYSTEM WAS MODIFIED *****
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2011 11:09 PM
01-24-2011 11:09 PM
Re: fsck fail
/usr/sbin/fsck -o full -y /dev/vg00/lvol9
It says:
fsck: illegal option --o
(It is the "o" letter or did you mean to "0" - zero?)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2011 11:17 PM
01-24-2011 11:17 PM
Re: fsck fail
DISK MEDIA PROBLEMS ENCOUNTERED!
BAD BLOCKS WERE FOUND ON THE DISK.
***** FILE SYSTEM IS NOT CLEAN -- DISK MEDIA PROBLEMS ENCOUNTERED *****
you may try to mount the lovol9 .. if it is mounted, you lucky otherwise, it is still having problem.
I think, you need to repeat fsck to fix that issue.
It was letter"o" not digit "0". If you have similar version of HP-UX machine available, read man page of fsck to get options.
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2011 11:51 PM
01-24-2011 11:51 PM
Re: fsck fail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2011 12:51 AM
01-25-2011 12:51 AM
Re: fsck fail
fsck -o full -y /dev/vg00/lvol9
After that, you try to mount lvol9
mount -F vxfs /dev/vg00/lvol9 /var
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2011 01:57 AM
01-25-2011 01:57 AM
Re: fsck fail
isL> /sbin/fsck -F vxfs -o full -y /dev/vg00/lvol0
I'v got:
Invalid super-block
search for auxiliary super-blo? (ynq)y
alternate super-block not found
vxfs fsck: cannot initialize aggregate.
Then I tried to mount as per your offer:
mount -F vxfs/dev/vg00/lvol9 /var
and it says that
vxfs mount: /dev/vg00/lvol9 is not a vxfs file system.
Please advice.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2011 02:10 AM
01-25-2011 02:10 AM
Re: fsck fail
just try to mount as below and see what is the result,
mount /dev/vg00/lvol9 /var
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2011 02:12 AM
01-25-2011 02:12 AM
Re: fsck fail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2011 03:54 AM
01-25-2011 03:54 AM
Re: fsck fail
mount /dev/vg00/lvol9 /var says that it need to be fsck'ed first.
I attached the /etc/fstab file. (I think it looks ok accept, I don't see the HP machine called hmb3. all other HP machine marke # are there).
I also checked the /etc/mntab and lvol9 wasn't there:
/dev/vg00/lvol3 / hfs defaults 0 1 1295955254
/dev/vg00/lvol1 /stand hfs defaults 0 0 1295955256
/dev/vg00/lvol8 /usr hfs defaults 0 0 1295955654
/dev/vg00/lvol7 /tmp hfs defaults 0 0 1295955655
/dev/vg00/lvol5 /opt hfs defaults 0 0 1295955655
/dev/vg00/lvol4 /home hfs defaults 0 0 1295955655
/dev/vg01/lvol1 /disk2 vxfs delaylog,nodatainlog 0 0 1295955655
hmb3:(pid672) /net ignore ro,intr,port=847,map=-hosts,indirect,dev=0000 0 0 1295955685
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2011 09:52 AM
01-25-2011 09:52 AM
Re: fsck fail
As per your fstab output /var is a hfs so try below commands,
/sbin/fsck -F hfs /dev/vg00/lvol9
(go through the fsck man page for other options you may use)
after completion try to mount lvol9
mount /dev/vg00/lvol9
or,
mount -F hfs /dev/vg00/lvol9 /var
Hope it will resolve your issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2011 10:46 PM
01-25-2011 10:46 PM
Re: fsck fail
Should I do it on a single user mode (run level S) or it does not metter?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2011 11:54 PM
01-25-2011 11:54 PM
Re: fsck fail
If you are already past single user mode, it doesn't matter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2011 12:13 AM
01-26-2011 12:13 AM
Re: fsck fail
I ran:
/sbin/fsck -F hfs /dev/vg00/lvol9
Received again the same:
# fsck /dev/vg00/lvol9/
fsck: /etc/default/fs is used for determining the file system type
** /dev/vg00/lvol9/
** Last Mounted on /var
** Phase 1 - Check Blocks and Sizes
CANNOT READ: BLK 212080
CONTINUE? Yes
CANNOT READ: BLK 212080
CONTINUE? YES
CANNOT READ: BLK 212080
CONTINUE? YES
FAILED READ OF BLOCK #212080, RETRIED 2 TIMES
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
SUMMARY INFORMATION (INODE FREE) BAD
BAD CYLINDER GROUPS
FIX? y
** Phase 6 - Salvage Cylinder Groups
17884 files, 0 icont, 328509 used, 632216 free (7096 frags, 78140 blocks)
DISK MEDIA PROBLEMS ENCOUNTERED!
BAD BLOCKS WERE FOUND ON THE DISK.
***** FILE SYSTEM IS NOT CLEAN -- DISK MEDIA PROBLEMS ENCOUNTERED *****
***** FILE SYSTEM WAS MODIFIED *****
Then I treid to
mount -F hfs /dev/vgoo/lvol9 /var
and I been told again to run the fsck first...
Any idea?
Can you point out the problem?
I mean-what excatly is the problem (volume crush? block demege? other?)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2011 01:32 AM
01-26-2011 01:32 AM
Re: fsck fail
>mount -F hfs /dev/vgoo/lvol9 /var
You can only mount it read only. Your disk is junk and must be replaced.
>Can you point out the problem?
As it said:
CANNOT READ: BLK 212080
DISK MEDIA PROBLEMS ENCOUNTERED!
BAD BLOCKS WERE FOUND ON THE DISK.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2011 01:43 AM
01-26-2011 01:43 AM
Re: fsck fail
The rest lvol are fine. Consider that, should I replace phisically the whole disk or can I fix onlt the dammaged volume?
Bye the way, we can do the usual work on this HP station.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2011 02:03 AM
01-26-2011 02:03 AM
Re: fsck fail
You can only replace entire physical disks.
>we can do the usual work
And you don't need /var/? I suppose you are using space under /.
If so, you have lost your IPD and you can't install patches. /var/adm/sw/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2011 04:09 AM
01-26-2011 04:09 AM
Re: fsck fail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2011 07:56 AM
01-26-2011 07:56 AM
Re: fsck fail
please replace the entire disk. which is the best solution.
so many people has helped you in this regard so don't forget to assign them points.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2011 10:35 PM
01-26-2011 10:35 PM
Re: fsck fail
The solutin is pretty diapointed - but nothing alse to do :)
I put the points for each one of you (I dont know if I need to do it as per answer)
BR,
Yaron
- « Previous
-
- 1
- 2
- Next »