Operating System - HP-UX
1833704 Members
3288 Online
110062 Solutions
New Discussion

Directory turned into a file

 
L. Younes
Occasional Advisor

Directory turned into a file

Hi,

I'm sorry to be asking this here, but I need all the help I can get, and at Sun's Forum nobody replied. I'm sure there is some Solaris experts among you.

After a Solaris 7 system reboot, a whole directory tree turned into a single file, with the size of the previous tree.

Is there a way to regain my directory tree ?
fsck doesn't report anything!

Thanks a lot !
3 REPLIES 3
harry d brown jr
Honored Contributor

Re: Directory turned into a file

Sounds like a superblock got clobbered and fsck probably just made the whole damn thing a file.

The fix is: restore from tape.

You really need to upgrade (cold install) to Solaris 9.

Have you looked into "Veritas" as a filesystem manager products, similar to JFS and LVM?

live free or die
harry
Live Free or Die
Robert-Jan Goossens
Honored Contributor

Re: Directory turned into a file

Hi,

You could check lost+found directory, else restoring from backup is the only option.

And YES veritas volume manager is great !!!!!!!!

Kind regards,

Robert-Jan.

Ps. I'l take a look at SunSolve if i can find something.
L. Younes
Occasional Advisor

Re: Directory turned into a file

Thank you for your answers,
we cannot upgrade to solaris 9 because we compile for clients that have solaris 7.

I agree about Veritas !

I'll try the tape restore
option.

Thanks !