1833124 Members
3038 Online
110051 Solutions
New Discussion

Restore File System

 
Amit Mehra_1
Occasional Advisor

Restore File System

i all,

I am just asking a question out of the way ! coz this is very
urgent.My problem is that i have a motorola system V running Unix and
i am unable to boot it.
To my surprise when i booted it from a Tape and probed the file
systems on the unbootable they were
o.k , but the root slice was not proper , and fsck didn't help out
!!! it says that the root slice has missing "."
on it , Now is there a way to restore the missing "."
entry on the root slice !!!! any takers ??

Tried most of 'em (mkfs with N and then fsck with secondary super block) but the problem is same , although the disk contains
all the file systems intact eg. /stand ,
/usr /etc ....all


Pls Let me know at ur earliest !!!
my mail id : santoshk@iin.com
Thanks,
Santosh

Hope is a good thing, Maybe not the best of all things but all good things never die
2 REPLIES 2
Trond Haugen
Honored Contributor

Re: Restore File System

This isn't the right place for that kind of system but I guess you already know that.
I don't know the answer to your question but "." is "current directory" so it seems some vial part of the filesystem is missing. Not knowing how that filesystem works I can only guess that the "/ i-node" has gone bad.

Regards,
Trond
Regards,
Trond Haugen
LinkedIn
Sandip Ghosh
Honored Contributor

Re: Restore File System

I think you have some problem in the main superblock of your root filesystem. Look at the /var/adm/stab file for the alternate super block No. and then run fsck with alternate block No.

#fsck -b

On HP-UX Alternate blocks are
16, 2504, 4992, 7480, 9968, 12456, 14944, 17432, 19728, 22216,

24704, 27192, 29680, 32168, 34656, 37144, 39440, 41928, 44416, 46904,

49392, 51880, 54368, 56856, 59152, 61640, 64128

Hope this helps.

Sandip
Good Luck!!!