Question about fsck in HP-UX (UNIX)

Broncho

Member
Jan 3, 2002
188
0
0
I need some help and I'm hoping someone out there has the answer. I've got a system up here at work that I help maintain. It is running HP-UX 10.20. Unfortunately the root disc we were using crashed sometime in the past week (i.e the drive is dead as far as I can tell). I'm trying to get a couple of our disks remounted in a previous install of the operating system we had on another drive. When I go into SAM it says I need to run fsck on the drives before they will be mounted. I know fsck checks the file system and repairs it, but does it delete any files or format the disc? I can't find the most recent back up of either drive so I want to make sure that I won't kill the data by running fsck. I would appreciate any help. Thanks!!
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
It doesnt format and shouldnt delete any good data. Check out the man page (you can view many manpages at openbsd.org's online manpage thingy, or several other places online).
 

Broncho

Member
Jan 3, 2002
188
0
0
Thanks n0cmonkey. I read the man page in the operating system (typed man fsck at the command prompt) and it didn't sound like it would do anything destructive, but I wanted to doublecheck with someone else before I did it. Since I'm only in the lab right now to sell off the equipment I didn't have anyone around here to ask and I knew that I could find some help here. Thanks again! :)

edit: Cleared out extra smiley's that mysteriously showed up.