home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / ultrix / 6403 < prev    next >
Encoding:
Internet Message Format  |  1992-08-21  |  1.7 KB

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