LogicalUnit
Posts: 14
Joined: Thu Jan 03, 2013 9:01 am

Filesystem Size

Thu Jan 03, 2013 9:11 am

Hi all, I'm new to Raspberry Pi, and somewhat new to Linux. I'm trying to setup a LAMP server using the instructions here: http://my-music.mine.nu/images/rpi_rasp ... _setup.pdf

I get stuck halfway through because my device runs out of space. I'm using a 4GB SD card. Here is the output of a df -h

root@raspberrypi:/home/pi# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 1.8G 1.8G 0 100% /
/dev/root 1.8G 1.8G 0 100% /
devtmpfs 220M 0 220M 0% /dev
tmpfs 44M 224K 44M 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 88M 0 88M 0% /run/shm
/dev/mmcblk0p1 56M 17M 40M 30% /boot

Can someone please explain this to me? Why is /dev/root only 1.8GB? Can I expand it somehow?

Thanks :)

User avatar
redhawk
Posts: 3465
Joined: Sun Mar 04, 2012 2:13 pm
Location: ::1

Re: Filesystem Size

Thu Jan 03, 2013 9:24 am

You need to run raspi-config again there's an option to expand the filesystem to use all of your memory card.

Richard S.

Return to “General discussion”