Page 1 of 1

USB external hard drive mounting problem

Posted: 2008/09/26 12:57:11
by blaszlo
Hey guys,

Please excuse my ignorance, as I am fairly new to the Linux world. I have a few web servers that I am maintaining (CentOS 4.4), and their backup they have in place now (using ftp unsecurely) seems a little unorthodox and insufficient, so I am trying to implement something a little simpler by attaching a 500gig external hd to each machine, but heres my problem...
I attached the drive, and on the screen it tells me...

[i]
Vendor: STECH Model: Simple Drive Rev: 8.59
SCSI device sdb: 976773167 512-byte hdwr sectors (500108 MB)
sdb: assuming drive cache: write through
Attached scsi disk sdb at scsi3, channel 0, id 0, lun 0
FAT: invalid media value (0xb9)
[/i]


Even though it showed me on the screen all of that stuff, I used the [i]fsdisk -l[/i] command... Check it out below...

[i]
Disk /dev/sda: 122.9 GB, 122941276160 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 14946 119949322+ 8e Linux LVM

Disk /dev/sdb: 500.1 GB, 500107861504 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 60801 488384001 7 HPFS/NTFS
[/i]


Then, now that I am positive of the drive I am trying to mount (sdb), I try to mount the drive... Below is the output...

[i]
[root@host ~]# mkdir /mnt/usbdrive
[root@host ~]# mount /dev/sdb /mnt/usbdrive
mount: you must specify the filesystem type
[root@host ~]# mount /dev/sdb1 /mnt/usbdrive
mount: fs type ntfs not supported by kernel
[/i]

As you can see, I am a little confused... When specifying sdb as the drive to mount, it tells me a must specify a filesystem type (like it doesn't recognize the filesystem type), but when I try sdb1, even though this actually isn't the drive I am trying to mount (just testing) it tells me ntfs not supported (I could have swore that ntfs WAS supported).
Very simply, I need to get this drive to work one way or another. Any help would be great. Thanks!

USB external hard drive mounting problem

Posted: 2008/09/26 13:09:36
by gerald_clark
Why are you using NTFS?
NTFS does not support Linux permissions.

If you insist on using NTFS, see the Wiki.
( You should have checked there first anyway. )
http://wiki.centos.org/TipsAndTricks/NTFSPartitions