LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 02-01-2010, 02:48 PM   #1
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Rep: Reputation: 68
ide drives and USB Enclosures


FC 12-x86_64/kde

I have a Acomdata external hard drive enclosure with a PATA hard drive
set to Master.
I want to just be able to read and write to it as a storage drive, lsusb
sees the enclosure Acomdata but not the drive, what do I have to do to
read/write to the hard drive ??



tail -f /var/log/messages ;

localhost kernel: usb 2-3: new high speed USB device using ehci_hcd and address 6 localhost kernel: usb 2-3: New USB device found, idVendor=0c0b, idProduct=b157
localhost kernel: usb 2-3: New USB device strings: Mfr=10, Product=11, SerialNumber=3
localhost kernel: usb 2-3: Product: DMI USB2.0 Storage
localhost kernel: usb 2-3: Manufacturer: DMI
localhost kernel: usb 2-3: SerialNumber: 2009102609E0
localhost kernel: usb 2-3: configuration #1 chosen from 1 choice
localhost kernel: scsi10 : SCSI emulation for USB Mass Storage devices
localhost kernel: usb 2-5: reset high speed USB device using ehci_hcd and address 4
localhost kernel: scsi 10:0:0:0: Direct-Access PQ: 0 ANSI: 2 CCS
localhost kernel: sd 10:0:0:0: Attached scsi generic sg3 type 0
localhost kernel: sd 10:0:0:0: [sdc] Attached SCSI disk
localhost kernel: usb 2-5: reset high speed USB device using ehci_hcd and address 4
localhost kernel: EXT3-fs: unable to read superblock
localhost kernel: EXT3-fs (sdc): unable to read superblock




# mount -t ext3 /dev/sdc /mnt/harddrive
mount: wrong fs type, bad option, bad superblock on /dev/sdc,
missing codepage or helper program, or other error
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
In some cases useful info is found in syslog - try
dmesg | tail or so

# mount -t ext3 /dev/sgc /mnt/harddrive
mount: special device /dev/sgc does not exist


Also tried a fdisk /dev/sdc;

# fdisk /dev/sdc

Unable to read /dev/sdc

The drive is a ext3 with a / and /home partitions on it
 
Old 02-01-2010, 03:34 PM   #2
snowtigger
Member
 
Registered: Mar 2005
Location: england
Distribution: slackware, win2k
Posts: 364

Rep: Reputation: 35
Quote:
# mount -t ext3 /dev/sdc /mnt/harddrive
mount: wrong fs type, bad option, bad superblock on /dev/sdc,
At this i've come across this and found it to be that i need to run fsck (fsck.ext3 in your case) on the device before it will mount.

Also the output of fdisk -l could be usefull

 
Old 02-01-2010, 05:30 PM   #3
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Original Poster
Rep: Reputation: 68
/dev/fdisk -l /dev/sdc
bash: /dev/fdisk: No such file or directory


# fsck.ext3 /dev/sdc1
e2fsck 1.41.9 (22-Aug-2009)
fsck.ext3: Invalid argument while trying to open /dev/sdc

The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>


# e2fsck -b 8193 /dev/sdc1
e2fsck 1.41.9 (22-Aug-2009)
e2fsck: No such file or directory while trying to open /dev/sdc1

The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
2 hard drives, XP on my main sata drives, 10.2 on my IDE LILO doesnt show on boot up Dachy Slackware 14 01-03-2008 07:01 AM
5 IDE Drives Help moto55 Linux - Hardware 6 06-25-2004 10:34 PM
Any good IDE raid controllers/external enclosures for linux? glock27linux Linux - Hardware 2 11-26-2003 02:52 PM
More than 4 IDE drives? KungFuHamster Linux - Hardware 7 02-21-2003 04:06 PM
How many IDE drives can I use? newbietolinux General 15 12-15-2001 05:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 04:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration