[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Persistence with apt-get



Hi, Richard.
Thank you for your nice tip!

> I think I would have tried for full persistence in your example with only one
> line in the persistence.conf file of something like:
>
> echo "/ union" > /media/usb0/persistence.conf

By only this single line in persistence.conf,
installng various packages is now doing quite well.

> # df
> Filesystem     1K-blocks    Used Available Use% Mounted on
> aufs             1981792    6752   1975040   1% /
> tmpfs             792720    9160    783560   2% /run
> /dev/sr0         1015808 1015808         0 100%
> /lib/live/mount/persistence/sr0
> /dev/loop0        892800  892800         0 100%
> /lib/live/mount/rootfs/filesystem.squashfs
> tmpfs            1981792       0   1981792   0% /lib/live/mount/overlay
> /dev/sdb1        1902364  436920   1350760  25% /home
> aufs             1902364  436920   1350760  25% /bin
> aufs             1902364  436920   1350760  25% /etc
> aufs             1902364  436920   1350760  25% /sbin
> aufs             1902364  436920   1350760  25% /usr
> devtmpfs           10240       0     10240   0% /dev
> tmpfs            1981792      76   1981716   1% /dev/shm
> tmpfs               5120       4      5116   1% /run/lock
> tmpfs            1981792       0   1981792   0% /sys/fs/cgroup
> tmpfs            1981792      12   1981780   1% /tmp
> tmpfs             396360      16    396344   1% /run/user/1000
>
> /bin, /etc, /sbin and /usr use aufs.
> Its Use% has increased than the initial value.
> If I execute many "apt-get install ‾" from now on,
> will this value amount eventually to 100%?

I've resolved this problem by gparted.
Enlarging the 2GiB persistence partition to 4GiB,
the disk usage is now like this.

$ df
Filesystem     1K-blocks    Used Available Use% Mounted on
aufs             4062912 1019048   2817768  27% /
tmpfs             409852    6008    403844   2% /run
/dev/sr0         1015808 1015808         0 100% /lib/live/mount/persistence/sr0
/dev/loop0        892800  892800         0 100%
/lib/live/mount/rootfs/filesystem.squashfs
tmpfs            1024620       0   1024620   0% /lib/live/mount/overlay
/dev/sda2        4062912 1019048   2817768  27% /lib/live/mount/persistence/sda2
devtmpfs           10240       0     10240   0% /dev
tmpfs            1024620      76   1024544   1% /dev/shm
tmpfs               5120       4      5116   1% /run/lock
tmpfs            1024620       0   1024620   0% /sys/fs/cgroup
tmpfs            1024620       4   1024616   1% /tmp
tmpfs             204928      12    204916   1% /run/user/1000


Cheers,
EenyMeenyMinyMoa


Reply to: