Results 1 to 8 of 8

Thread: [SOLVED] gparted did not erase data from hdd

  1. #1
    Join Date
    Aug 2007
    Beans
    42

    [SOLVED] gparted did not erase data from hdd

    I'm trying to mount a HDD that used to run my OS, since I decided to use a smaller drive. I used gparted to create a ext3 HDD, yet I am seeing a 7.6GB use of the drive... I assumed that the gparted would have cleaned up and files that were floating around on the HDD when it formatted it, I can't find what it using the space (tried a sudo nautilus to make sure there weren't hidden files).

    Any suggestions or ideas why this happened?

    Cheers

    Cobbs

  2. #2
    Join Date
    Oct 2005
    Location
    Jacksonville, FL
    Beans
    29,420

    Re: gparted did not erase data from hdd

    What's the output of this command from a terminal?

    Code:
    df -h
    You can also format a new harddrive/partition from a terminal too.
    In the world of Linux, who needs Windows and Gates...

    Got most of my golden beans at an auction on eBay (with a couple of free drinks).

  3. #3
    Join Date
    Aug 2007
    Beans
    42

    Re: gparted did not erase data from hdd

    Filesystem Size Used Avail Use% Mounted on
    /dev/sda1 71G 8.8G 58G 14% /
    tmpfs 1013M 0 1013M 0% /lib/init/rw
    varrun 1013M 300K 1012M 1% /var/run
    varlock 1013M 0 1013M 0% /var/lock
    udev 1013M 2.8M 1010M 1% /dev
    tmpfs 1013M 784K 1012M 1% /dev/shm
    lrm 1013M 2.0M 1011M 1% /lib/modules/2.6.27-7-generic/volatile
    /dev/sdb1 147G 188M 140G 1% /media/disk

  4. #4
    Join Date
    Oct 2005
    Location
    Jacksonville, FL
    Beans
    29,420

    Re: gparted did not erase data from hdd

    Quote Originally Posted by Cobbs View Post
    Filesystem Size Used Avail Use% Mounted on
    /dev/sda1 71G 8.8G 58G 14% /
    tmpfs 1013M 0 1013M 0% /lib/init/rw
    varrun 1013M 300K 1012M 1% /var/run
    varlock 1013M 0 1013M 0% /var/lock
    udev 1013M 2.8M 1010M 1% /dev
    tmpfs 1013M 784K 1012M 1% /dev/shm
    lrm 1013M 2.0M 1011M 1% /lib/modules/2.6.27-7-generic/volatile
    /dev/sdb1 147G 188M 140G 1% /media/disk
    Are we talking about /dev/sdb1 here? The thing is empty. The reason you see 7.6GB of space used with gparted is perhaps due to 5% reserved for ext3 filesystem.
    In the world of Linux, who needs Windows and Gates...

    Got most of my golden beans at an auction on eBay (with a couple of free drinks).

  5. #5
    Join Date
    Aug 2007
    Beans
    42

    Re: gparted did not erase data from hdd

    Yes, the /dev/sdb1 is the drive in question, is it best to stay with the ext3 partition or go with something else? I can live with the 5% if need be, I was just wondering if there were leftovers from the old drive that were taking up space.

  6. #6
    Join Date
    Oct 2005
    Location
    Jacksonville, FL
    Beans
    29,420

    Re: gparted did not erase data from hdd

    It's best to stick with ext3 filesystem and once you format it, there is nothing left from previous system. However, you can set the reserved space to 0% if you wish but since you have a large partition/drive, 147GB, I wouldn't worry too much about that 5%.
    In the world of Linux, who needs Windows and Gates...

    Got most of my golden beans at an auction on eBay (with a couple of free drinks).

  7. #7
    Join Date
    Aug 2007
    Beans
    42

    Re: gparted did not erase data from hdd

    Ok, excellent, thanks taurus!

  8. #8
    Join Date
    Oct 2007
    Location
    Chennai, India
    Beans
    3,804
    Distro
    Ubuntu Development Release

    Re: gparted did not erase data from hdd

    Quote Originally Posted by Cobbs View Post
    is it best to stay with the ext3 partition or go with something else? I can live with the 5% if need be,
    ext3 is the best option.

    That 5% is reserved for root operations when the drive gets full. Typically (for example in Windows) when the drive gets full, you cannot get in even to delete files to create space. To avoid such a situation, ext3 reserves 5% space for usage of root alone. When your harddisk gets full, it's actually 95% full, and critical system processes running as root will continue to function even so. You can also get it as root and delete files to create space.
    Cheers,PRShah
    Make your own: Ubuntu, Kubuntu, Xubuntu, Mythbuntu All-in-One Live DVD
    "I never make mistakes; I thought I did, once.. but I was wrong."

Bookmarks

Posting Permissions

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