[Bug 1711011] Re: fsck.jfs may be attempted before multipath devices are available
Mathieu Trudel-Lapierre
mathieu.tl at gmail.com
Wed Aug 16 13:04:38 UTC 2017
Nope, that's wrong. fsck.jfs is there in xenial, but apparently not
there in artful. This needs further investigation.
[ 5.432926] device-mapper: multipath service-time: version 0.3.0 loaded
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... Begin: Waiting for udev to settle (multipath) ... done.
done.
[ 5.577291] JFS: nTxBlock = 8192, nTxLock = 65536
Begin: Will now check root file system ... fsck from util-linux 2.30.1
fsck: error 2 (No such file or directory) while executing fsck.jfs for /dev/mapper/mpatha-part2
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
done.
Begin: Running /scripts/local-bottom ... Spawning shell within the initramfs
BusyBox v1.22.1 (Ubuntu 1:1.22.0-19ubuntu2) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs)
(initramfs) cd /dev/mapper/
(initramfs) ls
control mpathb mpatha mpatha-part1 mpatha-part2
(initramfs) fsck.jfs /dev/mapper/mpatha-part2
sh: fsck.jfs: not found
(initramfs)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to jfsutils in Ubuntu.
https://bugs.launchpad.net/bugs/1711011
Title:
fsck.jfs may be attempted before multipath devices are available
Status in initramfs-tools package in Ubuntu:
New
Status in jfsutils package in Ubuntu:
Invalid
Bug description:
Detected machine type: 0000000000000101
command line: BOOT_IMAGE=/boot/vmlinux-4.11.0-13-generic root=UUID=8c6162e8-9bb1-4171-a901-30e001222a14 ro splash quiet
Max number of cores passed to firmware: 2048 (NR_CPUS = 2048)
Calling ibm,client-architecture-support... done
memory layout at init:
memory_limit : 0000000000000000 (16 MB aligned)
alloc_bottom : 0000000007620000
alloc_top : 0000000030000000
alloc_top_hi : 0000000780000000
rmo_top : 0000000030000000
ram_top : 0000000780000000
instantiating rtas at 0x000000002fff0000... done
prom_hold_cpus: skipped
copying OF device tree...
Building dt strings...
Building dt structure...
Device tree strings 0x0000000007630000 -> 0x00000000076309e6
Device tree struct 0x0000000007640000 -> 0x0000000007650000
Quiescing Open Firmware ...
Booting Linux via __start() @ 0x0000000002000000 ...
-> smp_release_cpus()
spinning_secondaries = 7
<- smp_release_cpus()
Linux ppc64le
#19-Ubuntu SMP T[ 0.970009] Unable to open file: /etc/keys/x509_ima.der (-2)
[ 0.970011] Unable to open file: /etc/keys/x509_evm.der (-2)
fsck: error 2 (No such file or directory) while executing fsck.jfs for /dev/mapper/mpatha-part2
fsck exited with status code 8
I haven't investigated more than that, it looks like jfsutils does not include anything to copy fsck.jfs to the initramfs. Clearly hooks/fsck in initramfs-tools appears to not be doing its job in this case.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1711011/+subscriptions
More information about the foundations-bugs
mailing list