| View previous topic :: View next topic |
| Author |
Message |
pk_fox LXF regular

Joined: Wed Apr 13, 2005 2:38 pm Posts: 205 Location: Surrey, UK
|
Posted: Fri Sep 21, 2012 10:57 am Post subject: External drive not showing true capacity |
|
|
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 |
|
 |
ajgreeny LXF regular
Joined: Wed May 10, 2006 9:18 pm Posts: 407 Location: Oxfordshire.
|
Posted: Fri Sep 21, 2012 11:32 am Post subject: |
|
|
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. _________________ Ubuntu 10.04 user, and loving it! |
|
| Back to top |
|
 |
pk_fox LXF regular

Joined: Wed Apr 13, 2005 2:38 pm Posts: 205 Location: Surrey, UK
|
Posted: Fri Sep 21, 2012 11:59 am Post subject: |
|
|
| Thanks I'll take a look at it |
|
| Back to top |
|
 |
nelz Moderator

Joined: Mon Apr 04, 2005 12:52 pm Posts: 7995 Location: Warrington, UK
|
Posted: Fri Sep 21, 2012 12:39 pm Post subject: |
|
|
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 |
_________________ Unix is user-friendly. It's just very selective about who it's friends are. |
|
| Back to top |
|
 |
| View previous topic :: View next topic |
|