You are not logged in.

#1 2008-10-16 13:53:14

deltaecho
Member
From: Georgia (USA)
Registered: 2008-08-06
Posts: 185

[SOLVED] Root FS mounted RO after kernel upgrade

For some reason, since I upgraded to the 2.6.27-2 kernel, my root filesystem has been mounting readonly.  I tried adding 'rw' to my fstab and rebooting, and remounting it with '# mount -o remount,rw /dev/sda3', but neither worked.  Can anybody help?  Here is my fstab:

# <file system>        <dir>         <type>    <options>                  <dump> <pass>
none                   /dev/pts      devpts    defaults                    0      0   
none                   /dev/shm      tmpfs     size=3584M,nr_inodes=1M     0      0   

# Do kRaZy stuff with RAM
none                   /tmp          tmpfs     size=1792M,nr_inodes=1M     0      0
none                   /var/tmp      tmpfs     size=64M,nr_inodes=1M       0      0

# SWAP
UUID=3dfab75c-89d8-4cd6-a7f5-64be91f4b616   swap   swap   defaults     0     0

# Arch Linux
UUID=cb7596a2-1542-4993-b948-252f5849b0d8  /      xfs   rw,noatime,nodiratime,logbufs=8      0     1
UUID=d0a9c880-663a-4c06-9abc-717f2b4f2fcf  /boot  ext3  rw,defaults,noatime,data=ordered     0     1
UUID=212b2e17-1ced-4dd1-a99b-de4ad1e39b5e  /home  xfs   rw,noatime,nodiratime,logbufs=8      0     1

# Windows Vista
UUID=DAC2AB63C2AB431D   /media/VistaOS   ntfs-3g   rw,defaults,force      0      2

# Pacman Database
/var/lib/pacman.db   /var/lib/pacman   ext2   loop,rw,defaults     0     0

# VirtaulBox USB Support
none   /proc/bus/usb   usbfs   devgid=133,devmode=664     0     0

Also, NetworkManager doesn't work and my laptop's battery level isn't detected - but I believe those to be symptoms of the RO filesystem (I may be wrong).

Last edited by deltaecho (2008-10-16 14:39:51)


Dylon

Offline

#2 2008-10-16 14:02:49

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,384
Website

Re: [SOLVED] Root FS mounted RO after kernel upgrade

There appears to be a work around here: http://bugs.archlinux.org/task/11765

Offline

#3 2008-10-16 14:29:35

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: [SOLVED] Root FS mounted RO after kernel upgrade

But I discovered a workaround. You have to remove all mount options except for defaults.

not entirely:
2.6.26.x
/dev/sda4 /home xfs defaults,nodiratime,noatime,logbufs=8,biosize=16,allocsize=512m,nobarrier 0 1
updated to
2.6.27
fully working with
/dev/sda4 /home xfs nodiratime,noatime,nobarrier 0 1

in other words only specific settings related to performance tuning. seems to be related to the bug introduced in 2.6.27

explanation here:
http://oss.sgi.com/cgi-bin/gitweb.cgi?p … fabf4d687e

Offline

#4 2008-10-16 14:39:03

deltaecho
Member
From: Georgia (USA)
Registered: 2008-08-06
Posts: 185

Re: [SOLVED] Root FS mounted RO after kernel upgrade

Thank you both!

It will be nice when that bug is fixed, but I'm content now that I can use my system again smile


Dylon

Offline

Board footer

Powered by FluxBB