- 主题:fstab不生效
安装 的ubuntu20.04 通过uuid来挂载硬盘,配置写到了fstab文件中,使用mount -a是生效的,但是重启后硬盘并不会自动挂载,这是个什么原因啊。
--
FROM 49.64.75.*
/etc/fstab配置文件如下:
UUID=1fcde2f9-b8c1-4733-bb63-a3889fd5bb6d / ext4 errors=rem
ount-ro 0 1
UUID=6C72-4776 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw
0 0
UUID=eb41eab3-9bff-4f90-8cbc-d1853a48f7ec /data ext4 defaults
0 0
【 在 gameplayer 的大作中提到: 】
: 贴一下fstab,翻翻syslog
--
FROM 49.64.75.*
Aug 14 12:23:21 221960110 systemd[1]: Dependency failed for Local File Syste
ms.
Aug 14 12:23:21 221960110 kernel: [ 0.000000] reserve setup_data: [mem 0x
0000000074000000-0x000000008fffffff] reserved
Aug 14 12:23:21 221960110 kernel: [ 0.000000] reserve setup_data: [mem 0x
00000000fd000000-0x00000000fe7fffff] reserved
Aug 14 12:23:21 221960110 kernel: [ 0.000000] reserve setup_data: [mem 0x
00000000feb00000-0x00000000feb03fff] reserved
Aug 14 12:23:21 221960110 systemd[1]: local-fs.target: Job local-fs.target/s
tart failed with result 'dependency'.
Aug 14 12:23:21 221960110 kernel: [ 0.000000] reserve setup_data: [mem 0x
00000000fec00000-0x00000000fec00fff] reserved
Aug 14 12:23:21 221960110 kernel: [ 0.000000] reserve setup_data: [mem 0x
00000000fec80000-0x00000000fed00fff] reserved
Aug 14 12:23:21 221960110 kernel: [ 0.000000] reserve setup_data: [mem 0x
00000000ff000000-0x00000000ffffffff] reserved
Aug 14 12:23:21 221960110 systemd[1]: boot-efi.mount: Job boot-efi.mount/sta
rt failed with result 'dependency'.
Aug 14 12:23:21 221960110 kernel: [ 0.000000] reserve setup_data: [mem 0x
0000000100000000-0x000000603fffffff] usable
Aug 14 12:23:21 221960110 kernel: [ 0.000000] efi: EFI v2.50 by INSYDE Co
rp.
Aug 14 12:23:21 221960110 kernel: [ 0.000000] efi: ACPI 2.0=0x73ffe014 SM
BIOS=0x6a537000 SMBIOS 3.0=0x6a535000 ESRT=0x6a53ab18 MEMATTR=0x5c36e018 MOK
var=0x5c36d000 RNG=0x6a534698
Aug 14 12:23:21 221960110 systemd[1]: Dependency failed for File System Chec
k on /dev/disk/by-uuid/6C72-4776.
Aug 14 12:23:21 221960110 systemd[1]: systemd-fsck@dev-disk-by\x2duuid-6C72\
x2d4776.service: Job systemd-fsck@dev-disk-by\x2duuid-6C72\x2d4776.service/s
tart failed with result 'dependency'.
Aug 14 12:23:21 221960110 kernel: [ 0.000000] efi: seeding entropy pool
Aug 14 12:23:21 221960110 systemd[1]: dev-disk-by\x2duuid-6C72\x2d4776.devic
e: Job dev-disk-by\x2duuid-6C72\x2d4776.device/start failed with result 'tim
eout'.
Aug 14 12:23:21 221960110 kernel: [ 0.000000] random: fast init done
Aug 14 12:23:21 221960110 kernel: [ 0.000000] secureboot: Secure boot dis
abled
Aug 14 12:23:21 221960110 kernel: [ 0.000000] SMBIOS 3.0.0 present.
Aug 14 12:23:21 221960110 kernel: [ 0.000000] DMI: Inspur NF8480M5/YZMB-0
0866-106, BIOS 4.1.22 11/12/2021
Aug 14 12:23:21 221960110 kernel: [ 0.000000] tsc: Detected 2800.000 MHz
processor
Aug 14 12:23:21 221960110 systemd[1]: dev-disk-by\x2duuid-eb41eab3\x2d9bff\x
2d4f90\x2d8cbc\x2dd1853a48f7ec.device: Job dev-disk-by\x2duuid-eb41eab3\x2d9
bff\x2d4f90\x2d8cbc\x2dd1853a48f7ec.device/start timed out.
Aug 14 12:23:21 221960110 kernel: [ 0.000453] e820: update [mem 0x0000000
0-0x00000fff] usable ==> reserved
Aug 14 12:23:21 221960110 systemd[1]: Timed out waiting for device /dev/disk
/by-uuid/eb41eab3-9bff-4f90-8cbc-d1853a48f7ec.
Aug 14 12:23:21 221960110 kernel: [ 0.000456] e820: remove [mem 0x000a000
0-0x000fffff] usable
Aug 14 12:23:21 221960110 kernel: [ 0.000470] last_pfn = 0x6040000 max_ar
ch_pfn = 0x400000000
Aug 14 12:23:21 221960110 systemd[1]: Dependency failed for /data.
Aug 14 12:23:21 221960110 kernel: [ 0.000773] x86/PAT: Configuration [0-7
]: WB WC UC- UC WB WP UC- WT
Aug 14 12:23:21 221960110 systemd[1]: data.mount: Job data.mount/start faile
d with result 'dependency'.
Aug 14 12:23:21 221960110 kernel: [ 0.002456] total RAM covered: 392000M
Aug 14 12:23:21 221960110 kernel: [ 0.002593] gran_size: 64K chun
k_size: 64K num_reg: 10 lose cover RAM: 129G
Aug 14 12:23:21 221960110 kernel: [ 0.002596] gran_size: 64K chun
k_size: 128K num_reg: 10 lose cover RAM: 129G
Aug 14 12:23:21 221960110 systemd[1]: dev-disk-by\x2duuid-eb41eab3\x2d9bff\x
2d4f90\x2d8cbc\x2dd1853a48f7ec.device: Job dev-disk-by\x2duuid-eb41eab3\x2d9
bff\x2d4f90\x2d8cbc\x2dd1853a48f7ec.device/start failed with result 'timeout
'.
Aug 14 12:23:21 221960110 systemd[1]: Starting Load AppArmor profiles...
Aug 14 12:23:21 221960110 systemd[1]: Starting Set console font and keymap..
.
这个地方报错了。
【 在 kjeldahl 的大作中提到: 】
: /etc/fstab配置文件如下:
: UUID=1fcde2f9-b8c1-4733-bb63-a3889fd5bb6d / ext4 errors=rem
: ount-ro 0 1
: ...................
--
FROM 49.64.75.*
6666,可以了,这个 是啥么个原因呀。
【 在 iwannabe 的大作中提到: 】
: vfat有没有umark,把umask=0077改成defaults
--
FROM 49.64.75.*
那bug不少呀,上次还遇见两个bug:网卡不能自适应,不插网线固定ip不显示 。。
【 在 iwannabe 的大作中提到: 】
: 网上搜一下,这个是ubuntu的一个bug
--
FROM 49.64.75.*