xfs left inconsistent after reboot, causing grub to fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Invalid
|
Medium
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
take a 12.10 with XFS root partition containing the /boot/ tree
dpkg-reconfigure grub-pc ; sync
reboot (either by command, or by menu)
diverse error messages + grub rescue + /boot/ is partially accessible
boot UBUNTU 12.10 pendrive + choose "try Ubuntu" + open a terminal
sudo -s; mkdir foo; mount [the XFS root partition] foo; umount foo
reboot into the "original" Ubuntu is NOW successful
It appears that the kernel xfs filesystem driver leaves the fs in an inconsistent state even after a sync. That is corrected by a journal playback done either via having the kernel mount or running fsck, but grub does not use the xfs journal.
---
ApportVersion: 2.6.1-0ubuntu10
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
/dev/snd/seq: timidity 1533 F.... timidity
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
DistroRelease: Ubuntu 12.10
InstallationDate: Installed on 2012-10-19 (98 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
IwConfig:
eth0 no wireless extensions.
lo no wireless extensions.
MachineType: System manufacturer System Product Name
MarkForUpload: True
Package: linux 3.5.0.23.29
PackageArchitec
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
PulseList:
Error: command ['pacmd', 'list'] failed with exit code 1: Home directory /home/prohlep not ours.
No PulseAudio daemon running, or not running as session daemon.
RelatedPackageV
linux-
linux-
linux-firmware 1.95
RfKill:
Tags: quantal package-
Uname: Linux 3.5.0-23-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
dmi.bios.date: 07/18/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 2301
dmi.board.
dmi.board.name: M4A89GTD-PRO/USB3
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: System Product Name
dmi.product.
dmi.sys.vendor: System manufacturer
description: | updated |
Changed in grub2 (Ubuntu): | |
importance: | Undecided → Medium |
status: | Incomplete → Triaged |
summary: |
- xfs left inconcistent after reboot, causing grub to fail + xfs left inconsistent after reboot, causing grub to fail |
UpgradeStatus: No upgrade log present (probably fresh install)
No, this is an old install from October, and I update daily, but due to a non-server grade SSD system disk, I choose in a dialog not to record the history.
Due to the user friendly interface, I did not know, that this can switch off the important system logs as well.
Concerning this particular bug, the upgrade log would be the most essential piece of information.
I just wonder, why virtually nobody else reports this bug, when I suffer from it on 3 machines of really different booting systems. It is very unlikely that this bug depends on hardware or on installed packages or on anything.
Each day I'm scared, that a package will be automatically udated, and I have to repair 3 installation.
Especially bad, if I have to repair my laptop in front of the gathering audience, waiting for the late beginning of my university lecture, just because the laptop sucked an update just before I left my office to go to give a lecture. On the other hand, I do not wish to switch off the automatic update. Just because of philosophy.