[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /usr busy after aptitude operations?

On Sun, May 11, 2008 at 11:03:26AM -0700, Todd A. Jacobs wrote:
> On Sat, May 10, 2008 at 07:36:34PM -0400, Douglas A. Tutty wrote:
> > When you mount the filesystem, are all the standard options active or
> > do you mount it noatime?  I don't know if it matters.
> I'm mounting it with relatime. Mount says:
>     /usr type xfs (rw,relatime,barrier,logbufs=8)
> I'm not sure why that should matter, though.
> > What happens if you do the remounting pre/post manually instead?
>     $ sudo mount -o remount,ro /usr
>     mount: /usr is busy
> Since I can't do it manually, I'm not surprised it can't be done by apt,
> but some of the questions people are asking make me wonder if it's an
> interaction between XFS and apt, or if it's a problem with ext3 as well.
> I have no way to test it; maybe someone else can chime in on that.
> > I used to have /usr and /boot mounted ro routinely in Sarge with no
> > problem.
> Me, too, which is why this is annoying me tremendously.

I just su - , and ran:

# mount -o,ro,remount /usr

then ran

# mount

and saw that /usr was mounted ro, then ran

# mount -o,rw,remount /usr

and had it remounted rw, no problem.


Reply to: