Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 05-06-2009, 09:56 PM   #1
Senior Member
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,168

Rep: Reputation: 45
free space on xubuntu persistent

Hi everyone. I enjoy xubuntu on my usb drive. I try to calculate how much free space is left on the device. So i ve tried the following method

mount /dev/loop0 /mnt/ro

root@ubuntu:/home/ubuntu# df -h /mnt/ro
Filesystem Size Used Avail Use% Mounted on
/dev/loop0 567M 567M 0 100% /mnt/ro
root@ubuntu:/home/ubuntu# du -sh /mnt/ro
1.5G /mnt/ro

1)df gives file space usage which it is 567M
2)du give the estimate file usage which says it is 1.5GB
I believe that the 1) is the disk space currently used and
the 2)the total available to write on

Can u help me a little more?
Old 05-08-2009, 05:47 PM   #2
Registered User
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 74
Actually, 1) says:

Size=567 | Used=567 | Avail=0 | Use=100%

What's the actual total size of the drive, and is it possible that you only formatted what was needed to install the system rather than the entire drive?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help removing free space to create Raw free space nightmare55 Linux - Newbie 11 10-01-2009 03:07 AM
Xubuntu in usb and check free space alaios Ubuntu 2 05-03-2009 11:53 PM
Not enough free space on hard drive with 50g of free space??? auoq SUSE / openSUSE 5 10-13-2004 08:21 PM
Not enough space for root directory on a drive with 50g free space??? auoq Linux - Newbie 1 10-13-2004 12:44 PM
Formating free space: WinXP pro and RH9 dualboot with free space on 3rd drive Vermicious Linux - General 2 03-22-2004 05:10 AM

All times are GMT -5. The time now is 11:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration