raversnet2
November 12th, 2018, 08:31 PM
I've been unable to mount my LVs on boot that reside on a High Point controller. Normally the boot hangs at mounting of the LV and times out.
I then need to drop to shell and remove the entry:
UUID=MMDEva-uBpn-yE7l-cRuG-3hOH-Hcm9-XJQ5Li /mnt/OPT ext4 defaults 1 2
from /etc/fstab.
Once the boot continues, the formatted LV
Auto mounts to /media/rob/OPT on /dev/dm-3 *** Every-time
Ubuntu boots from a separate SSD that is not on a LVM just a standard partition.
My System:
Linux ubuntu 4.15.0-38-generic #41-Ubuntu SMP Wed Oct 10 10:59:38 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
High Point Raid SSD7101A-1
# cat /etc/fstab [12:48:04]
UUID=68e43f21-defd-11e8-bb6b-509a4c948bb2 / ext4 defaults 0 0
UUID=85C4-45E7 /boot/efi vfat defaults 0 0
/swap.img none swap sw 0 0
UUID=MMDEva-uBpn-yE7l-cRuG-3hOH-Hcm9-XJQ5Li /mnt/OPT ext4 defaults 1 2
LVDisplay
--- Logical volume ---
LV Path /dev/ubuntu/OPT
LV Name OPT
VG Name ubuntu
LV UUID MMDEva-uBpn-yE7l-cRuG-3hOH-Hcm9-XJQ5Li
LV Write Access read/write
LV Creation host, time ubuntu, 2018-11-06 13:09:03 -0600
LV Status available
# open 0
LV Size 100.00 GiB
Current LE 25600
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:3
Journalctl -xb
Nov 12 11:29:25 ubuntu systemd[1]: Found device THNSF8120CCSE
Subject: Unit dev-disk-by\x2duuid-85C4\x2d45E7.device has finished start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit dev-disk-by\x2duuid-85C4\x2d45E7.device has finished starting up.
--
-- The start-up result is RESULT.
Nov 12 11:29:25 ubuntu systemd[1]: Mounting /boot/efi...
-- Subject: Unit boot-efi.mount has begun start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit boot-efi.mount has begun starting up.
Nov 12 11:29:25 ubuntu systemd[1]: Mounted /boot/efi.
-- Subject: Unit boot-efi.mount has finished start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit boot-efi.mount has finished starting up.
--
-- The start-up result is RESULT.
Nov 12 11:30:53 ubuntu systemd[1]: dev-disk-by\x2duuid-MMDEva\x2duBpn\x2dyE7l\x2dcRuG\x2d3hOH\x2dHcm9\x2d XJQ5Li.device: Job dev-disk-by\x2duuid-MMDEva\x2duBpn\x2dyE7l\x2dcRuG\
Nov 12 11:30:53 ubuntu systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-MMDEva\x2duBpn\x2dyE7l\x2dcRuG\x2d3hOH\x2dHcm9\x2d XJQ5Li.device.
-- Subject: Unit dev-disk-by\x2duuid-MMDEva\x2duBpn\x2dyE7l\x2dcRuG\x2d3hOH\x2dHcm9\x2d XJQ5Li.device has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit dev-disk-by\x2duuid-MMDEva\x2duBpn\x2dyE7l\x2dcRuG\x2d3hOH\x2dHcm9\x2d XJQ5Li.device has failed.
--
-- The result is RESULT.
Nov 12 11:30:53 ubuntu systemd[1]: Dependency failed for File System Check on /dev/disk/by-uuid/MMDEva-uBpn-yE7l-cRuG-3hOH-Hcm9-XJQ5Li.
-- Subject: Unit systemd-fsck@dev-disk-by\x2duuid-MMDEva\x2duBpn\x2dyE7l\x2dcRuG\x2d3hOH\x2dHcm9\x2d XJQ5Li.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit systemd-fsck@dev-disk-by\x2duuid-MMDEva\x2duBpn\x2dyE7l\x2dcRuG\x2d3hOH\x2dHcm9\x2d XJQ5Li.service has failed.
--
-- The result is RESULT.
Nov 12 11:30:53 ubuntu systemd[1]: Dependency failed for /mnt/OPT.
-- Subject: Unit mnt-OPT.mount has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit mnt-OPT.mount has failed.
--
-- The result is RESULT.
Nov 12 11:30:53 ubuntu systemd[1]: Dependency failed for Local File Systems.
-- Subject: Unit local-fs.target has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit local-fs.target has failed.
--
-- The result is RESULT.
I can mount manually using a variety of combinations.
ex: mount /dev/dm-3 /mnt/OPT or mount /dev/mapper/ubuntu-OPT /mnt/OPT or mount /dev/ubuntu/OPT /mnt/OPT
They are all successful.
Systemd is reporting a failed dependency so i'm guessing a service is not yet started that will allow me to mount the LV on boot.
I then need to drop to shell and remove the entry:
UUID=MMDEva-uBpn-yE7l-cRuG-3hOH-Hcm9-XJQ5Li /mnt/OPT ext4 defaults 1 2
from /etc/fstab.
Once the boot continues, the formatted LV
Auto mounts to /media/rob/OPT on /dev/dm-3 *** Every-time
Ubuntu boots from a separate SSD that is not on a LVM just a standard partition.
My System:
Linux ubuntu 4.15.0-38-generic #41-Ubuntu SMP Wed Oct 10 10:59:38 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
High Point Raid SSD7101A-1
# cat /etc/fstab [12:48:04]
UUID=68e43f21-defd-11e8-bb6b-509a4c948bb2 / ext4 defaults 0 0
UUID=85C4-45E7 /boot/efi vfat defaults 0 0
/swap.img none swap sw 0 0
UUID=MMDEva-uBpn-yE7l-cRuG-3hOH-Hcm9-XJQ5Li /mnt/OPT ext4 defaults 1 2
LVDisplay
--- Logical volume ---
LV Path /dev/ubuntu/OPT
LV Name OPT
VG Name ubuntu
LV UUID MMDEva-uBpn-yE7l-cRuG-3hOH-Hcm9-XJQ5Li
LV Write Access read/write
LV Creation host, time ubuntu, 2018-11-06 13:09:03 -0600
LV Status available
# open 0
LV Size 100.00 GiB
Current LE 25600
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:3
Journalctl -xb
Nov 12 11:29:25 ubuntu systemd[1]: Found device THNSF8120CCSE
Subject: Unit dev-disk-by\x2duuid-85C4\x2d45E7.device has finished start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit dev-disk-by\x2duuid-85C4\x2d45E7.device has finished starting up.
--
-- The start-up result is RESULT.
Nov 12 11:29:25 ubuntu systemd[1]: Mounting /boot/efi...
-- Subject: Unit boot-efi.mount has begun start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit boot-efi.mount has begun starting up.
Nov 12 11:29:25 ubuntu systemd[1]: Mounted /boot/efi.
-- Subject: Unit boot-efi.mount has finished start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit boot-efi.mount has finished starting up.
--
-- The start-up result is RESULT.
Nov 12 11:30:53 ubuntu systemd[1]: dev-disk-by\x2duuid-MMDEva\x2duBpn\x2dyE7l\x2dcRuG\x2d3hOH\x2dHcm9\x2d XJQ5Li.device: Job dev-disk-by\x2duuid-MMDEva\x2duBpn\x2dyE7l\x2dcRuG\
Nov 12 11:30:53 ubuntu systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-MMDEva\x2duBpn\x2dyE7l\x2dcRuG\x2d3hOH\x2dHcm9\x2d XJQ5Li.device.
-- Subject: Unit dev-disk-by\x2duuid-MMDEva\x2duBpn\x2dyE7l\x2dcRuG\x2d3hOH\x2dHcm9\x2d XJQ5Li.device has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit dev-disk-by\x2duuid-MMDEva\x2duBpn\x2dyE7l\x2dcRuG\x2d3hOH\x2dHcm9\x2d XJQ5Li.device has failed.
--
-- The result is RESULT.
Nov 12 11:30:53 ubuntu systemd[1]: Dependency failed for File System Check on /dev/disk/by-uuid/MMDEva-uBpn-yE7l-cRuG-3hOH-Hcm9-XJQ5Li.
-- Subject: Unit systemd-fsck@dev-disk-by\x2duuid-MMDEva\x2duBpn\x2dyE7l\x2dcRuG\x2d3hOH\x2dHcm9\x2d XJQ5Li.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit systemd-fsck@dev-disk-by\x2duuid-MMDEva\x2duBpn\x2dyE7l\x2dcRuG\x2d3hOH\x2dHcm9\x2d XJQ5Li.service has failed.
--
-- The result is RESULT.
Nov 12 11:30:53 ubuntu systemd[1]: Dependency failed for /mnt/OPT.
-- Subject: Unit mnt-OPT.mount has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit mnt-OPT.mount has failed.
--
-- The result is RESULT.
Nov 12 11:30:53 ubuntu systemd[1]: Dependency failed for Local File Systems.
-- Subject: Unit local-fs.target has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit local-fs.target has failed.
--
-- The result is RESULT.
I can mount manually using a variety of combinations.
ex: mount /dev/dm-3 /mnt/OPT or mount /dev/mapper/ubuntu-OPT /mnt/OPT or mount /dev/ubuntu/OPT /mnt/OPT
They are all successful.
Systemd is reporting a failed dependency so i'm guessing a service is not yet started that will allow me to mount the LV on boot.