LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


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

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
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 75
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?
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 04:06 AM.

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