Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using an 8GB SD card and installed Raspbian which is 3.9GB large. I suppose that about 4GB should be available, but it isn't. When I type 'df -ah' on my Raspberry pi, it shows

enter image description here

Only 65MB is available....

And this is diskutil list on my Mac OS X

enter image description here

And I did not install nothing but open-ssh..and vim..

share|improve this question
7  
As an aside, this was a very well written question. I appreciate the amount of information that you included without prompt. If you have questions in the future, please keep up the good form. It makes helping people so much easier! – Jacobm001 Jan 28 at 5:42
    
Why pasting text as screenshots? – Dmitry Grigoryev Jan 29 at 12:06
    
@DmitryGrigoryev - I actually like that. A screenshot includes color coding. – RQDQ Jan 29 at 15:11
up vote 41 down vote accepted

It appears that you have not yet expanded your file system. Run sudo raspi-config. Select Expand Filesystem (the first option at the time of this writing), and follow the instructions. After rebooting the system you should have significantly more space available.

share|improve this answer
    
Thanks, it really helps : ) – user3595632 Jan 28 at 5:36
    
Is my assumption correct that there is actually more than 65MB available, but that it's only showing 1 partition (i.e. the FAT32 partition)? – GroundZero Jan 28 at 13:02
2  
@GroundZero Yes. The image that was written to the SD card was of a certain size and contains a filesystem that "knows" this. When the image is written to the larger SD card it is written "as is" and is not expanded because that is best done from within the Raspian OS itself. That is what is done via the 1st menu-option in raspi-config. Most Raspian "getting started" manuals cover this .... The poster must have missed that. – Tonny Jan 28 at 15:08
    
@GroundZero: I started to edit my answer to address your question, but it's honestly another question entirely. If you post your comment as a question, I'd be happy to give you a detailed answer. In short, Tonny is correct. – Jacobm001 Jan 28 at 18:05
1  
@MarkBooth: decent point. I have updated the answer accordingly. – Jacobm001 Feb 8 at 17:08

Option 1:

Step 1: If this isn't a fresh install, back up your data.

Step 2: Run the command: sudo raspi-config

Step 3: Choose the option "Expand Filesystem" from the menu.

Option 2:

Step 1: Back up your data

Step 2: Put the SD card in to your PC/Mac and expand the main partition

Step 3: Put your data back on the SD card

share|improve this answer
    
Option 1 step 0 should still be "back it up". – Chris H Jan 29 at 9:02
3  
If they've only just installed Rasbian, there probably isn't anything to back up. – Holloway Jan 29 at 10:48

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.