1837176 Members
2635 Online
110113 Solutions
New Discussion

File system recovery

 
SOLVED
Go to solution
Rumen Ginev
Frequent Advisor

File system recovery

After a system (9000/HPUX10.20) crash, in single user mode fsck returns "CAN'T READ BLOCK ...." and terminates without repairing the file system.
I tried to use alternate superblock from file /var/adm/sbtab:
# fsck -b block_num /dev/vgxx/rlvolx
The result was the same.
Is there a way to recover the file system.
2 REPLIES 2
CHRIS_ANORUO
Honored Contributor

Re: File system recovery

Reboot the system and interupt the boot process.
Through ISL prompt use the command "hpux -lm" (ie maintenance mode)
run fsck manually.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
Andy Monks
Honored Contributor
Solution

Re: File system recovery

can't read block messages are usual defective media.

depending on whether it's hfs or jfs, hfs supports the '-f' option. You could mount it with that and then attempt to backup your data (don't run live with it). Then once backed up, replace the disk