File system locked on upgrade

Derek Broughton derek at pointerstop.ca
Thu Jul 16 19:26:34 UTC 2009


David S Angulo wrote:

> I have ubuntu version 8.04.3
> 
> [code]
> root at al:/var/log# cat /etc/lsb-release
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=8.04
> DISTRIB_CODENAME=hardy
> DISTRIB_DESCRIPTION="Ubuntu 8.04.3 LTS"
> [/code]
> 
> I did an upgrade last night using the GUI update manager instead of
> apt-get.  I can not find any errors related to the upgrade anywhere in
> the /var/log hierarchy (but maybe I do not know what to look for or
> maybe I do not know where to look).  Today, my filesystem is read only
> after reboot.  I tried rebooting again, but same thing.  My fstab has
> not changed for months, and here is the relevant entry:
> 
> [code]
> # /dev/sda3
> UUID=39f06358-2cfe-4c97-81c0-aabb58d1b2d0 /               ext2
> defaults,errors=remount-ro 0       1
> [/code]
> 
> Any ideas on what I should do or where I should look?

fsck.  How do you think it got mounted read-only?  As the fstab says 
"errors=remount-ro".  

Why are you still using ext2?  It really isn't smart, and it's so easy to 
add a journal and turn it into ext3 (see tune2fs).  Then if you manage to 
turn off the machine without properly shutting down, it'll be able to 
recover properly.
-- 
derek






More information about the ubuntu-users mailing list