home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!gatech!psuvax1!news.cc.swarthmore.edu!hirai
- From: hirai@cc.swarthmore.edu (Eiji Hirai)
- Newsgroups: comp.unix.ultrix
- Subject: how to recover a lost partition table?
- Message-ID: <3GFPBWG4@cc.swarthmore.edu>
- Date: 21 Aug 92 22:45:46 GMT
- Sender: news@cc.swarthmore.edu (USENET News System)
- Organization: Swarthmore College Computing Center, Swarthmore, PA, USA
- Lines: 27
- Nntp-Posting-Host: gingko
-
- DECstation 5000/200 with Ultrix 4.2
- DECstation 5900 with Ultrix 4.2A
-
- (1) Several times this week, I've done a "shutdown -h now" which
- mysteriously results in the disks NOT being umounted cleanly even though the
- shutdown script says it's sync-ing the disks.
-
- Has this happened to anyone? What am I doing wrong? More imporantly, how
- can I avoid this danger? Should I assume shutdown is stupid and do a "sync ;
- sync ; sync ; shutdown -h now"?
-
- (2) Sometimes, this results in my losing a partition table for a disk. Fsck
- says that there's a backup partition table on block 32 (fsck -b 32) but that
- never works. I end up doing a newfs -N to find out where the other backup
- partition tables are kept and then do a fsck -b using those numbers. Most
- of those numbers don't work at all and it seems by pure luck that the 20th or
- 30th number works. Is this the right way to recover a partition table? Am
- I doing something wrong?
-
- It's sort of frustrating to lose a partition table when all I do is a
- "shutdown -h now". Maybe I'm missing something. Sigh.
-
- --
- Eiji Hirai <hirai@cc.swarthmore.edu> : : : : : :: ::: :::: :::::
- Unix Hacker for Swarthmore College : : : : : :: ::: :::: :::::
- Computing Center, Swarthmore, PA, USA. Copyright 1992 by Eiji Hirai.
- I don't speak for Swarthmore College. All Rights Reserved.
-