home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / aix / 12620 < prev    next >
Encoding:
Text File  |  1992-12-16  |  2.2 KB  |  42 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!geraldo.cc.utexas.edu!portal.austin.ibm.com!awdprime.austin.ibm.com!mathew.austin.ibm.com!accapadi
  3. From: accapadi@mathew.austin.ibm.com (Matt Accapadi)
  4. Subject: Re: cannot unmount /usr to run fsck
  5. Sender: news@austin.ibm.com (News id)
  6. Message-ID: <BzDJoz.qzw@austin.ibm.com>
  7. Date: Wed, 16 Dec 1992 22:55:47 GMT
  8. References: <MONIOT.92Dec15173903@dsm.dsm.fordham.edu>
  9. Organization: IBM, Austin
  10. Lines: 30
  11.  
  12. In article <MONIOT.92Dec15173903@dsm.dsm.fordham.edu> moniot@dsm.dsm.fordham.edu (Robert Moniot) writes:
  13. >We are running AIX 3.2.2. I would like to use fsck to fix some
  14. >problems with the /usr partition.  Of course, /usr has to be unmounted
  15. >in order for fsck to make changes.  But /usr cannot be unmounted
  16. >because /bin, where ksh (root's shell) is, has been symbolically
  17. >linked to /usr/bin.  Also /etc/fsck has been symbolically linked to
  18. >/usr/sbin/fsck.  The only fix I can see is to (a) copy /bin/ksh to
  19. >someplace in the root partition, and change root's SHELL to be the
  20. >copy, and (b) copy /etc/fsck there also.  Then when running in
  21. >maintenance mode, hopefully /usr will not be busy and can be
  22. >unmounted.
  23.  
  24. When you boot from the boot/maintenance diskettes and enter maintenance
  25. mode, enter "getrootfs hdisk0 sh" instead of "getrootfs hdisk0" where
  26. hdisk0 is the name of the boot disk.  Then run "fsck /dev/hd2".
  27.  
  28. >Before I do this, I'd like to know if anyone else has solved this
  29. >problem, and (flame on) am I jumping to conclusions or is it
  30. >brain-damaged for IBM to set the filesystems up this way? (flame off)
  31.  
  32. I think the reason all these files were moved to /usr was so that all 
  33. these files could be mounted from a remote machine.  For example, you 
  34. could have a diskless machine or a disk-full machine mount /usr from
  35. a remote machine to save space.  For compatibility sakes (ie. shell scripts
  36. with a #!/bin/ksh at the top), these files are also linked to /bin or whatever.
  37. -- 
  38. Matt Accapadi                            Internet: accapadi@austin.ibm.com
  39. IBM AWD AIX System Performance           VNET:  ACCAPADI at AUSTIN
  40. 11400 Burnet Rd. Bld. 906/9632           yaknet: 512-838-3193  Tie 678-3193
  41. Austin, TX 78758-3493                    fax: 512-838-8344
  42.