[Voyage-linux] when remountro fails

tictacbum (spam-protected)
Sat Apr 14 02:51:17 HKT 2012


Hi, I noticed filesystem was not getting checked on boot, although
mount-count set to 1
I solved it adding this line to /etc/fstab:

/dev/disk/by-uuid/970c07f8-a269-42e5-9df2-b7d8036234c6 / ext2 ro,relatime 0 1

now it makes an fsck on every boot, but has to reboot when fsck ends
the only (small) problem is that it takes a bit longer to start, apart
from the check time, it reboots after fsck

2012/2/2  <jfh at greenhousepc.com>:
> Luis,
>
> The deleted files which are still open don't have to be apt cache files.
> They can be data or executable files from the application that was updated.
> In my experience, if you can't "remountro" after an upgrade, it would be
> best to reboot.
>
> And yes, a value of "1" means a filesystem is =always= checked when the box
> is rebooted.
> --
> Julie Haugh
> Senior Design Engineer
> greenHouse Computers, LLC // jfh at greenhousepc.com // greenHousePC on
> Skype
>
>
> -------- Original Message --------
> Subject: Re: [Voyage-linux] when remountro fails
> From: tictacbum <tictacbum at gmail.com>
> Date: Thu, February 02, 2012 1:27 am
> To: jfh at greenhousepc.com
> Cc: voyage-linux at voyage.hk
>
> Hello,
> this also fits my case, as I always do an apt-get clean after
> upgrading, to free space
> I tried to install some small packages again, then apt-get clean, but
> remountro problem didn't appeared
> will do a "lsof | grep apt" next time I can't remountro to see if
> there's some apt cache files still open.
>
> about fsck, a value of 1 will check the filesystem on every boot, is
> this necessary given that it is always mounted ro?
>
> regards,
> Lluís
>
> On Thu, Feb 2, 2012 at 6:32 AM, <jfh at greenhousepc.com> wrote:
>> Greets,
>>
>> In my experience, a common reason you can't remount read-only is because a
>> file has been deleted and is still open.
>>
>> As regards the "other" problems -- you need to set the maximum mount-count
>> between fsck's to 1 and the error handling to "remount-ro" with tune2fs.
>> --
>> Julie Haugh
>> Senior Design Engineer
>> greenHouse Computers, LLC // jfh at greenhousepc.com // greenHousePC on
>> Skype
>>
>>
>> -------- Original Message --------
>> Subject: Re: [Voyage-linux] when remountro fails
>> From: tictacbum <tictacbum at gmail.com>
>> Date: Wed, February 01, 2012 3:58 pm
>> To: voyage-linux at voyage.hk
>>
>> Hi,
>> I've taken the compact flash and did a fsck -f (filesystem was clean)
>> left filesystem mounted rw about an hour and remounted ro without
>> trouble, seems fsck helped :)
>> thank you!
>>
>> On Wed, Feb 1, 2012 at 9:24 PM, Frank Hoeflich <frankhoeflich at yahoo.com>
>> wrote:
>>> Lluís:
>>>
>>>    This happened to my Voyage 0.6.5 and 0.7.5 virtual machines when they
>>> were taken down unceremoniously.  I was ultimately obliged to boot the
>>> Voyage SDK iso, run a filesystem check to repair the Voyage installation
>>> on
>>> my hard drive, and then boot from hard disk again.  At the end everything
>>> was reasonably OK - I did lose a few inodes - but I could
>>> remountrw/remountro once again without the annoying / is busy message.
>>>
>>>    Give it a shot
>>>
>>> --Frank
>>>
>>> --- On Wed, 2/1/12, tictacbum <tictacbum at gmail.com> wrote:
>>>
>>>> From: tictacbum <tictacbum at gmail.com>
>>>> Subject: [Voyage-linux] when remountro fails
>>>> To: voyage-linux at voyage.hk
>>>> Date: Wednesday, February 1, 2012, 11:58 AM
>>>> Hello,
>>>> I have a voyage 0.8 installation, sometimes when I try to
>>>> remountro it
>>>> fails showing "/ is busy", specially if I had it mounted rw
>>>> for a
>>>> while (for example to apt-get upgrade)
>>>> when I get this I try to stop all services running, until I
>>>> don't know
>>>> what more to stop, ps aux is almost empty, and I can't
>>>> recognize any
>>>> process to stop with lsof
>>>> I tryed to stop sshd and login from terminal too, finally
>>>> what I do is
>>>> a reboot...
>>>> how can I find which process keeps / busy?
>>>>
>>>> regards,
>>>> Lluís
>>>>
>>>> _______________________________________________
>>>> Voyage-linux mailing list
>>>> Voyage-linux at list.voyage.hk
>>>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>>>
>>
>> _______________________________________________
>> Voyage-linux mailing list
>> Voyage-linux at list.voyage.hk
>> http://list.voyage.hk/mailman/listinfo/voyage-linux




More information about the Voyage-linux mailing list