hi
I have no the same problem with RPi4 8GB SC card
/dev/root 6.8G used 6.7 avail 167M Use 98%
now what can I due to get mor e space again
Max
Another thought is to copy your root filesystem to an ext4-formatted iSCSI network-attached storage device and then use the 8GB SD card only for the initial boot. More specifically, you need to create an initial RAM filesystem with the passwords needed to mount the NAS and then pivot root to the iSCSI device.
Sounds like a recipe for disaster if the single 6 TB drive fails!ejolson wrote: ↑Sat Oct 05, 2019 4:06 pmAnother thought is to copy your root filesystem to an ext4-formatted iSCSI network-attached storage device and then use the 8GB SD card only for the initial boot. More specifically, you need to create an initial RAM filesystem with the passwords needed to mount the NAS and then pivot root to the iSCSI device.
This approach allows a single 6TB drive to be split into pieces that serve as the root filesystems for 100 Pi computers.
Code: Select all
sudo apt cleanThat's an good point. It might be a good idea to make backups once in a while. From this point of view, it is much easier to backup a single 6TB drive than 100 separate SD cards.pfletch101 wrote: ↑Sat Oct 05, 2019 4:34 pmSounds like a recipe for disaster if the single 6 TB drive fails!ejolson wrote: ↑Sat Oct 05, 2019 4:06 pmAnother thought is to copy your root filesystem to an ext4-formatted iSCSI network-attached storage device and then use the 8GB SD card only for the initial boot. More specifically, you need to create an initial RAM filesystem with the passwords needed to mount the NAS and then pivot root to the iSCSI device.
This approach allows a single 6TB drive to be split into pieces that serve as the root filesystems for 100 Pi computers.
It is. See that thread for what I've done. All my Pis netboot, and the ones which can do it natively do so without SD cards. The ones that can't have SD cards containing bootcode.bin only, which works nicely, and allows the kernel and firmware files to be managed as if they were still local.
This is true. It needs a bit of setting up. You can also create an initrd on an SD card to handle an NFS root, and probably more easily than for iSCSI: mkinitramfs can just do it as a default. Not tried iSCSI in a while, admittedly.I haven't looked into the details, however, pure network-boot schemes often require carefully configured DHCP and TFTP servers to be available on the local subnet. Such things are not necessary when an SD card is used for the initial program load.
I believe apt automatically removes those files once installation is complete, unlike apt-get which leaves them behind and requires the "clean" option every now and then.B.Goode wrote: ↑Sat Oct 05, 2019 6:00 pmIf you have been a regular user of apt to keep your system updated, or to install additional packages, thenmight release the space taken by some temporary files.Code: Select all
sudo apt clean