home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- 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
- From: accapadi@mathew.austin.ibm.com (Matt Accapadi)
- Subject: Re: cannot unmount /usr to run fsck
- Sender: news@austin.ibm.com (News id)
- Message-ID: <BzDJoz.qzw@austin.ibm.com>
- Date: Wed, 16 Dec 1992 22:55:47 GMT
- References: <MONIOT.92Dec15173903@dsm.dsm.fordham.edu>
- Organization: IBM, Austin
- Lines: 30
-
- In article <MONIOT.92Dec15173903@dsm.dsm.fordham.edu> moniot@dsm.dsm.fordham.edu (Robert Moniot) writes:
- >We are running AIX 3.2.2. I would like to use fsck to fix some
- >problems with the /usr partition. Of course, /usr has to be unmounted
- >in order for fsck to make changes. But /usr cannot be unmounted
- >because /bin, where ksh (root's shell) is, has been symbolically
- >linked to /usr/bin. Also /etc/fsck has been symbolically linked to
- >/usr/sbin/fsck. The only fix I can see is to (a) copy /bin/ksh to
- >someplace in the root partition, and change root's SHELL to be the
- >copy, and (b) copy /etc/fsck there also. Then when running in
- >maintenance mode, hopefully /usr will not be busy and can be
- >unmounted.
-
- When you boot from the boot/maintenance diskettes and enter maintenance
- mode, enter "getrootfs hdisk0 sh" instead of "getrootfs hdisk0" where
- hdisk0 is the name of the boot disk. Then run "fsck /dev/hd2".
-
- >Before I do this, I'd like to know if anyone else has solved this
- >problem, and (flame on) am I jumping to conclusions or is it
- >brain-damaged for IBM to set the filesystems up this way? (flame off)
-
- I think the reason all these files were moved to /usr was so that all
- these files could be mounted from a remote machine. For example, you
- could have a diskless machine or a disk-full machine mount /usr from
- a remote machine to save space. For compatibility sakes (ie. shell scripts
- with a #!/bin/ksh at the top), these files are also linked to /bin or whatever.
- --
- Matt Accapadi Internet: accapadi@austin.ibm.com
- IBM AWD AIX System Performance VNET: ACCAPADI at AUSTIN
- 11400 Burnet Rd. Bld. 906/9632 yaknet: 512-838-3193 Tie 678-3193
- Austin, TX 78758-3493 fax: 512-838-8344
-