Hyper-V Ubuntu 10.04, Filesystem suddenly becomes Read-Only?
Posted
by
Daniel Upton
on Server Fault
See other posts from Server Fault
or by Daniel Upton
Published on 2012-03-09T10:12:46Z
Indexed on
2012/04/03
17:33 UTC
Read the original article
Hit count: 308
We are running a Ubuntu 10.04 VM on a Hyper-V system,
The VM is dedicated to running one of our web applications.
We have enabled the Hyper-V drivers in /etc/initramfs-tools/modules
like so:
hv_vmbus
hv_storvsc
hv_blkvsc
hv_netvsc
And updated the kernel image like so:
$ update-initramfs -u
And all was good... until..
This morning i got a support request that our web application was throwing an error 500, so i checked the logs and nothing was there.
Then I remembered that I had seen this on another of our ubuntu servers so I...
$ touch foo.txt
And my suspicions were confirmed:
touch: cannot touch `foo.txt': Read-only file system
Why is the filesystem randomly becoming readonly?
Is this only in Ubuntu on HV? Is it a problem on RedHat or Cent?
© Server Fault or respective owner