I'm not sure what happened exactly, but upon rebooting an HP-UX 11i
system (785/B2600) just now, the system is telling me that the HFS disk
located at /dev/rdsk/c2t5d0 cannot be mounted, because fsck is saying
it's not an HFS disk. Running fsck manually, I'm told:
BAD SUPER BLOCK: MAGIC NUMBER WRONG
USE -b OPTION TO FSCK TO SPECIFY LOCATION OF AN ALTERNATE
SUPER-BLOCK TO SUPPLY NEEDED INFORMATION; SEE fsck(1M)
Checking /var/adm/sbtab I find no listing for this disk.
The man page for fsck tells me an alternate superblock is usually
located at block 16, but fsck -b 16 -F hfs /dev/rdsk/c2t5d0 doesn't
The disk in question contains ALL my local applications and users home
directories. (Yikes!) Ironically, I shut the system down and rebooted
in order to add an external SCSI disk which I was planning to use for
backups (since I've been living dangerously until now, and have
apparently just paid the price!) I have another ~identical system that
I use as a sort of mirror, but I only copy files (as a way of doing
backups) between the two manually (not many users, luckily). Looking at
that system's /var/adm/sbtab file I find all the data for the
counterpart to the HFS disk in question, but those superblock numbers
don't work with fsck either.
I have a feeling that I may have screwed up this disk when I accidently
overwrite some files in /etc a few days ago, in particular some of the
/etc/*tab files, which I had inadvertently copied from the counterpart
system. I really don't know what I'm talking about here, but I wonder if
overwriting mnttab and then shutting the system down just now somehow
did bad things to this HFS disk?
Anyway, from what I can tell the 'fsdb' program might be able to fix
things, but the man page warns that this is for experienced users (i.e.,
So does anyone out there know how to fix this disk? Please???