Page 1 of 1

Fedora 27 guest frequently goes into read only fs mount

Posted: 13. Jan 2018, 23:19
by matt101
Hello all,

I am having an issue where my Fedora 27 guest goes into read only file-system mode, usually when under heavy disk I/O.

I am running a Fedora 27 host, and I run the guest to connect to a VPN. I then run the apps (e.g. qbittorrent) that I would like to connect to the net through the VPN in the guest.

Attached is the VBox log split into two parts, along with dmesg from my host from a session that ended up with the guest going into a read only file-system mount.

I have tried remaking the virtual machine, and the issue happens on two separate host machine I own, both with the same setup.

Any help massively appreciated!

Re: Fedora 27 guest frequently goes into read only fs mount

Posted: 14. Jan 2018, 07:19
by socratis
Can you please substitute your two 1/2 parts of the VBox.log, with one single ZIPPED version of it? It helps save a (virtual) tree or two, and it makes it a lot easier to work with, if it's a single file. Thanks...

Re: Fedora 27 guest frequently goes into read only fs mount

Posted: 14. Jan 2018, 12:48
by matt101
Sure, done.

Re: Fedora 27 guest frequently goes into read only fs mount

Posted: 15. Jan 2018, 20:53
by socratis
I don't know why your setup goes read-only, but my feeling is that there is too much I/O, some operations time out, and the Linux kernel decides to take the filesystem read-only to prevent damage, thinking that the I/O timeout is due to something going wrong with its hard drive.

Let's see if anyone else with better Linux knowledge might come up with something. And I would think that the 'dmesg' output of the guest would be more important compared to that of the host.

Re: Fedora 27 guest frequently goes into read only fs mount

Posted: 16. Jan 2018, 15:45
by matt101
Just ran dmesg on the guest and it doesn't return any output (this is prior to the read only file-system thing happening). I'll update if i can run it after the error occurs.

Re: Fedora 27 guest frequently goes into read only fs mount

Posted: 18. Jan 2018, 19:34
by matt101
Updated to Vbox 5.2.6 and the issue still occurs. The root filesystem going ro, means I can't dmesg.

Anyone out there who may be able to help? :(

Re: Fedora 27 guest frequently goes into read only fs mount

Posted: 18. Jan 2018, 22:31
by matt101
Added output from cat /dev/kmsg on the guest.

Re: Fedora 27 guest frequently goes into read only fs mount

Posted: 22. Jan 2018, 09:34
by matt101
Some poeple in #fedora on IRC suggested I might have a faulty disk.

I've ruled that out just in case:

Code: Select all

smartctl -l selftest /dev/sda
smartctl 6.5 2016-05-07 r4318 [x86_64-linux-4.14.13-300.fc27.x86_64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed without error       00%      9510         -
# 2  Short offline       Completed without error       00%      9489         -