btrfs doesn't support errors=remount-ro
Bug #745771 reported by
Loïc Minier
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Image Tools |
Fix Released
|
Medium
|
Loïc Minier |
Bug Description
Hi
I couldn't boot a btrfs rootfs image, I ran into various issues notably bug #460246. After working around that one, it failed with:
fsck from util-linux-ng 2.17.2
found 432455680 bytes used err is 0
total csum bytes: 383952
total tree bytes: 39288832
total fs tree bytes: 37183488
btree space waste bytes: 11138633
file data blocks allocated: 393166848
referenced 393068544
Btrfs Btrfs v0.19
An error occurred while mounting /
the issue was the errors=remount-ro flag which isn't supported by btrfs (it might even be extN specific).
We shouldn't add this flag for btrfs.
(While we're at it, would be nice to strip the "# UNCONFIGURED FSTAB FOR BASE SYSTEM" line from fstab.)
Cheers,
Related branches
lp:~lool/linaro-image-tools/btrfs-support
- Guilherme Salgado (community): Approve
-
Diff: 467 lines (+173/-39)7 files modifiedlinaro-media-create (+9/-3)
linaro_image_tools/cmd_runner.py (+7/-1)
linaro_image_tools/media_create/chroot_utils.py (+31/-7)
linaro_image_tools/media_create/rootfs.py (+13/-3)
linaro_image_tools/media_create/tests/test_media_create.py (+101/-25)
linaro_image_tools/tests/fixtures.py (+4/-0)
linaro_image_tools/tests/test_cmd_runner.py (+8/-0)
tags: | added: bitesize |
Changed in linaro-image-tools: | |
assignee: | nobody → Loïc Minier (lool) |
importance: | Undecided → Medium |
Changed in linaro-image-tools: | |
status: | New → In Progress |
Changed in linaro-image-tools: | |
status: | In Progress → Fix Committed |
Changed in linaro-image-tools: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.