LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 11-14-2008, 03:09 PM   #1
swordphsh
Member
 
Registered: Sep 2008
Distribution: Ubuntu 9.04 X86_64 Desktop, 8.04 X86 Server
Posts: 33

Rep: Reputation: 15
External Hard Drive Missing Space


I just bought a new Maxtor OneTouch 4 external usb hard drive. I deleted all the partitions on it and created a new Linux (83) partition and formatted it as ext3. It comes up as a total size of 463GB. DF says there are 199MB (1%) used, but says there are only 435GB free.

Sorry if this was posted already, I could not find it anywhere

Thanks in advance.
 
Old 11-14-2008, 03:14 PM   #2
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Linux filesystems typically reserve space on the disk, to prevent true "disk full" problems and fragmentation. The 6% you have "lost" sounds about roght. You can vary this when you format though.

See man mklfs.ext3

Code:
-m reserved-blocks-percentage
              Specify the percentage of the filesystem blocks reserved  for  the  super-user.   This  avoids
              fragmentation, and allows root-owned daemons, such as syslogd(8), to continue to function cor-
              rectly after non-privileged processes are prevented  from  writing  to  the  filesystem.   The
              default percentage is 5%.
 
Old 11-14-2008, 04:14 PM   #3
swordphsh
Member
 
Registered: Sep 2008
Distribution: Ubuntu 9.04 X86_64 Desktop, 8.04 X86 Server
Posts: 33

Original Poster
Rep: Reputation: 15
Awesome. As long as it's actually being used I'm fine with that.
Thanks for the quick reply!
 
Old 11-14-2008, 04:27 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,271

Rep: Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028
And if it is to be a data disk (as is likely with an external), there is no point reserving (i.e. losing) that space. Set it to zero, and use the space yourself.
 
Old 11-14-2008, 06:56 PM   #5
swordphsh
Member
 
Registered: Sep 2008
Distribution: Ubuntu 9.04 X86_64 Desktop, 8.04 X86 Server
Posts: 33

Original Poster
Rep: Reputation: 15
Do I have to reformat to unreserve the space...I started copying files to it already.
 
Old 11-14-2008, 07:01 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,271

Rep: Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028
No, you should be able to do it dynamically with tune2fs - see the manpage.
 
Old 11-14-2008, 07:08 PM   #7
swordphsh
Member
 
Registered: Sep 2008
Distribution: Ubuntu 9.04 X86_64 Desktop, 8.04 X86 Server
Posts: 33

Original Poster
Rep: Reputation: 15
I found it. Thanks for your help.
 
  


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
Missing Hard Drive Space moneyshotz Linux - General 9 06-05-2008 02:22 PM
Missing hard drive free space encomium Linux - Server 3 03-26-2008 02:11 AM
Possible hacking; wiped - now hard drive space missing? - hidden files? trekk Linux - Security 9 11-10-2006 10:17 AM
Missing hard drive space rx7haze Linux - General 13 11-16-2005 07:38 AM
suse and hard drive space missing SuSE05 Suse/Novell 1 04-30-2005 08:51 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration