Category Archives: Weird

Linux Problem

Can anyone figure out why /home is mounting read-only at boot?

Here’s my fstab:

# /etc/fstab
# Created by anaconda on Sat Apr 18 17:14:21 2015
#
# Accessible filesystems, by reference, are maintained under ‘/dev/disk’
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/fedora_new–host–5-root / ext4 defaults 1 1
UUID=058cc312-d471-41b9-a346-6ecf7dd2484b /boot ext4 defaults 1 2
#/dev/mapper/fedora_new–host–5-home /home ext4 defaults 1 2
/dev/mapper/fedora_new–host-home /home ext4 defaults 1 2
/dev/mapper/fedora_new–host–5-swap swap swap defaults 0 0

Note that /dev/mapper/fedora_new–host–5-root is an SSD (as is boot), and /dev/mapper/fedora_new–host-home is a physical hard drive.

And here’s /proc/mounts:

sysfs /sys sysfs rw,seclabel,nosuid,nodev,noexec,relatime 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
devtmpfs /dev devtmpfs rw,seclabel,nosuid,size=7787916k,nr_inodes=1946979,mode=755 0 0
securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /dev/shm tmpfs rw,seclabel,nosuid,nodev 0 0
devpts /dev/pts devpts rw,seclabel,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
tmpfs /run tmpfs rw,seclabel,nosuid,nodev,mode=755 0 0
tmpfs /sys/fs/cgroup tmpfs ro,seclabel,nosuid,nodev,noexec,mode=755 0 0
cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd 0 0
pstore /sys/fs/pstore pstore rw,seclabel,nosuid,nodev,noexec,relatime 0 0
cgroup /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0
cgroup /sys/fs/cgroup/net_cls,net_prio cgroup rw,nosuid,nodev,noexec,relatime,net_cls,net_prio 0 0
cgroup /sys/fs/cgroup/hugetlb cgroup rw,nosuid,nodev,noexec,relatime,hugetlb 0 0
cgroup /sys/fs/cgroup/memory cgroup rw,nosuid,nodev,noexec,relatime,memory 0 0
cgroup /sys/fs/cgroup/perf_event cgroup rw,nosuid,nodev,noexec,relatime,perf_event 0 0
cgroup /sys/fs/cgroup/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpuacct 0 0
cgroup /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0
cgroup /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0
cgroup /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0
configfs /sys/kernel/config configfs rw,relatime 0 0
/dev/mapper/fedora_new–host–5-root / ext4 rw,seclabel,relatime,data=ordered 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=24,pgrp=1,timeout=300,minproto=5,maxproto=5,direct 0 0
tmpfs /tmp tmpfs rw,seclabel 0 0
debugfs /sys/kernel/debug debugfs rw,seclabel,relatime 0 0
hugetlbfs /dev/hugepages hugetlbfs rw,seclabel,relatime 0 0
mqueue /dev/mqueue mqueue rw,seclabel,relatime 0 0
nfsd /proc/fs/nfsd nfsd rw,relatime 0 0
/dev/sdb1 /boot ext4 rw,seclabel,relatime,data=ordered 0 0
/dev/mapper/fedora_new–host-home /home ext4 ro,seclabel,relatime,data=ordered 0 0
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw,relatime 0 0
tmpfs /run/user/42 tmpfs rw,seclabel,nosuid,nodev,relatime,size=1559960k,mode=700,uid=42,gid=42 0 0
tmpfs /run/user/1000 tmpfs rw,seclabel,nosuid,nodev,relatime,size=1559960k,mode=700,uid=1000,gid=1000 0 0
gvfsd-fuse /run/user/1000/gvfs fuse.gvfsd-fuse rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 0 0
fusectl /sys/fs/fuse/connections fusectl rw,relatime 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,relatime 0 0

[Update a while later]

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.

Any suggestions?

[Update a while later]

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’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’ve changed the system settings to en_US, and even ‘localectl status’ give me:
System Locale: LANG=en_US
VC Keymap: us
X11 Layout: us

I can’t figure out where in the configuration files it’s getting the idea that I want to compute en Espanol, but while I can stumble along in it, it’s quite annoying.

[Wednesday-morning update]

OK, I determined that the language is changed in Gnome in “Settings,” but in the Spanish interface, that gets translated into “Configuracion,” 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.

[Update a while later]

Wow. That drive had been causing problems I hadn’t even realized. My system had been running like molasses, with lots of runaway processes (like in Chrome). That’s completely disappeared. It’s like greased lightning now, even with several instances and many dozens of tabs open in Firefox.

My Return Trip From Hell

I started to leave Las Cruces for LA on Thursday evening. I got back last night.

I missed my flight on American Thursday night by not allowing enough time to get to the airport in El Paso. They put me on standby for a flight at 6:15 the next morning, so I kept my rental and got a room a couple miles away.

I got to the airport, but the flight to LA (via Phoenix) was full. My next opportunity was a non-stop to LA at noon, but also standby. This was all complicated by the fact that an early-morning Dallas flight had been delayed due to mechanical issues (brakes) and it was a nightmare for the agents to reroute people while they dealt with the issue. I was in a long line with Dallas people, and in front of a couple heading to New Orleans. But I did get my standby opportunity, and spent the morning working on my laptop.

