Hi All,
I am on 22.03.rc4 and planning to increase my storage by using the overlay of squashfs method, pretty much creating a partition and setting it as external overlay using block mount. I tested by creating 2 partitions and format them using ext4:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 99.1M 0 loop /overlay
nvme0n1 259:0 0 119.2G 0 disk
├─nvme0n1p1 259:1 0 16M 0 part /boot
│ /boot
├─nvme0n1p2 259:2 0 104M 0 part /rom
├─nvme0n1p3 259:3 0 1G 0 part
├─nvme0n1p4 259:4 0 32G 0 part
└─nvme0n1p128 259:5 0 239K 0 part
After mounting, I get
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 99.1M 0 loop /overlay
nvme0n1 259:0 0 119.2G 0 disk
├─nvme0n1p1 259:1 0 16M 0 part /boot
│ /boot
├─nvme0n1p2 259:2 0 104M 0 part /rom
├─nvme0n1p3 259:3 0 1G 0 part /mnt/nvme0n1p3
├─nvme0n1p4 259:4 0 32G 0 part /mnt/nvme0n1p4
└─nvme0n1p128 259:5 0 239K 0 part
After that I copy /overlay/* into the nvme0n1p3 and use block mount in LUCI, the /etc/config/fstab as follow:
config mount
option enabled '1'
option target '/overlay'
option uuid 'c065f142-9ad9-43f6-ae07-27edc321c78b'
option fstype 'ext4'
config mount
option enabled '1'
option uuid '397469ea-a2e6-4ed6-8cfb-b5ce5b38b1ea'
option target '/mnt/nvme0n1p4'
option fstype 'ext4'
After a restart I still do not get the space expanded as intended, nvme0n1p3 is no longer mounted but nvme0n1p4 is still mounted.
Could this method still be used to expand of the storage while maintaining the use of squashfs?