* /usr partition busy at shutdown...
@ 1997-01-16 21:03 Shane Anderson
0 siblings, 0 replies; 5+ messages in thread
From: Shane Anderson @ 1997-01-16 21:03 UTC (permalink / raw)
You've all seen the messages from quite a few people complaining that
the /usr partition is busy at shutdown and cannot be umounted... I
have that same problem and am curious if there's a know solution.
I've shutdown to single user and killed all the processes by hand,
but it still shows up as busy when I 'halt' so I'm guessing that it's
somewheres in the scripts that it runs/uses something from /usr/bin
or /usr/*something*... Any solutions?
=Shane Anderson===========Nonvolatile Electronics, Inc.===
E-Mail: shane@nve.com Work Phone: (612) 996-1618
====================================http://www.nve.com/===
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: /usr partition busy at shutdown...
@ 1997-01-23 3:20 Christos Derventzis
0 siblings, 0 replies; 5+ messages in thread
From: Christos Derventzis @ 1997-01-23 3:20 UTC (permalink / raw)
On Thu, 16 Jan 1997 16:03:04 -0500 Shane Anderson wrote:
>
> You've all seen the messages from quite a few people complaining that
> the /usr partition is busy at shutdown and cannot be umounted... I
> have that same problem and am curious if there's a know solution.
> I've shutdown to single user and killed all the processes by hand,
> but it still shows up as busy when I 'halt' so I'm guessing that it's
> somewheres in the scripts that it runs/uses something from /usr/bin
> or /usr/*something*... Any solutions?
>
> =Shane Anderson===========Nonvolatile Electronics, Inc.===
> E-Mail: shane@nve.com Work Phone: (612) 996-1618
> ====================================http://www.nve.com/===
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
We have the same problem as well with Red Hat 4.0 on a PC164 Alpha
board, where the /usr partition (hda5 in our case) does not unmount
and consequently a check is forced at every boot up, which is actually
time consuming and annoying. Does have any idea why the system might
think there is something using /usr or why the system cannot kill all
processes sucessfully at shutdown?
Chris Derventzis
Millenium 3 Concepts
cderv@interlog.com
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: /usr partition busy at shutdown...
[not found] <32E6D8FB.B44EBFA@interlog.com>
@ 1997-01-23 14:56 ` Kevin Osowski
0 siblings, 0 replies; 5+ messages in thread
From: Kevin Osowski @ 1997-01-23 14:56 UTC (permalink / raw)
I have this problem too, and I seemed to have solved it by not unmounting
the /usr partition when I reboot, but instead remount it readonly.
in file: /etc/rc.d/init.d/halt
mount -o remount,ro /usr instead of umount -a
I only have one drive mounted besides the / partition so I can just get
rid of umount -a in the shutdown script, if you have more than /usr
mounted then of course you cannot get rid of umount -a because the other
partitons need to be unmounted.
The next line in the script is usually
mount -n -o remount,ro /
where you are remounting / as readonly since it can never be unmounted.
It looks like it is working for me, I would be curious as to what others
think of this idea. I'm pretty sure this is safe and doesn't corrupt
files or anything otherwise I would see the error when rebooting and I
don't. This doesn't solve the mystery of why you cannot simply unmount
/usr, but it fixes the long fsck :)
kevin
>
> We have the same problem as well with Red Hat 4.0 on a PC164 Alpha
> board, where the /usr partition (hda5 in our case) does not unmount
> and consequently a check is forced at every boot up, which is actually
> time consuming and annoying. Does have any idea why the system might
> think there is something using /usr or why the system cannot kill all
> processes sucessfully at shutdown?
>
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: /usr partition busy at shutdown...
@ 1997-01-23 15:22 Shane Anderson
0 siblings, 0 replies; 5+ messages in thread
From: Shane Anderson @ 1997-01-23 15:22 UTC (permalink / raw)
On 22 Jan 97 at 22:20, axp-list@redhat.com wrote:
> On Thu, 16 Jan 1997 16:03:04 -0500 Shane Anderson wrote:
> >
> > You've all seen the messages from quite a few people complaining that
> > the /usr partition is busy at shutdown and cannot be umounted... I
> > have that same problem and am curious if there's a know solution.
> > I've shutdown to single user and killed all the processes by hand,
> > but it still shows up as busy when I 'halt' so I'm guessing that it's
> > somewheres in the scripts that it runs/uses something from /usr/bin
> > or /usr/*something*... Any solutions?
>
> We have the same problem as well with Red Hat 4.0 on a PC164 Alpha
> board, where the /usr partition (hda5 in our case) does not unmount
> and consequently a check is forced at every boot up, which is actually
> time consuming and annoying. Does have any idea why the system might
> think there is something using /usr or why the system cannot kill all
> processes sucessfully at shutdown?
Well, here's the solutions I've seen so far:
From Matthew X. Economou: (which works great for me)
The fix is to do the following:
cp /usr/lib/libnss_{db,dns,files}-1.93.so /lib
ldconfig -v
rm -f /usr/lib/libnss*
And the latest one:
Remount the partition as read-only during shutdown. I imagine this
sets the clean bin (so there's no fsck on bootup) but it doesn't
seem very clean to me since it prolly still gives the /usr
partition busy error.
Anyways, moving the libnss* libs from /usr/lib to /lib works great
for me. I now happily reboot without waiting for a rather lengthy
fsck... :-) Thanks Matt!
=Shane Anderson===========Nonvolatile Electronics, Inc.===
E-Mail: shane@nve.com Work Phone: (612) 996-1618
====================================http://www.nve.com/===
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: /usr partition busy at shutdown...
[not found] <Pine.GSO.3.93.970123084406.3715A-100000@computer.soc.uwm.edu>
@ 1997-01-23 15:28 ` Jim Nance
0 siblings, 0 replies; 5+ messages in thread
From: Jim Nance @ 1997-01-23 15:28 UTC (permalink / raw)
> I have this problem too, and I seemed to have solved it by not unmounting
> the /usr partition when I reboot, but instead remount it readonly.
> in file: /etc/rc.d/init.d/halt
The problem is that one of the libs used by bash lives in /usr/lib.
Another way to solve this problem is to make the rc.idontremember script use
ksh, or the move the library to /lib.
> It looks like it is working for me, I would be curious as to what others
> think of this idea. I'm pretty sure this is safe and doesn't corrupt
> files or anything otherwise I would see the error when rebooting and I
> don't. This doesn't solve the mystery of why you cannot simply unmount
> /usr, but it fixes the long fsck :)
I think it is a great idea. Not only as a solution for this particular
problem, but as a superior solution to unmounting filesystems at shutdown
in general. It just seems cleaner. Is there a way to do tell mount
to go through the /etc/fstab file and remount everything ro. Something
like:
mount -a -remount ro
Jim
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1997-01-23 15:28 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <Pine.GSO.3.93.970123084406.3715A-100000@computer.soc.uwm.edu>
1997-01-23 15:28 ` /usr partition busy at shutdown Jim Nance
1997-01-23 15:22 Shane Anderson
[not found] <32E6D8FB.B44EBFA@interlog.com>
1997-01-23 14:56 ` Kevin Osowski
-- strict thread matches above, loose matches on Subject: below --
1997-01-23 3:20 Christos Derventzis
1997-01-16 21:03 Shane Anderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox