home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / ultrix / 8160 < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.8 KB  |  48 lines

  1. Newsgroups: comp.unix.ultrix
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!stein.u.washington.edu!aklee
  3. From: aklee@stein.u.washington.edu (A. K. Lee)
  4. Subject: Ultrix 4.2a crashed, PLEASE HELP!!!
  5. Message-ID: <1992Nov8.005234.837@u.washington.edu>
  6. Sender: news@u.washington.edu (USENET News System)
  7. Organization: University of Washington, Seattle
  8. Date: Sun, 8 Nov 1992 00:52:34 GMT
  9. Lines: 37
  10.  
  11. Hi, dear ultrix experts,
  12.  
  13.    I am new to the unix system administaration. For the past 2 weeks,
  14. I have been working on setting up a DECstation 3100 (RISC) running
  15. Ultrix 4.2A without many problems. Unfortunately, my system crashed
  16. yesterday because my stupidity. I logged in as root and was trying
  17. to move a directory from one disk to another using the following
  18. shell script file (called cpdir).
  19.  
  20.       (cd $1; tar cf - .) | (cd $2; tar xvf - )
  21.  
  22. while in the root directory, I typed 'cpdir' without giving any
  23. parameters and the nightmare starts. After running the above
  24. command, the messages showed on the screen say something like
  25. ...
  26. ...
  27. bin/ls size changed
  28. bin/mkdir size changed
  29. bin/cp size changed
  30. ...
  31. ...
  32.  
  33. I used 'CTRL c' to quit the shell script as soon as I can once I saw
  34. this happended, but the system was damaged. Afterwards, whenever I use
  35. those commands (i.e. ls, mkdir, cp...), I got a 'segment fault' and then
  36. 'core dumped'. I 'shutdown' and turned off the machine and the system
  37. can not be rebooted since then.
  38.  
  39. Can anyone please tell me what I should do to recover the system with
  40. minimum effort? I want to avoid the process of rebuild the whole system
  41. from scratch as possible as I can. BESIDES, I have a lot data in the disk
  42. that I really can't afford to loss.
  43.  
  44. Please help, thank you very very much in advance.
  45.  
  46. aklee
  47.  
  48.