{"id":62319,"date":"2015-10-13T09:05:33","date_gmt":"2015-10-13T17:05:33","guid":{"rendered":"http:\/\/www.transterrestrial.com\/?p=62319"},"modified":"2015-10-14T08:13:35","modified_gmt":"2015-10-14T16:13:35","slug":"linux-problem-2","status":"publish","type":"post","link":"https:\/\/www.transterrestrial.com\/wordpress\/2015\/10\/13\/linux-problem-2\/","title":{"rendered":"Linux Problem"},"content":{"rendered":"<p>Can anyone figure out why \/home is mounting read-only at boot?<\/p>\n<p>Here&#8217;s my fstab:<\/p>\n<p># \/etc\/fstab<br \/>\n# Created by anaconda on Sat Apr 18 17:14:21 2015<br \/>\n#<br \/>\n# Accessible filesystems, by reference, are maintained under &#8216;\/dev\/disk&#8217;<br \/>\n# See man pages fstab(5), findfs(8), mount(8) and\/or blkid(8) for more info<br \/>\n#<br \/>\n\/dev\/mapper\/fedora_new&#8211;host&#8211;5-root \/                    ext4    defaults        1 1<br \/>\nUUID=058cc312-d471-41b9-a346-6ecf7dd2484b \/boot           ext4    defaults        1 2<br \/>\n#\/dev\/mapper\/fedora_new&#8211;host&#8211;5-home \/home               ext4    defaults        1 2<br \/>\n\/dev\/mapper\/fedora_new&#8211;host-home \/home                   ext4    defaults        1 2<br \/>\n\/dev\/mapper\/fedora_new&#8211;host&#8211;5-swap swap                 swap    defaults        0 0<\/p>\n<p>Note that \/dev\/mapper\/fedora_new&#8211;host&#8211;5-root is an SSD (as is boot), and \/dev\/mapper\/fedora_new&#8211;host-home is a physical hard drive.<\/p>\n<p>And here&#8217;s \/proc\/mounts:<\/p>\n<p>sysfs \/sys sysfs rw,seclabel,nosuid,nodev,noexec,relatime 0 0<br \/>\nproc \/proc proc rw,nosuid,nodev,noexec,relatime 0 0<br \/>\ndevtmpfs \/dev devtmpfs rw,seclabel,nosuid,size=7787916k,nr_inodes=1946979,mode=755 0 0<br \/>\nsecurityfs \/sys\/kernel\/security securityfs rw,nosuid,nodev,noexec,relatime 0 0<br \/>\ntmpfs \/dev\/shm tmpfs rw,seclabel,nosuid,nodev 0 0<br \/>\ndevpts \/dev\/pts devpts rw,seclabel,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0<br \/>\ntmpfs \/run tmpfs rw,seclabel,nosuid,nodev,mode=755 0 0<br \/>\ntmpfs \/sys\/fs\/cgroup tmpfs ro,seclabel,nosuid,nodev,noexec,mode=755 0 0<br \/>\ncgroup \/sys\/fs\/cgroup\/systemd cgroup rw,nosuid,nodev,noexec,relatime,xattr,release_agent=\/usr\/lib\/systemd\/systemd-cgroups-agent,name=systemd 0 0<br \/>\npstore \/sys\/fs\/pstore pstore rw,seclabel,nosuid,nodev,noexec,relatime 0 0<br \/>\ncgroup \/sys\/fs\/cgroup\/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0<br \/>\ncgroup \/sys\/fs\/cgroup\/net_cls,net_prio cgroup rw,nosuid,nodev,noexec,relatime,net_cls,net_prio 0 0<br \/>\ncgroup \/sys\/fs\/cgroup\/hugetlb cgroup rw,nosuid,nodev,noexec,relatime,hugetlb 0 0<br \/>\ncgroup \/sys\/fs\/cgroup\/memory cgroup rw,nosuid,nodev,noexec,relatime,memory 0 0<br \/>\ncgroup \/sys\/fs\/cgroup\/perf_event cgroup rw,nosuid,nodev,noexec,relatime,perf_event 0 0<br \/>\ncgroup \/sys\/fs\/cgroup\/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpuacct 0 0<br \/>\ncgroup \/sys\/fs\/cgroup\/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0<br \/>\ncgroup \/sys\/fs\/cgroup\/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0<br \/>\ncgroup \/sys\/fs\/cgroup\/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0<br \/>\nconfigfs \/sys\/kernel\/config configfs rw,relatime 0 0<br \/>\n\/dev\/mapper\/fedora_new&#8211;host&#8211;5-root \/ ext4 rw,seclabel,relatime,data=ordered 0 0<br \/>\nselinuxfs \/sys\/fs\/selinux selinuxfs rw,relatime 0 0<br \/>\nsystemd-1 \/proc\/sys\/fs\/binfmt_misc autofs rw,relatime,fd=24,pgrp=1,timeout=300,minproto=5,maxproto=5,direct 0 0<br \/>\ntmpfs \/tmp tmpfs rw,seclabel 0 0<br \/>\ndebugfs \/sys\/kernel\/debug debugfs rw,seclabel,relatime 0 0<br \/>\nhugetlbfs \/dev\/hugepages hugetlbfs rw,seclabel,relatime 0 0<br \/>\nmqueue \/dev\/mqueue mqueue rw,seclabel,relatime 0 0<br \/>\nnfsd \/proc\/fs\/nfsd nfsd rw,relatime 0 0<br \/>\n\/dev\/sdb1 \/boot ext4 rw,seclabel,relatime,data=ordered 0 0<br \/>\n\/dev\/mapper\/fedora_new&#8211;host-home \/home ext4 ro,seclabel,relatime,data=ordered 0 0<br \/>\nsunrpc \/var\/lib\/nfs\/rpc_pipefs rpc_pipefs rw,relatime 0 0<br \/>\ntmpfs \/run\/user\/42 tmpfs rw,seclabel,nosuid,nodev,relatime,size=1559960k,mode=700,uid=42,gid=42 0 0<br \/>\ntmpfs \/run\/user\/1000 tmpfs rw,seclabel,nosuid,nodev,relatime,size=1559960k,mode=700,uid=1000,gid=1000 0 0<br \/>\ngvfsd-fuse \/run\/user\/1000\/gvfs fuse.gvfsd-fuse rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 0 0<br \/>\nfusectl \/sys\/fs\/fuse\/connections fusectl rw,relatime 0 0<br \/>\nbinfmt_misc \/proc\/sys\/fs\/binfmt_misc binfmt_misc rw,relatime 0 0<\/p>\n<p>[Update a while later]<\/p>\n<p>OK, clearly the disk is getting corrupted. I put in a file check option in the fstab, and it (temporarily) mounted it read-write at boot, but after working a while it became remounted read-only.<\/p>\n<p>Any suggestions?<\/p>\n<p>[Update a while later]<\/p>\n<p>I had a spare 2T drive that I hooked up, and made it \/home at boot (it was an old original, and the new drive was actually backup of it, so it had a lot of the data on it already). It&#8217;s working fine so far, except that when I copied my Gnome user configuration data over and rebooted, it decided that I wanted to have a Spanish desktop. I&#8217;ve changed the system settings to en_US, and even &#8216;localectl status&#8217; give me:<br \/>\nSystem Locale: LANG=en_US<br \/>\nVC Keymap: us<br \/>\nX11 Layout: us<\/p>\n<p>I can&#8217;t figure out where in the configuration files it&#8217;s getting the idea that I want to compute en Espanol, but while I can stumble along in it, it&#8217;s quite annoying.<\/p>\n<p>[Wednesday-morning update]<\/p>\n<p>OK, I determined that the language is changed in Gnome in &#8220;Settings,&#8221; but in the Spanish interface, that gets translated into &#8220;Configuracion,&#8221; so I was looking in the wrong place. So, now all is well, as far as I can tell. And as of this morning both the old and the new drive remain read\/write. So still not sure what the problem was, but it seems to be a lot better now.<\/p>\n<p>[Update a while later]<\/p>\n<p>Wow. That drive had been causing problems I hadn&#8217;t even realized. My system had been running like molasses, with lots of runaway processes (like in Chrome). That&#8217;s completely disappeared. It&#8217;s like greased lightning now, even with several instances and many dozens of tabs open in Firefox.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Can anyone figure out why \/home is mounting read-only at boot? Here&#8217;s my fstab: # \/etc\/fstab # Created by anaconda on Sat Apr 18 17:14:21 2015 # # Accessible filesystems, by reference, are maintained under &#8216;\/dev\/disk&#8217; # See man pages fstab(5), findfs(8), mount(8) and\/or blkid(8) for more info # \/dev\/mapper\/fedora_new&#8211;host&#8211;5-root \/ ext4 defaults 1 1 &hellip; <a href=\"https:\/\/www.transterrestrial.com\/wordpress\/2015\/10\/13\/linux-problem-2\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Linux Problem<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,27,3,18],"tags":[],"class_list":["post-62319","post","type-post","status-publish","format-standard","hentry","category-administrative","category-mathematics","category-technology-and-society","category-weird"],"_links":{"self":[{"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/posts\/62319","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/comments?post=62319"}],"version-history":[{"count":7,"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/posts\/62319\/revisions"}],"predecessor-version":[{"id":62332,"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/posts\/62319\/revisions\/62332"}],"wp:attachment":[{"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/media?parent=62319"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/categories?post=62319"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/tags?post=62319"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}