Author Topic: Diskspace not cleared after adding/creating /home partition  (Read 427 times)

johand

  • Guest
Diskspace not cleared after adding/creating /home partition
« on: March 16, 2011, 02:15:01 PM »
helllo,

Because the / root drive of 12 GB was almost full (400 MB free) ;I started up control center and have selected manage local disks.
There I could create a /home partition free space still availabe on the disk.
I have selected that my /home files should be transferred to the new partition.
Everything worked fine but I don't have any more free space on the / root partition as before,although I have
now a / root and seperate /home partition.

mount gives me this:
/dev/sda1 on / type ext4 (rw,noatime,commit=0)
none on /proc type proc (rw)
/dev/sda6 on /home type ext4 (rw,noatime,commit=0)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

 df -h this :
/dev/sda1              12G   11G  437M  97% /
/dev/sda6              42G  8.6G   34G  21% /home

So I don't understand that I don't have more free space on /dev/sda1 although my /home directory should have been moved to the new /home partition.

Any help is appreciated.

Offline YouCanToo

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 5335
  • Location: Lebanon, OR., USA
    • Spreading the word.......
Re: Diskspace not cleared after adding/creating /home partition
« Reply #1 on: March 16, 2011, 02:21:17 PM »
helllo,

Because the / root drive of 12 GB was almost full (400 MB free) ;I started up control center and have selected manage local disks.
There I could create a /home partition free space still availabe on the disk.
I have selected that my /home files should be transferred to the new partition.
Everything worked fine but I don't have any more free space on the / root partition as before,although I have
now a / root and seperate /home partition.

mount gives me this:
/dev/sda1 on / type ext4 (rw,noatime,commit=0)
none on /proc type proc (rw)
/dev/sda6 on /home type ext4 (rw,noatime,commit=0)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

 df -h this :
/dev/sda1              12G   11G  437M  97% /
/dev/sda6              42G  8.6G   34G  21% /home

So I don't understand that I don't have more free space on /dev/sda1 although my /home directory should have been moved to the new /home partition.

Any help is appreciated.


Try running 'du' and see what is using the space.




Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Diskspace not cleared after adding/creating /home partition
« Reply #2 on: March 16, 2011, 03:08:16 PM »
I have selected that my /home files should be transferred to the new partition.

How did you transfer your home files ? using copy or using move ?

There is a chance you copied your files from /home to /newpartition and later you mounted /newpartition under the directory /home,
this way your original home files are still there  (using root partition space), but hidden by the newly mounted partition.

Log in as 'root' and umount /home partition, then look in /home directory ... alternatively boot from a LiveCD and check the content of both partitions from there.

AS