Fstab configuration

HI,

I use mount point and minidlna without a problem but in my log it seems that fstab does not have the right config?

Thu Dec 12 21:56:27 2024 user.info kernel: [    7.798209] block: attempting to load /tmp/overlay/upper/etc/config/fstab
Thu Dec 12 21:56:27 2024 user.err kernel: [    7.805059] block: unable to load configuration (fstab: Entry not found)
Thu Dec 12 21:56:27 2024 user.info kernel: [    7.811857] block: attempting to load /tmp/overlay/etc/config/fstab
Thu Dec 12 21:56:27 2024 user.err kernel: [    7.818141] block: unable to load configuration (fstab: Entry not found)
Thu Dec 12 21:56:27 2024 user.info kernel: [    7.824852] block: attempting to load /etc/config/fstab
Thu Dec 12 21:56:27 2024 user.err kernel: [    7.830797] block: unable to load configuration (fstab: Entry not found)
Thu Dec 12 21:56:27 2024 user.err kernel: [    7.837505] block: no usable configuration
Thu Dec 12 21:56:27 2024 user.info kernel: [    7.841739] block: attempting to load /etc/config/fstab
Thu Dec 12 21:56:27 2024 user.err kernel: [    7.846980] block: unable to load configuration (fstab: Entry not found)
Thu Dec 12 21:56:27 2024 user.err kernel: [    7.853695] block: no usable configuration
root@OpenWrt:~# cat /etc/config/fstab

config global
        option anon_swap '0'
        option anon_mount '0'
        option auto_swap '1'
        option auto_mount '1'
        option delay_root '5'
        option check_fs '0'

config mount
        option target '/rom'
        option uuid 'cad4e447-9b182387-c9f62205-a21e637f'
        option enabled '1'

config mount
        option target '/mnt/sda1'
        option uuid '037407e4-9c88-47f8-b7e5-c0d91a0385c6'
        option enabled '1'


how would we know if your fstab doesn't match reality ?

1 Like

what you need?

start with outputs of mount and blkid.

1 Like
blkid
/dev/mmcblk0p7: BLOCK_SIZE="262144" TYPE="squashfs" PARTLABEL="rootfs" PARTUUID="233f2c1c-20a5-11ee-9abf-000c29dba895"
/dev/mmcblk0p5: PARTLABEL="log" PARTUUID="233f2c1a-20a5-11ee-9abf-000c29dba895"
/dev/mmcblk0p3: PARTLABEL="fip" PARTUUID="233f2c18-20a5-11ee-9abf-000c29dba895"
/dev/mmcblk0p1: PARTLABEL="u-boot-env" PARTUUID="233f2c16-20a5-11ee-9abf-000c29dba895"
/dev/mmcblk0p6: PARTLABEL="kernel" PARTUUID="233f2c1b-20a5-11ee-9abf-000c29dba895"
/dev/mmcblk0p4: PARTLABEL="cfg" PARTUUID="233f2c19-20a5-11ee-9abf-000c29dba895"
/dev/mmcblk0p2: PARTLABEL="factory" PARTUUID="233f2c17-20a5-11ee-9abf-000c29dba895"
/dev/loop0: LABEL="rootfs_data" UUID="19724bc6-1dd2-11b2-8e04-9483c4a53962" BLOCK_SIZE="4096" TYPE="f2fs"
/dev/sda1: UUID="037407e4-9c88-47f8-b7e5-c0d91a0385c6" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="00610c8d-01"
root@OpenWrt:~# 

drwxr-xr-x    3 root     root          4096 Dec 11 12:54 sda1

ls <> mount

root@OpenWrt:~# ls <> mount
mount

Remove your usb drive, format ext4 and start again maybe?

1 Like