HI,
do you know why I'm not seeing my dev/sda1
in the mounted files system?
on the print screen everything seems to be there except in the the sda...
When I try to add something on my usb drive, it says it is full...
HI,
do you know why I'm not seeing my dev/sda1
in the mounted files system?
on the print screen everything seems to be there except in the the sda...
When I try to add something on my usb drive, it says it is full...
Change the mount point to something other than /overlay - overlay is already mounted
/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 'mnt/sda1'
option uuid 'e90646d7-9fd3-4fd6-b862-ac03800489c3'
option enabled '1'
If the internal overlay is full, you will not be able to make configuration changes. This can happen by writing to /mnt/sda1 while the external drive is not mounted. Make sure the external drive is not mounted then rm -r /mnt/sda1
followed by mkdir /mnt/sda1
.
I did it, and reboot the router, seems to be the same
block detect
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 '/mnt/sda1'
option uuid 'e90646d7-9fd3-4fd6-b862-ac03800489c3'
option enabled '0'
root@OpenWrt:/mnt/sda1# 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 'mnt/sda1'
option uuid 'e90646d7-9fd3-4fd6-b862-ac03800489c3'
option enabled '1'
block detect vs fstab setting, one has enabled to 0 and the other one to 1
also : block mount block: No "mount.ext4" utility available block: mounting /dev/sda1 (ext4) as /mnt/sda1 failed (2) - No such file or directory
The mnt/sda1
is there,
root@OpenWrt:/mnt/sda1#
change this (in /etc/config/fstab):
config mount
option target 'mnt/sda1'
option uuid 'e90646d7-9fd3-4fd6-b862-ac03800489c3'
option enabled '1'
to this (in /etc/config/fstab):
config mount
option target '/mnt/sda1'
option uuid 'e90646d7-9fd3-4fd6-b862-ac03800489c3'
option enabled '1'
add this lines into /etc/rc.local
# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.
if [ ! -d /mnt/sda1 ]; then
mkdir /mnt/sda1
fi
exit 0
ps: a tip if you think that for some reason you will have to write to /mnt/sda1 before it can be properly mounted (so that any files created are not mistakenly written to the /overlay partition but to /tmp which is mounted in ram, Reduce flash writes)
I suggest you move the mount point to /tmp
example "/tmp/mnt/sda1"
then you will have to edit the /etc/config/fstab and /etc/rc.local files