After following the wiki for extroot, I ran into problems after rebooting. The mount points show nicely in LuCi, however the free space hasn't increased. In the shell I do not see any extra mountpoints, only the swap is enabled.
Could anyone give me some pointers?
My system:
System
Hostname OpenWrt
Model ZyXEL P-2812HNU-F1
Firmware Version OpenWrt Chaos Calmer 15.05.1 / LuCI 15.05-149-g0d8bbd2 Release git-15.363.78009-956be55)
Kernel Version 3.18.23
Luci system mountpoints screenshot: i.imgur.com/92ICh4A.png
Mounted file systems
rootfs / 105.11 MB / 111.56 MB 6% (6.45 MB)
ubi0:rootfs / 105.11 MB / 111.56 MB 6% (6.45 MB)
tmpfs /tmp 60.35 MB / 61.03 MB 1% (700.00 KB)
tmpfs /dev 512.00 KB / 512.00 KB 0% (0.00 B)
Mount Points
UUID: 9f02e83f-16e3-4c9f-8532-8db7f5ea004f (/dev/sda1, 10240 MB) /overlay ext2 defaults overlay no
UUID: b909f187-bbbc-49ea-8fd2-b9deba01dc8e (/dev/sda3, 465675 MB) /mnt/sda3 ext2 defaults no no
SWAP
/dev/sda2 (1024 MB)
ssh responds:
root@OpenWrt:/mnt# mount
rootfs on / type rootfs (rw)
ubi0:rootfs on / type ubifs (rw,noatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
root@OpenWrt:/mnt# df -h
Filesystem Size Used Available Use% Mounted on
rootfs 111.6M 6.5M 105.1M 6% /
ubi0:rootfs 111.6M 6.5M 105.1M 6% /
tmpfs 61.0M 700.0K 60.3M 1% /tmp
tmpfs 512.0K 0 512.0K 0% /dev
root@OpenWrt:/mnt# block info
/dev/ubi0_0: UUID="3e569e82-f5e8-400e-9cb8-222bb8a07aaf" VERSION="w4r0" TYPE="ubifs"
/dev/sda1: UUID="9f02e83f-16e3-4c9f-8532-8db7f5ea004f" VERSION="1.0" TYPE="ext2"
/dev/sda2: VERSION="1" TYPE="swap"
/dev/sda3: UUID="b909f187-bbbc-49ea-8fd2-b9deba01dc8e" VERSION="1.0" TYPE="ext2"
root@OpenWrt:/mnt# 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 '/overlay'
option uuid '9f02e83f-16e3-4c9f-8532-8db7f5ea004f'
option enabled '1'
config 'swap'
option device '/dev/sda2'
option enabled '1'
config 'mount'
option target '/mnt/sda3'
option uuid 'b909f187-bbbc-49ea-8fd2-b9deba01dc8e'
option enabled '1'
(I've changed delay_root to 15. Didn't help.)
The odd thing I could find is that dmesg shows that it doesn't understand ext4 nor ext3 nor ext2:
[ 5.668000] scsi 0:0:0:0: Direct-Access WDC WD50 00BEVT-00A0RT0 PQ: 0 ANSI: 6
[ 5.676000] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
[ 5.684000] sd 0:0:0:0: [sda] Write Protect is off
[ 5.688000] sd 0:0:0:0: [sda] Mode Sense: 3b 00 00 00
[ 5.688000] sd 0:0:0:0: [sda] No Caching mode page found
[ 5.692000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 5.740000] sda: sda1 sda2 sda3
[ 5.744000] sd 0:0:0:0: [sda] Attached SCSI disk
[ 8.056000] mount_root: mounting /dev/root
[ 8.060000] mount_root: loading kmods from internal overlay
[ 8.256000] block: attempting to load /etc/config/fstab
[ 8.264000] block: extroot: filesystem ext2 not supported by kernel
[ 8.280000] procd: - early -
[ 8.280000] procd: - watchdog -
[ 8.596000] Adding 1048572k swap on /dev/sda2. Priority:-1 extents:1 across:1048572k
[ 8.864000] procd: - ubus -
[ 9.876000] procd: - init -
(I reformatted the partitions to check all 3 formats.)
(Last edited by Markismus on 11 Jan 2017, 21:49)