Quantcast
Channel: PirateBox Forum - Raspberry Pi(rate)Box
Viewing all articles
Browse latest Browse all 1863

Partition questionning

$
0
0
Hi!

My question is about the partition by defaults on the Pi after this distrib has been installed. I am not new to Linux, but still a beginner, and it's my first time trying to really use my Pi(es), not really the time before. I know the main bases about each kind of partition, mount/unmount system etc.
Anyway, my main concern!
I use a Samsumg 16Go SD card on a Raspberry B (not plus).
>>For the test, I reinstall on a 8Go one, to not erase my config on the first SD card.<<

If I do nothing, I have (when I used df on the fresh 8Go) :
Filesystem----1K-blocks-----Used-----Available-------Use%-----Mounted on
/dev/root -----1929616-------789492----1024056------44%-------/
devtmps-------218384----------0-----------218384-------0% -------/dev
tmpfs-----------222604----------0-----------222604-------0% -------/dev/shm
tmpfs-----------222604----------348--------222604-------1% ------- /run
tmpfs-----------222604----------0-----------222604-------0% ------- /sys/fs/cgroup
tmpfs-----------222604----------0-----------222604-------0% ------- /tmp
/dev/mmcblk0p1- 102182---15488------86694-------16% ------- /boot
tmpfs-----------44524-----------0------------44524-------0% ------- /run/user/0

Moreover, I used fdisk -l to have some more information. It says my disk is on /dev/mmcblk0 and has 7.4Go (which is indeed the case). But I have only two devices listed after, /dev/mmcblk0p1 and [...]p2, first one 100M FAT32 (the boot one if I understood well what you were saying on the other subject), ou 1.9G for the second, Linux type. So I have like 6Go which are... where?

I did some tweaks based on a resize for the root one, so now I have (on my 16Go SD, with some files already in the www/Shared folder as you can see from the used space in the root) :
Filesystem----1K-blocks-----Used-----Available-------Use%-----Mounted on
/dev/root------15082008---1374464---13061548-------10%-------/
devtmps-------218384----------0----------218384----------0% -------/dev
tmpfs-----------222604----------0----------222604----------0%-------/dev/shm
tmpfs-----------222604-----------316------222604 ---------0%-------/run
tmpfs-----------222604-----------0---------222604 ---------0%-------/sys/fs/cgroup
tmpfs-----------222604-----------0----------222604 --------0%-------/tmp
/dev/mmcblk0p1--102182----15488------86694---------16%-------/boot
tmpfs-----------44524-------------0-----------44524-------------0%-------/run/user/0
When I used fdisk _l, I have my disk of 14.8G, the boot device of 100M and the mmcblk0p2 which is 14.7 (full free space)/

I might have mistypes some of the numbers, but the idea is here. I resize the root partition because, as far as I know its there uploaded files are stored.

Did I misunderstood something important? Maybe even if the space is not shown by the partition, it will be slowly fill if needed?

Viewing all articles
Browse latest Browse all 1863

Trending Articles