Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

External drive not showing true capacity

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
pk_fox
LXF regular


Joined: Wed Apr 13, 2005 2:38 pm
Posts: 290
Location: Surrey, UK

PostPosted: Fri Sep 21, 2012 10:57 am    Post subject: External drive not showing true capacity Reply with quote

Hi All, I've just dug out a Seagate external usb drive to backup some music data, however when I mounted it , df -h /dev/sdc only reports it as having 494mb, I'm pretty certain it's a 500gb but don't know how to find out - all help gratefully received

output

Filesystem Size Used Avail Use% Mounted on
devtmpfs 494M 0 494M 0% /dev
Back to top
View user's profile Send private message
ajgreeny
LXF regular


Joined: Wed May 10, 2006 9:18 pm
Posts: 449
Location: Oxfordshire.

PostPosted: Fri Sep 21, 2012 11:32 am    Post subject: Reply with quote

You need to use that command for a partition, or partitions, to see the proper size, eg df -h /dev/sdc1
Use disk utility (palimpsest) if it's available for your distro and it may well show you a different size to df. It depends on whether the application uses 1000 or 1024 for the calculations.
_________________
Xubuntu 12.04 user, and loving it!
Back to top
View user's profile Send private message
pk_fox
LXF regular


Joined: Wed Apr 13, 2005 2:38 pm
Posts: 290
Location: Surrey, UK

PostPosted: Fri Sep 21, 2012 11:59 am    Post subject: Reply with quote

Thanks I'll take a look at it
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8450
Location: Warrington, UK

PostPosted: Fri Sep 21, 2012 12:39 pm    Post subject: Reply with quote

df is for filesystems, not devices, all you are seeing is the size of the /dev/filesystem. To see the sizes of the disk and opartitions, use fdisk

Code:
sudo fdisk -l /dev/sdc

_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast