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

Slow boot, looks like due to filesystem mounts



Hi Everyone,

I'm running Debian Unstable with KDE in one of my Virtual Box VMs. I
had to resize /dev/sda1. The resize operation included deleting swap
at /dev/sda2, increasing disk size of /dev/sda, extending /dev/sda1,
and recreating swap at the end of /dev/sda as /dev/sda2.

I'm now experiencing a long boot time:

$ sudo dmesg
...
[    1.449119] sd 1:0:0:0: [sda] Attached SCSI disk
[    1.460440] sr 2:0:0:0: [sr0] scsi3-mmc drive: 32x/32x xa/form2 tray
[    1.460445] cdrom: Uniform CD-ROM driver Revision: 3.20
[    1.646236] sr 2:0:0:0: Attached scsi CD-ROM sr0
[   47.969663] EXT4-fs (sda1): mounted filesystem
6da839d7-eace-442d-b267-838637721471 ro with ordered data mode. Quota
mode: none.
[   48.024530] Not activating Mandatory Access Control as
/sbin/tomoyo-init does not exist.
[   48.145988] systemd[1]: Inserted module 'autofs4'

I used blkid to find UUIDs:

$ sudo blkid
/dev/sda2: UUID="b05d2596-5301-47d1-b208-95fca81be94e" TYPE="swap"
PARTUUID="872398d9-02"
/dev/sda1: UUID="6da839d7-eace-442d-b267-838637721471"
BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="872398d9-01"

And I updated fstab:

$ cat /etc/fstab
...
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=6da839d7-eace-442d-b267-838637721471 /               ext4
errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=b05d2596-5301-47d1-b208-95fca81be94e none            swap    sw
           0       0
/dev/sr0        /media/cdrom0   udf,iso9660 user,noauto     0       0

The UUIDs match, so I am not sure what to look for next.

I ran systemd-analyze, but I don't see a problem:

$ cat analyze.txt
The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.

graphical.target @2.744s
└─multi-user.target @2.744s
  └─exim4.service @2.442s +301ms
    └─network-online.target @2.412s
      └─NetworkManager-wait-online.service @1.813s +598ms
        └─NetworkManager.service @1.599s +212ms
          └─network-pre.target @1.576s
            └─firewalld.service @1.122s +453ms
              └─polkit.service @983ms +136ms
                └─basic.target @964ms
                  └─sockets.target @964ms
                    └─dbus.socket @964ms
                      └─sysinit.target @959ms
                        └─swap.target @959ms

└─dev-disk-by\x2duuid-b05d2596\x2d5301\x2d47d1\x2db208\x2d95fca81be94e.swap
@946ms +12ms

└─dev-disk-by\x2duuid-b05d2596\x2d5301\x2d47d1\x2db208\x2d95fca81be94e.device
@910ms

Pressing ESC during boot does not take me to a text output. I can only
switch between a black screen or three dots while this is happening.

Does anyone know what my next step should be?

Thanks in advance.


Reply to: