[CentOS] Help setting up USB drive

Fri May 29 08:27:13 UTC 2009
John Doe <jdmls at yahoo.com>

From: Robert Fitzpatrick <lists at webtent.net>
> I have my 640GB USB drive connected to a CentOS 5 server and using
> fdisk, it seems to show a partition of the correct size, /dev/sdd1, but
> after mounting, the drive shows only 244M size. Does the message
> received when running fdisk below mean I should reformat this drive, I
> can't seemed to figure out how to do that with fdisk. Can someone tell
> me how to reformat, if needed? The drive is empty, I formatted a while
> back on a Debian machine....

To reformat:
  umount /dev/sdd1
  mkfs.ext3 /dev/sdd1  (use '-c' to check for bad blocks or/and '-m 0' to get the max space... see the manpage)

JD