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
  •  


AUDIO CODES  MP-114 VOIP Gateway Open Box picture

AUDIO CODES MP-114 VOIP Gateway Open Box

$37.49



IXIA XR100 VOIP PROBE picture

IXIA XR100 VOIP PROBE

$199.99



Grandstream GS-HT802 2 Port Analog Telephone Adapter VoIP Phone & Device, Black picture

Grandstream GS-HT802 2 Port Analog Telephone Adapter VoIP Phone & Device, Black

$32.00



Cisco VG202XM Analog Voice Gateway VoIP -- [NEW/FULL KIT] picture

Cisco VG202XM Analog Voice Gateway VoIP -- [NEW/FULL KIT]

$76.00



Yealink W73H IP DECT VOIP Phone picture

Yealink W73H IP DECT VOIP Phone

$10.00



Cisco CP-7945G VOIP Phone With Stand & Handset Business IP Phone 7945 picture

Cisco CP-7945G VOIP Phone With Stand & Handset Business IP Phone 7945

$3.00



New Cisco 7945G IP VoIP Gigabit GIGE Telephone Phone CP-7945G -  picture

New Cisco 7945G IP VoIP Gigabit GIGE Telephone Phone CP-7945G -

$24.95



Yealink T54W IP Phone, 16 VoIP Accounts. 4.3-Inch Color Display - Black picture

Yealink T54W IP Phone, 16 VoIP Accounts. 4.3-Inch Color Display - Black

$99.99



LOT OF 10 Cisco CP-7841-K9 VoIP 4-Line Business Phone w/ Stand Handset Cord picture

LOT OF 10 Cisco CP-7841-K9 VoIP 4-Line Business Phone w/ Stand Handset Cord

$69.99



SAMSUNG OFFICESERV 7100 VOIP SERVER W/ MP10a & UNI MODULES picture

SAMSUNG OFFICESERV 7100 VOIP SERVER W/ MP10a & UNI MODULES

$159.99