Results 1 to 7 of 7

Thread: disk space after upgrade

  1. #1
    Member registered user
    Join Date
    Apr 2005
    Posts
    93

    disk space after upgrade

    How do i find how much used disk space is on my harddrive. Is there a command for this.I used apt-get remove to get rid of files and thought I had deleted about 370MB of files and i am sure that i haven't installed anywhere near that but right clicking on my hda5 suggests that i have used nearly 5GB of space and looking in my system there are still folders with some of tjheb supposedly removed files still there. When i do dpkg -W or dpkg -l the files that i thought i had deleted are still there, but when I do apt-get remove again it says the files don't exist. I used apt-get -remove , deborphan and apt-get clean to remove the packages.

  2. #2
    Senior Member registered user
    Join Date
    Jul 2004
    Location
    Southern Maine, US
    Posts
    274
    du is disk usage (i.e) filesize...so du / would display how much space everything is using, or du <file> would display a filesize, but for disks, you want df (diskspace free) df will display all your filesystems, how much is used, and how much is free. df with no arguments will tell you how much free space and used space there is on the drive which knoppix is installed, or for a different drive, df /dev/hdX

  3. #3
    Senior Member registered user
    Join Date
    Jul 2004
    Location
    Southern Maine, US
    Posts
    274
    oh...also apt-get autoclean will remove all the uninstalled packages sitting around your system

  4. #4
    Member registered user
    Join Date
    Apr 2005
    Posts
    93

    disk space after upgrade

    Thanks for the reply. I did df and I got the following output.which makes me think I have done something wrong as I assummed that Knoppix had 2.5GB of software and even though I am sure i tookoff well over 400Mb Iad haven'tinstalled anything like that much I seem to have ended up with a drive that is 2.7 and also I don't know what /dev/root.old is and how to get rid of it.

    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/hda5 25197220 2723528 21193716 12% /
    /dev/root.old 16155 7864 8291 49% /initrd

  5. #5
    Senior Member registered user
    Join Date
    Jul 2004
    Location
    Southern Maine, US
    Posts
    274
    depends....a gigabyte is 1024 megabytes, an mb is 1024 kb, a kb is 1024 b, and a byte is a 1024 bits....most people think it's 1000, because they think in base 10, not binary....an advertised 20gb hd is more like 18.8....knowing knoppix, they're probably correct about 2.5 gb, but smeone else may have seen that as 2.7 due to thinking in base 10 and not binary....it expands a little when you install too...but i wouldn't worry...you've got 17gb left on your partition

  6. #6
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    I would not worry about root.old. The '/initrd' is the initial ram disk which is used by the bootloader in compliment with the kernel. This ram disk is mounted as the root filesystem and autodetect scripts, drivers, & programs are run from it. Then the system mounts a new root filesystem from the HD. The initrd is label root.old. It can usually be unmounted but again, I would not worry about it.

  7. #7
    Member registered user
    Join Date
    Apr 2005
    Posts
    93

    disk space after upgrade

    That's a relief. Thank you both. I thought I would have too much for a remaster

Similar Threads

  1. running out of disk space when cp -Rp
    By loonix in forum Customising & Remastering
    Replies: 3
    Last Post: 12-29-2007, 12:01 AM
  2. Knoppix Live -> Install / Reccomended disk space
    By inflames989 in forum MS Windows & New to Linux
    Replies: 10
    Last Post: 06-20-2006, 05:54 AM
  3. Disk Problem - Help to recover 4G disk space
    By pau1knopp in forum General Support
    Replies: 3
    Last Post: 02-04-2006, 12:15 AM
  4. How much disk space do I need for Knoppix installation?
    By paparazzo79 in forum Hardware & Booting
    Replies: 2
    Last Post: 12-10-2005, 09:03 PM
  5. Low Disk Space after dual boot wondows/knoppix -resize?
    By nicorelli in forum MS Windows & New to Linux
    Replies: 7
    Last Post: 06-03-2004, 12:39 AM

Posting Permissions

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


Supermicro X10SRW-F Server picture

Supermicro X10SRW-F Server

$169.99



HP PROLIANT MICROSERVER MICRO SERVER HSTNS-5151 T4 Used. picture

HP PROLIANT MICROSERVER MICRO SERVER HSTNS-5151 T4 Used.

$45.00



HP ProLiant Xeon E3-1220L V2 16 GB RAM 2.30 GHz MicroServer Gen8 NO DRIVES picture

HP ProLiant Xeon E3-1220L V2 16 GB RAM 2.30 GHz MicroServer Gen8 NO DRIVES

$174.99



HPE PROLIANT MICROSERVER GEN10 PLUS MICRO TOWER SERVER - USED picture

HPE PROLIANT MICROSERVER GEN10 PLUS MICRO TOWER SERVER - USED

$550.00



SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount picture

SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount

$202.49



HP ProLiant HSTNS-5151 Micro Server 8GB RAM No Drives/Key/Caddies *READ* picture

HP ProLiant HSTNS-5151 Micro Server 8GB RAM No Drives/Key/Caddies *READ*

$94.99



HPE Proliant Microserver Gen10 X3421 Perf AMS,  P03698-S01, 16GB Ram picture

HPE Proliant Microserver Gen10 X3421 Perf AMS, P03698-S01, 16GB Ram

$299.00



Supermicro Server Tower Xeon BOOTS E5-2620 v4 2.10GHz 64GB RAM NO HDD NO OS picture

Supermicro Server Tower Xeon BOOTS E5-2620 v4 2.10GHz 64GB RAM NO HDD NO OS

$199.99



1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE

$297.00



2U 12 Bay SAS3 SuperMicro Server 6028U-TR4T+ W/ X10DRU-i+ Barebone 12 Caddy RAIL picture

2U 12 Bay SAS3 SuperMicro Server 6028U-TR4T+ W/ X10DRU-i+ Barebone 12 Caddy RAIL

$299.00