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
  •  


DELL PowerEdge R730 Server 2x E5-2690v4 2.6GHz =28 Cores 128GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2690v4 2.6GHz =28 Cores 128GB H730 4xRJ45

$441.00



Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD picture

Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD

$208.99



Dell PowerEdge R420 Dual Intel Xeon E5-2440 v2 @1.90GHz 32GB RAM No HDD H710 picture

Dell PowerEdge R420 Dual Intel Xeon E5-2440 v2 @1.90GHz 32GB RAM No HDD H710

$74.50



Dell PowerEdge R620 Server 2x E5-2660 v2 2.2GHz 20 Cores 256GB RAM 1x 480GB SSD picture

Dell PowerEdge R620 Server 2x E5-2660 v2 2.2GHz 20 Cores 256GB RAM 1x 480GB SSD

$139.99



Dell PowerEdge R620 Server - 256GB RAM, 2x8cCPU, 120Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R620 Server - 256GB RAM, 2x8cCPU, 120Gb SSD/3x900Gb SAS, Proxmox

$320.00



R630 DELL 8 x 2.5'' POWEREDGE 2X E5-2680V4 32GB RAM IDRAC ENT & NDC 2X 495W PSU picture

R630 DELL 8 x 2.5'' POWEREDGE 2X E5-2680V4 32GB RAM IDRAC ENT & NDC 2X 495W PSU

$172.95



Dell Poweredge R210 II Server Xeon E3-1220 v2 3.1ghz Quad Core / NoRam / 1x Tray picture

Dell Poweredge R210 II Server Xeon E3-1220 v2 3.1ghz Quad Core / NoRam / 1x Tray

$69.99



DELL PowerEdge R730 16SFF Server 2x E5-2690v4 =28 Cores No RAM/ HDD H730 4xRJ45 picture

DELL PowerEdge R730 16SFF Server 2x E5-2690v4 =28 Cores No RAM/ HDD H730 4xRJ45

$232.97



DELL PowerEdge R630 8SFF Server 2x E5-2690v4 2.6GHz =28 Cores 128GB H730 4xRJ45 picture

DELL PowerEdge R630 8SFF Server 2x E5-2690v4 2.6GHz =28 Cores 128GB H730 4xRJ45

$418.00



Dell R730xd 26 Port SFF 2x E5-2697v4 36-Cores H730 128GB Server 2x SFP 10G ENT picture

Dell R730xd 26 Port SFF 2x E5-2697v4 36-Cores H730 128GB Server 2x SFP 10G ENT

$490.00