LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Trouble mounting hdd enclosure (https://www.linuxquestions.org/questions/linux-hardware-18/trouble-mounting-hdd-enclosure-414445/)

Eggroll822 02-12-2006 03:06 AM

Trouble mounting hdd enclosure
 
I am having trouble mounting a usb hard drive enclosure. I use fc4 and I can even see the /dev/sda1 in the hardware browser. The drive is a 120 GB NTFS drive. I updated my kernel with fedorafaq's "yum install kernel-module-ntfs-$(uname -r)". I have mounted a NTFS drive from a internal hard drive fine.

I use :

mount -t ntfs -r /dev/sda1 /mnt/F

The problem is that it gives me an error that says "mount: special device /dev/sda1 does not exist"

how can it not exist when i obviously see it in the hardware browser and it labels it /dev/sda1 !?!?!

ARGHH little frustrating..

TIA!!!

Taken from /etc/var messages....

Feb 12 03:29:19 trl3808rnt kernel: usb 2-2: new high speed USB device using ehci_hcd and address 2
Feb 12 03:29:20 trl3808rnt kernel: SCSI subsystem initialized
Feb 12 03:29:20 trl3808rnt kernel: Initializing USB Mass Storage driver...
Feb 12 03:29:20 trl3808rnt kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Feb 12 03:29:20 trl3808rnt kernel: usbcore: registered new driver usb-storage
Feb 12 03:29:20 trl3808rnt kernel: USB Mass Storage support registered.
Feb 12 03:29:25 trl3808rnt kernel: Vendor: IC35L120 Model: AVV207-1 Rev: 0000
Feb 12 03:29:25 trl3808rnt kernel: Type: Direct-Access ANSI SCSI revision: 00
Feb 12 03:29:25 trl3808rnt scsi.agent[3039]: disk at /devices/pci0000:00/0000:00:09.2/usb2/2-2/2-2:1.0/host0/target0:0:0/0:0:0:0
Feb 12 03:29:25 trl3808rnt kernel: SCSI device sda: 241254720 512-byte hdwr sectors (123522 MB)
Feb 12 03:29:25 trl3808rnt kernel: sda: assuming drive cache: write through
Feb 12 03:29:25 trl3808rnt kernel: SCSI device sda: 241254720 512-byte hdwr sectors (123522 MB)
Feb 12 03:29:25 trl3808rnt kernel: sda: assuming drive cache: write through
Feb 12 03:29:25 trl3808rnt kernel: sda: unknown partition table
Feb 12 03:29:25 trl3808rnt kernel: Attached scsi disk sda at scsi0, channel 0, id 0, lun 0




fdisk -l outputs:

[root@trl3808rnt /]# /sbin/fdisk -l

Disk /dev/hda: 60.0 GB, 60000000000 bytes
255 heads, 63 sectors/track, 7294 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 4 32098+ de Dell Utility
/dev/hda2 * 5 1024 8193150 7 HPFS/NTFS
/dev/hda3 1025 7294 50363775 f W95 Ext'd (LBA)
/dev/hda5 1917 6198 34395133+ 7 HPFS/NTFS
/dev/hda6 1025 1916 7164927 83 Linux
/dev/hda7 6199 7294 8803588+ 7 HPFS/NTFS

Partition table entries are not in disk order

Disk /dev/hdb: 18.0 GB, 18042716160 bytes
255 heads, 63 sectors/track, 2193 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 255 2048256 83 Linux
/dev/hdb2 256 357 819315 82 Linux swap / Solaris
/dev/hdb3 358 2193 14747670 83 Linux

Disk /dev/sda: 123.5 GB, 123522416640 bytes
255 heads, 63 sectors/track, 15017 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

This doesn't look like a partition table
Probably you selected the wrong device.

Device Boot Start End Blocks Id System
/dev/sda1 ? 1 15017 120624021 7 HPFS/NTFS



wonder what the "?" means

dandolind 02-12-2006 12:48 PM

I'm having a somewhat similar issue with usb. I have doen 4 installs of suse 10. 2 of the installs worked fine. I could plug any usb drive in and out and it recognizes every time. However the other 2 installs will only mount a flash drive if it is plugged in at boot up. If I unplug it and plug it back in it recognizes in my computer but it won't mount. If i manually mount it, nothing happens, Does anyone have any ideas??

Eggroll822 02-12-2006 01:34 PM

yay fixed it! pretty simple solution!

fdisk /dev/sda and then verified the partition table (what gave me an erro in the log)


as for your problem i would go through the /etc/fstab file and see if you have the pamconsole (automount), on and see if there are any other options you can change

dandolind 02-12-2006 02:04 PM

so if do a mount it identifies the drive with the label for windows and everything. It says unknown file system. If i manually mount it says it can't find device. yet I can see that it is there.

Eggroll822 02-13-2006 12:12 AM

sounds like you had a similar problem before mounting it, in the terminal window become root
then do fdisk /dev/sda (the main device not the partitions)

it'll ask you for a command...you can press m to see them available command but you want to verify the partition table. When i did this as soon as i verified it the thing auto mounted into my media folder and popped up on my desktop.

hope this helps

dandolind 02-13-2006 01:13 AM

So my cd rom and usb would not mount unless i booted with it. It took me 2 days and 4 installs to figure out it was because I was logigng in to the root account becasue i'm lazy and don't like to put my password in every time i want ot change anything. Operating in a normal user account everything works great.


All times are GMT -5. The time now is 09:16 AM.