[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem: Slow boot -- Mounts fail.



andreimpopescu@gmail.com wrote on 6/29/19 1:15 AM:
On Vi, 28 iun 19, 11:26:43, Dennis Wicks wrote:
andreimpopescu@gmail.com wrote on 6/24/19 2:09 AM:
On Ma, 14 mai 19, 16:38:37, Dennis Wicks wrote:

How do I prevent the mounts from failing and make the system continue on
with the boot process?

You could start by attaching your /etc/fstab and copy-pasting the output
of 'lsblk -f' with all partitions mounted.

It would also be useful to know what init system you are using
(ls -l /sbin/init) and if your mounts have any specials (LVM, encrypted,
NFS, RAID, etc.) basically anything besides plain extX filesystems
mounted from internal drives.

Kind regards,
Andrei

No need for all that!

Hmm...
All my mounts are local PATA and SATA drives. The SATA drives are on an
adapter card. All the file systems are xfs, ext2, ext4 or swap and use
either /dir/dir, LABEL= or UUID=.
All very vanilla. No LVM, encrypted, NFS, RAID, etc. Doesn't make any
difference as *all* of the mounts are failing on the first pass!

I found a work around on a forum. Put "nofail" in the options field of
fstab. So now my entries contain "defaults,nofail" or "sw,pri=100,nofail" in
the options field.

Doesn't make any difference though. All the
    Dependency failed for ...
     Timeout waiting for ...
messages still occur, they just don't stop the boot process and the mounts
get done successfully later on.(??)

I can't tell what might have caused this as I don't re-boot after every
update, just when an update to the kernel occurs. I think it was about the
time that systemd was implemented as the boot screen looked different when
the mount failures started happening.

There are a lot of eyes on this list and someone might spot something
that you don't even think might have an impact.

But then it's your system, your rules ;)

Kind regards,
Andrei


OK! Be my guest!!

One thing I have noticed is that it seems to do everything 2 or 3 times while it is booting, and it takes about 30 mins before my desktop (xfce) is up and functioning.

TNX!
wix@dgwicks:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier and label for a
# device; this may be used with UUID= or LABEL= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system>                                <mount point>    <type>  <options>       <dump>  <pass>
# / was on /dev/sda2 during installation
LABEL=Root                                      /               xfs     defaults,nofail,x-systemd.device-timeout=20        0       0
# /boot was on /dev/sda1 during installation
LABEL=Boot                                      /boot           ext2    defaults,nofail,x-systemd.device-timeout=20        0       0
# /home was on /dev/sda4 during installation
LABEL=Home                                      /home           xfs     defaults,nofail,x-systemd.device-timeout=20        0       0

# /home2 contains some files required for system setup. eg, etc2
LABEL=Home2                                       /home2          xfs     defaults,nofail,x-systemd.device-timeout=20        0 0

# this is on sysres and is only used for rescue mode when other vols are not mounted
# LABEL=SwapRes                                    none           swap    sw,pri=100,nofail,x-systemd.device-timeout=20      0       0

LABEL=Swap1                                       none           swap    sw,pri=100,nofail,x-systemd.device-timeout=20      0       0
LABEL=Swap2                                       none           swap    sw,pri=100,nofail,x-systemd.device-timeout=20      0       0
LABEL=Swap3                                      none           swap    sw,pri=100,nofail,x-systemd.device-timeout=20      0       0
/wa3/Swap4                                      none           swap    sw,pri=100,nofail,x-systemd.device-timeout=20      0       0
/wa1/Swap5                                      none           swap    sw,pri=100,nofail,x-systemd.device-timeout=20      0       0
/wa2/Swap6                                      none           swap    sw,pri=100,nofail,x-systemd.device-timeout=20      0       0
/pvt04/Swap7                                      none           swap    sw,pri=100,nofail,x-systemd.device-timeout=20      0       0

LABEL=PubDtaMaster                              /edrv           xfs     defaults,nofail,x-systemd.device-timeout=20        0 0
LABEL=PubDtaMirror                              /edrv-mirror    xfs     defaults,nofail,x-systemd.device-timeout=20        0 0
LABEL=Painter-C                                 /Painter-C      xfs     defaults,nofail,x-systemd.device-timeout=20        0 0
LABEL=Painter-D                                 /Painter-D      xfs     defaults,nofail,x-systemd.device-timeout=20        0 0

LABEL=Volume1                                   /b1             ext4    defaults,nofail,x-systemd.device-timeout=20        0 0
LABEL=Volume2                                   /b2             xfs     defaults,nofail,x-systemd.device-timeout=20        0 0

# General work and storage areas
UUID=20173008-eeaa-41cd-b862-f7d0b871895d       /wa1            xfs     defaults,nofail,x-systemd.device-timeout=20        0 0
UUID=9092610b-7eec-40b6-956c-8deea77d65a9       /wa2            xfs     defaults,nofail,x-systemd.device-timeout=20        0 0
LABEL=Work-Area-3                               /wa3            xfs     defaults,nofail,x-systemd.device-timeout=20        0 0
UUID=0848ac45-2c69-4a0f-9b72-b9f870496df1       /work3          ext4    defaults,nofail,x-systemd.device-timeout=20        0 0

UUID=f4043585-df77-4553-9acc-cdb969a348e6       /work4          ext4    defaults,nofail,x-systemd.device-timeout=20        0 0


UUID=2a6011d2-666e-4d2c-8ed1-4fa3fe3fa6ff       /pvt01          xfs     defaults,nofail,x-systemd.device-timeout=20        0 0
UUID=56131889-1a09-43cb-a367-6751f3a08761       /pvt02          xfs     defaults,nofail,x-systemd.device-timeout=20        0 0
UUID=462287b5-a363-4089-999d-649b54ad973c       /pvt03          xfs     defaults,nofail,x-systemd.device-timeout=20        0 0
UUID=fdbb6809-77c2-4f74-ad64-310677f8ac34       /pvt04          xfs     defaults,nofail,x-systemd.device-timeout=20        0 0

/dev/sr0                                        /media/cdrom0   udf,iso9660 user,noauto     0       0
wix@dgwicks:~$ lsblk -f
NAME   FSTYPE   LABEL        UUID                                 FSAVAIL FSUSE% MOUNTPOINT
fd0                                                                              
loop0  squashfs                                                         0   100% /snap/hugo/4736
loop1  squashfs                                                         0   100% /snap/core/7272
loop2  squashfs                                                         0   100% /snap/hugo/4623
loop3  squashfs                                                         0   100% /snap/core/7170
sda                                                                              
├─sda1 xfs      Painter-C    ad799e62-857c-46ad-9095-bab1077446dc    5.4G    95% /Painter-C
├─sda2 xfs      Painter-D    57d8b989-5291-4dd2-a50e-033ab7923406    5.6G    90% /Painter-D
└─sda3 xfs      Work-Area-3  941484e1-65ca-4d6e-bdd6-15884b533431  137.9G     4% /wa3
sdb                                                                              
├─sdb1 xfs      PubDtaMaster 4283d59b-8e0b-4f6a-ad33-47dff4e2198c   32.7G    86% /edrv
└─sdb2 xfs      Work-Area-1  20173008-eeaa-41cd-b862-f7d0b871895d  244.5G    65% /wa1
sdc                                                                              
├─sdc1 xfs      PubDtaMirror 34ad7e8b-36f9-4dbe-9717-ccaa1b273337  232.9G     0% /edrv-mirror
├─sdc2 swap     Swap1        85d23a0c-201b-4cc7-92a4-414f464b172e                [SWAP]
├─sdc3 xfs      Home2        50cc1b9d-08aa-4fc1-8896-f2236ec9e0fb  148.1G    44% /home2
└─sdc4 xfs                   9092610b-7eec-40b6-956c-8deea77d65a9  226.8G    47% /wa2
sdd                                                                              
├─sdd1 xfs      Priv-01      2a6011d2-666e-4d2c-8ed1-4fa3fe3fa6ff   86.2G    63% /pvt01
├─sdd2 xfs      Priv-02      56131889-1a09-43cb-a367-6751f3a08761    2.4G    99% /pvt02
├─sdd3 xfs      Priv-03      462287b5-a363-4089-999d-649b54ad973c   26.9G    88% /pvt03
└─sdd4 xfs      Priv-04      fdbb6809-77c2-4f74-ad64-310677f8ac34  208.6G    11% /pvt04
sde                                                                              
├─sde1 ext2     Boot         5df12a81-d17f-4bb1-9660-cf6960faea7c     41M    58% /boot
├─sde2 xfs      Root         74037bed-3354-47f6-8f24-8198138fb7a2  118.6G     9% /
├─sde3 swap     SwapRes      dcca2a56-a795-40d3-b45e-8df81abd5acb                
└─sde4 xfs      Home         fe371c8d-051b-4ec7-8bc2-5e4e9bcfe9e0     84G    13% /home
sdf                                                                              
├─sdf1 ext4     Volume1      5ddf0a1b-2092-4595-8175-c5e18de20d4a   17.6G    87% /b1
├─sdf2 xfs      Volume2      ad585e14-be39-404e-817e-4f2bb587f9e5    406M    91% /b2
├─sdf3 swap     Swap2        56371adf-4364-4b05-b441-a633839fdbf5                [SWAP]
└─sdf4 ext4     work-b4      f4043585-df77-4553-9acc-cdb969a348e6    836K     1% /work4
sdg                                                                              
├─sdg1 ext4                  0848ac45-2c69-4a0f-9b72-b9f870496df1   43.2G    75% /work3
├─sdg2 swap     Swap3        72898d09-8b30-4fdd-82a3-5c85bf2e048c                [SWAP]
└─sdg3 xfs                   cde81105-e821-4630-8bc0-e56e7deaa63e                
sr0                                                                              
wix@dgwicks:~$ ls -l /sbin/init
lrwxrwxrwx 1 root root 20 May 24 15:58 /sbin/init -> /lib/systemd/systemd
wix@dgwicks:~$ 


Reply to: