Find the answer to your Linux question:
Results 1 to 4 of 4
Hello, I'm running a virtual machine of CentOS 3 and I am trying to decompress a tar file, but I run out disk space. I created the VM with 80 ...
  1. #1
    Just Joined!
    Join Date
    Feb 2011
    Location
    Inside the 495 loop...
    Posts
    5

    Need help with disk space

    Hello,

    I'm running a virtual machine of CentOS 3 and I am trying to decompress a tar file, but I run out disk space. I created the VM with 80 GB of disk space. When I look at the partititions, (du command) I have /dev/sda2 with a partition of 70GB mounted on /home with < 1% used.

    Here comes the n00b question: How do I use the 70GB of space on sda2? I thought working in the /home directory, where sda2 is mounted, would give me access to that disk space, but the tar files fill up the /boot partition.

    Confused n00b here. Thx for any help or pointers you can provide.

  2. #2
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,229
    lax617! Welcome

    It might help if you can post the output of

    Code:
    fdisk -l
    df -h
    -l is a small L
    nujinini
    Linux User #489667

  3. #3
    Just Joined!
    Join Date
    Feb 2011
    Location
    Inside the 495 loop...
    Posts
    5
    Hi Nujinini,

    Sorry, I wrote du when I meant df. Also, this is a different virtual machine, so I have a 20GB vmdk now. Here's there output of df:

    Filesystem Size Used Avail Use% Mounted on
    /dev/sda2 3.9G 2.6G 1.2G 70% /
    /dev/sda1 46M 9.2M 35M 22% /boot
    /dev/sda3 20G 33M 19G 1% /home
    none 250M 0 250M 0% /dev/shm
    Here's the fdisk:
    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 6 48163+ 83 Linux
    /dev/sda2 7 515 4088542+ 83 Linux
    /dev/sda3 516 3133 21029085 83 Linux
    /dev/sda4 3134 3263 1044225 f Win95 Ext'd (LBA)
    /dev/sda5 3134 3263 1044193+ 82 Linux swap

  4. #4
    Just Joined!
    Join Date
    Feb 2011
    Location
    Inside the 495 loop...
    Posts
    5
    nujinini thx for replying, but I see what I was doing wrong now and it was a noobie mistake. I was making a directory to extract the tar files into, but I was creating it in the wrong place!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...