dracut Warning: Can't mount root filesystem
rb1980 opened this issue · 2 comments
rb1980 commented
can you help me understand what went wrong here? And how to disable linux-rootfs-resize from running on boot? This is on an ec2 instance, so I don't have direct console access.
partition update disabled: partx has no '--update' flag in usage.
update-partition set to false
found MBR partition table (id = 83)
geometry is -C 4177 -H 255 -S 63. total size=67103505
## sfdisk -C 4177 -H 255 -S 63 --unit=S --dump /dev/xvda
# partition table of /dev/xvda
unit: sectors
/dev/xvda1 : start= 2048, size= 67101457, Id=83, bootable
/dev/xvda2 : start= 0, size= 0, Id= 0
/dev/xvda3 : start= 0, size= 0, Id= 0
/dev/xvda4 : start= 0, size= 0, Id= 0
max_end=67103505 tot=67103505 pt_end=67103505 pt_start=2048 pt_size=67101457
NOCHANGE: partition 1 is size 67101457. it cannot be grown
xvda: xvda1
/dev/xvda: msdos partitions 1
input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input4
/dev/xvda1: 51323/2097152 files (0.2% non-contiguous), 738374/8387682 blocks
resize2fs 1.41.12 (17-May-2010)
The filesystem is already 8387682 blocks long. Nothing to do!
mount: you must specify the filesystem type
mount: you must specify the filesystem type
mount: you must specify the filesystem type
mount: you must specify the filesystem type
mount: you must specify the filesystem type
mount: you must specify the filesystem type
mount: you must specify the filesystem type
mount: you must specify the filesystem type
mount: you must specify the filesystem type
mount: you must specify the filesystem type
mount: you must specify the filesystem type
mount: you must specify the filesystem type
mount: you must specify the filesystem type
mount: you must specify the filesystem type
mount: you must specify the filesystem type
mount: you must specify the filesystem type
mount: you must specify the filesystem type
mount: you must specify the filesystem type
mount: you must specify the filesystem type
mount: you must specify the filesystem type
mount: you must specify the filesystem type
dracut Warning: Can't mount root filesystem
�%G[] linux-rootfs-resize ...
partition updatedracut Warning: Boot has failed. To debug this issue add "rdshell" to the kernel command line.
disabled: partxdracut Warning: Signal caught!
has no '--update' flag in usage.
update-partidracut Warning: Boot has failed. To debug this issue add "rdshell" to the kernel command line.
tion Kseet rton fealls panic - not syncing: Attempted to kill init!
Pid: 1, comm: init Not tainted 2.6.32-696.18.7.el6.x86_64 #1
e
C
afolunld MBTR rpaace:
[<ffffffff8154afac>] ? panic+0xa7/0x179
rt it[io<n ftafblfe f(iffff8112b940>] ? perf_event_exit_task+0xc0/0x340
[<ffffffff810826e0>] ? do_group_exit+0x0/0xd0
d = [83<)
f
fgefomfetffff8119c265>] ? fput+0x25/0x30
[<ffffffff81082738>] ? do_group_exit+0x58/0xd0
ry i[s <-Cf 4f17f7 f-Hffff810827c7>] ? sys_exit_group+0x17/0x20
[<ffffffff815566d6>] ? system_call_fastpath+0x16/0x1b
255 -S 63. tota
This is on a CentOS 6.9 machine.
rb1980 commented
I'm wondering if it has something to do with the fact that: I have an LVM data partition mounted, but the root partition is NOT LVM.
eg:
# cat /etc/fstab
UUID=2d0f2d55-672b-4c05-8eba-9421dd808ad7 / ext4 defaults,noatime 1 1
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/vg_data/lv_data /data ext4 defaults,nofail,noatime 0 0
It seems to work OK on hosts that do not have any LVM partitions.
cardil commented
@rb1980 I advise you to try our completely overhauled fork: https://github.com/coi-gov-pl/linux-rootfs-resize
Maybe it will fix your issues