Use NVMe to mount all storage

I'm using nano pi r6c and got nvme installed to it.

Wanted to know which directories should be running from nvme and which image of openwrt should be used squash or ext4 I have 32gb emmc model

But since I plan to run some dockers I want to write to nvme

Would /overlay is only parition I need to move? Or var and tmp should also be moved

/var and /tmp are stored in RAM, there's nothing to move.

I guess you're doing https://openwrt.org/docs/guide-user/additional-software/extroot_configuration ?

Should I be using ext4 img and if I mount /overlay it would mount other storage as well right like home opt?

For extroot, it doesn't matter.

AFAIK /home isn't used in Openwrt.

Sorry I didn't understood when you said ext4 didn't matter should I be using ext4 img or squashfs

As I also found some people boot from microsd and then completely passover the system to nvme which approach is more recommended

For extroot it doesn't matter.

I could imagine this causing issues when upgrading Openwrt.

Thanks i was able to mount the /overlay to nvme drive but where has 32 GB eMMC storage gone ? Also can you clarify the image differences between ext4 img vs squashfs ?

root@OpenWrt:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                12.5M     12.5M         0 100% /rom
tmpfs                     3.9G    332.0K      3.9G   0% /tmp
/dev/nvme0n1p1          228.2G      2.1G    214.4G   1% /overlay
overlayfs:/overlay      228.2G      2.1G    214.4G   1% /
tmpfs                   512.0K         0    512.0K   0% /dev
root@OpenWrt:~# lsblk
NAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
mmcblk1      179:0    0  28.9G  0 disk
├─mmcblk1p1  179:1    0    16M  0 part
└─mmcblk1p2  179:2    0  28.8G  0 part /rom
mmcblk1boot0 179:32   0     4M  1 disk
mmcblk1boot1 179:64   0     4M  1 disk
nvme0n1      259:0    0 232.9G  0 disk
└─nvme0n1p1  259:1    0 232.9G  0 part /overlay

it was also mounted on /overlay, can't have two drives using the same mount point.

diff is outlined in the x86 combined image guide - https://openwrt.org/docs/guide-user/installation/openwrt_x86

That wiki is confusing as it's taking about x86 not arm.

I installed squashfs image and used expand rootfs does it makes ext4 image?

Are you saying image characteristics differ between arch's ?

Tried to get clarified with help of chatgpt the only thing I would miss if moved to ext4 image is factory reset. I verified this behavior and differences at my end and i would recommend the doc should also be updated in below format to bring in more clarity

Aspect squashfs + NVMe overlay Native ext4 Image
Root Filesystem Read-only squashfs (/rom) Fully writable ext4 partition
Writable Storage NVMe-mounted /overlay (ext4) Directly modified root partition
System Recovery Factory reset by wiping NVMe overlay No built-in reset; manual reflash required
Partition Expansion Requires extroot config to use NVMe Native resize2fs supports full disk expansion
Package Management Limited by overlay size (unless expanded via extroot) Full disk available for packages

Whenever you invoke the almighty and all knowing ai, the discussion is pretty much over. Who would we be to disagree.

Please let us know whether you confirmed that results table and if, which of the fields you did confirm. (On first glance this looks okayish, but I have not confirmed most fields myself, so I can not confirm much of anything here.)
Current generation AI tools like chatgpt are selected for offering convincing prose, but there is a somewhat important difference between convincing and factually correct.

I have seen some docs which itself are auto-generated. The only thing which I could not confirm is the package management

The generation part is less of a problem, the "is it actually true to the best of a knowledgeable human operating in good-faith" is what is missing if people who are not domain experts yet use AI bots and have to rely on the reply as "correct".

Well, then please add this as explicit information to the table... (which parts you confirmed).

if you're referring to openwrt, please post the links, we really don't want that kind of garbage content.

1,2,4 option I verified.

I did saw some doc written saying it's not verified and auto generated if I get it I'll post it

Please mark this directly in the post with the table, so others stumbling over this thread will be able to assess the quality of information (and taking chatgpt to create a hypothesis is A-OK, if like in this case, this hypothesis is then put to the test).

We had a wiki article about wifi meshes that had an explicit note about unverified AI-gunk, but IMHO that is a temporary issue...