December-30th-2020, 02:27 PM
(December-29th-2020, 08:23 PM)Armin@netPI Wrote: Ok understood. To be honest the tip I gave in this post was not verfied by myself. I just trusted in what a colleague of mine told me. I need to try it myself I think.
So just to repeat what you have done. You had the original 8GByte SD card in the version V1.2.0.0 This one you cloned to a 32Gbyte SD card and put it back into your netPI. During this first boot sequence the new 32Gbyte SD card should still indicate 8Gbyte in size. Then you initated the update to 1.2.2.0 with this large SD card. After the next boot it still shows 8Gbyte but should show 30Gbyte+ as my colleague told us. But it does not. Is my understanding correct so far how you proceed?
If yes then could you again apply the update from 1.2.2.0 to 1.2.2.0 again with the 32GByte SD card. What does netPI indicate then?
Thx
Armin
Hi Armin, here the way I tried:
1.) clone SD-Card 8GB to image v1.2.0
2.) restore image to 32GB SD-Card from that image v1.2.0
3.) put the 32GB into netPI and started to see that it works well - all worked as with the original 8GB card - 6.9GB was the size
4.) switched off and plugged in the USB RECOVERY stick v1.2.2 and power on
5.) after that Act was off from finished Upgrade power off and power on - we are on v1.2.2 now
6.) 6.9GB (PV) were allocated from SD and nearly 24GB were free without any Partition
7.) tried to do it again from points 4 to 6 again - same result it stays on 6.9GB and did no resize, but RECOVERY worked well (pw, user, all reset)
8.) made a primary partition (Partition 4) via other Linux-PC
9.) created a new PV on the 24GB partition
10.) add of the new PV to the group "rootfs"
11.) extended LV SYSTEM with fsresize to %100Free - done and netPI showed nearly 30GB
I think it is blocked from the fact that PV (Partition 3) stays on 6.9GB. A resize of the LV would work but does nothing caused by the size of the PV of just 6.9GB.
If the PV would get resized to use 100% free space, then it could extend later the LV:SYSTEM to 100% free as well, couldn't it?
There are some ways to solve it and maybe there is also a way as you described, which would be the easiest way to enlarge the SD-Card
Happy new year, Armin!