From: Paul Menzel <pmenzel@molgen.mpg.de>
To: Hirofumi Ogawa <hirofumi@mail.parknet.co.jp>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Long mount time of ESP FAT partition
Date: Tue, 28 Feb 2023 14:00:06 +0100 [thread overview]
Message-ID: <af9723a2-a077-5fde-97d0-3c6ce216287a@molgen.mpg.de> (raw)
Dear Linux folks,
On a Dell Precision 3540 with Debian sid/unstable, Linux 6.1.12 takes
1.5 seconds to mount the 128 MB FAT partition `/dev/nvme0n1p1` to
`/boot/efi`.
```
$ lsblk --fs
NAME FSTYPE FSVER LABEL UUID
FSAVAIL FSUSE% MOUNTPOINTS
nvme0n1
├─nvme0n1p1 vfat FAT32 ESP 381C-FF6C
49.2M 61% /boot/efi
├─nvme0n1p2 crypto_LUKS 2
b88be798-13e3-4884-9748-bf7a23f0ae87
│ └─nvme0n1p2_crypt ext4 1.0
c9342a55-b747-4442-b2f4-bc03eb7a51cf 733G 17% /
└─nvme0n1p3 ext4 1.0 boot
16743b63-5a4f-404e-a46e-2db5add63980 303.6M 10% /boot
$ more /etc/fstab
[…]
/dev/disk/by-uuid/c9342a55-b747-4442-b2f4-bc03eb7a51cf / auto
defaults,errors=remount-ro 0 1
/dev/disk/by-uuid/16743b63-5a4f-404e-a46e-2db5add63980 /boot auto
defaults,errors=remount-ro 0 1
UUID=381C-FF6C /boot/efi vfat umask=0022 0 1
$ journalctl -b -u boot.mount -o short-precise
Feb 28 11:19:14.006616 morley systemd[1]: Mounting boot.mount - /boot...
Feb 28 11:19:14.013246 morley systemd[1]: Mounted boot.mount - /boot.
$ journalctl -b -u boot-efi.mount -o short-precise
Feb 28 11:19:14.014469 morley systemd[1]: Mounting boot-efi.mount -
/boot/efi...
Feb 28 11:19:15.550770 morley systemd[1]: Mounted boot-efi.mount -
/boot/efi.
```
On a Dell Latitude E7250 mounting a 128 MB FAT partition `/dev/sda1`
(SAMSUNG SSD PM851 mSATA 256GB) only takes 90 ms.
```
$ journalctl -u boot-efi.mount -o short-monotonic -b
[ 10.693263] ersatz systemd[1]: Mounting boot-efi.mount - /boot/efi...
[ 10.783176] ersatz systemd[1]: Mounted boot-efi.mount - /boot/efi.
```
Kind regards,
Paul
next reply other threads:[~2023-02-28 13:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-28 13:00 Paul Menzel [this message]
2023-03-01 20:15 ` OGAWA Hirofumi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=af9723a2-a077-5fde-97d0-3c6ce216287a@molgen.mpg.de \
--to=pmenzel@molgen.mpg.de \
--cc=hirofumi@mail.parknet.co.jp \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®