At noon, the board for the flight was down, and there were no standbys listed. I was told to wait, but once again, it was a full flight (including Garrett Reisman of SpaceX).

My next chance was another one through Phoenix, at 2:45, also overbooked. I missed that one too, but as soon as I did, I went over to the agent who had switched me to that one, and just asked her if I could get to Dallas (the next chance out of ELP was the flight that I’d missed first thing in the morning, though this time I would have been confirmed). I figured that once I was in Dallas, I’d have a lot more options. Fortunately (this is about 3 PM), the Dallas flight that had been delayed since early morning had finally gotten its brakes fixed, and was about to depart. Because they’d rerouted people, it had a few empty seats. The one they issued me, by bizarre coincidence, ended up being between the couple heading to New Orleans that had been behind me in line hours earlier.

My confirmed flight to LA from Dallas was at 10:10 PM, to arrive about 11 in LA, meaning about a four-hour layover. When I got into Dallas, I looked at the board, and saw another flight leaving from another terminal in about ten minutes, so I took the tram over. But it was overbooked. I went to look for another agent who wasn’t busy boarding a plane, and asked him if I could get out earlier than the 10:10 (there was an 8:45 on the board). He looked, and said, how about 7:30? I told him, sure, but I didn’t know there was a 7:30. He told me that it was a 4:20 that had had mechanical issues, but would be ready to go. I asked him for a window seat, and he said sure, and gave me a pass, with priority boarding (sweet).

Turns out that it was a 767 that they’d brought in to replace a 737 that they couldn’t fix, so it had lots of empty seats. As a bonus (which believe me, I hadn’t asked for), they put a cute nursing student from TCU on a weekend visit to her sister in LA next to me (though I later suggested that she take the empty row behind, when she wanted to study but the woman in front of her put the seat back).

So thanks to maintenance issues with American, my day that had started out disastrously ended up on a run of good luck. I got into LA about 8:30, after flying about 2800 miles to get 800, and was beat, but I’m recuperating this morning.

My Bad Night

Had a weird experience after going to sleep last night. I woke up in the worst pain I’d ever felt in my life. It was in my back, in the region of my right kidney, but it felt like a severe muscle cramp or strain. It was a dull pain, not sharp (as I’d expect a kidney stone to feel like). I couldn’t lie down, and could barely tolerate sitting. We thought about going to the emergency room, but after putting on a heat bandage, taking a couple ibuprofen, and then a vicodin, and lying up in bed with several pillows behind me, I eventually managed to get back to sleep.

Woke up this morning, and it was a little sore, but nothing like it had been when I went to sleep. Now I can barely tell it happened, but I’m feeling slightly nauseated (haven’t had anything to eat or drink except water and a couple cups of coffee, though that’s normal for me). Still don’t know what it was, or if it will recur, but if it does, I’ll definitely have to go to the doctor.

[Thursday-morning update]

Just got off the phone with a friend who’s an ER doc with decades of experience. He said that unless it persists for more than a couple days, to not sweat it, other than maybe peeing in a bottle to see if I can get a sample for testing. “Don’t waste money on urologists or scans.”

[Bumped]

The Donald Enters The Space Race

Doug Messier has the story:

The tycoon is backing calls for Prestwick airport in Ayrshire to be chosen as the launchpad for commercial space flights and will offer VIP packages for passengers at his nearby Turnberry golf resort if it is.

In its bid, a consortium will unveil Trump as the exclusive hotel partner for rich space tourists jetting into the region from across the globe. Tailor-made packages will include castle tours, visits to distilleries and island-hopping in the Hebrides.

I wonder if he’s been talking to Chuck Lauer?

The Upside-Down World Of Robert Reich

One group leaves its demonstration sites cleaner than they found them, and wants to clean up an overgrown corrupt federal government. The other poops on police cars and has rape tents. Guess which ones he calls “wreckers” and which he calls “rebuilders”?

[Update a couple minutes later]

This seems related, somehow: Hillary’s big donors are giving to Jeb, too. It’s almost like it’s all just one big-government party.

[Update a few minutes later]

This seems related, somehow, too: Chelsea Clinton is the closest thing America has to a princess. Just what we’ve always needed.

[Update a couple minutes later]

Thoughts on Princess Chelsea, from Jonah Goldberg:

As for the bit about her being the closest thing America has to a princess, well, when you think about it for a second, I think that’s right. The problem is that the closest thing to a princess in America is very, very, very far from an actual, you know, princess. We don’t do royalty here very well. The thing that makes her most princess-like is that she really doesn’t seem to know what to do with herself except get caught up in the lie of her family business. What I mean is that she may actually believe that the Clintons are a kind of secular royalty and a dynasty. No doubt she’s been told that a lot. No doubt her parents don’t loop her in on the seamier side of how the Tudors of the Ozarks operate. She probably thinks the primary purpose of the Clinton Foundation is philanthropy rather than extending the Clinton brand and empire, in much the same way descendants of the original medieval robber barons believe their family has always been about public service. Bless her heart.

And Jim Geraghty:

The comparison to a princess is a pretty accurate one, and you’re right, the profile piece in the Post doesn’t quite gush. But throwing jobs, awards, opportunities, speaking fees, and other honors at Chelsea seems to have been a pretty easy way to build goodwill with an ex-president and a future president, and I feel like we’ve all been asked to avert our eyes from this.

[Afternoon update]

Heh.