LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 06-24-2007, 08:27 AM   #1
BWebb
Member
 
Registered: Jan 2004
Posts: 32

Rep: Reputation: 15
Problems with WD My Book 1TB external drive


All:

I am trying to get our linux machines to recognize a new Western Digital My Book 1TB external drive. We are running the CentOS 4.4 distribution on Dell PCs. From what I can tell, the enclosure houses two separate 500GB drives. The drive is formatted as an NTFS RAID0 disk. When we plug it in via USB, I see the following when running 'dmesg'

===============
scsi7 : SCSI emulation for USB Mass Storage devices
Vendor: WD Model: My Book Device Rev: 104a
Type: Enclosure ANSI SCSI revision: 02
Attached scsi generic sg1 at scsi7, channel 0, id 0, lun 0, type 13
USB Mass Storage device found at 12
input: USB HID v1.11 Device [Western Digital My Book] on usb-0000:00:1f.2-1
===============

So it looks like the machine sees the drive at /dev/sg1... but the problem is that the SCSI system is not mapping sg1 to sda, sdb, etc. Therefore, if I try to do an 'fdisk /dev/sd*' it just says that it cannot open the disk.

I found this site: http://linu.gs/misc/remember/wd-mybook-1TB-on-linux.php --- but it didn't help my problems any. We tried reformatting as RAID1 and still couldn't get the linux machine to map the device so we could reformat as ext3.

Any ideas? Anyone else have similar problems? Anyone else think this could be a RAID problem? I have never before had any problems with WD My Book external drives formatted as NTFS. I can always see them in fdisk and reformat them for ext3... not so with this drive.

BTW... I purhased a Fantom Drives external 1TB drive and it is awesome! Works like a charm and is pretty quiet, too. For what it's worth... I do not like WD products.

Thanks,

Bret
 
Old 11-28-2007, 10:01 AM   #2
weisso5
Member
 
Registered: Oct 2007
Location: New York City
Distribution: Gentoo, FC
Posts: 133

Rep: Reputation: 16
Hello I am having the same problem with a WD 1TB drive, but with further investigation i learned that the reason it is showing up as sg1 devices and not as sda, sdb, sdc, etc... is because of the physical build of the HD. If you take the HD apart you will notice there is a USB hub inside the drive and connected to that Hub is the USB Mass storage device, ie the drives, and the button on the front (you are probably asking yourself, WTH?!, i did too) but if you crack open the owners manual, *SHOCK*, you will notice that the button on the front not only toggles the power but is in fact an input device that you can program commands to. If you actually installed the software that comes with the drive you can program that button to trigger different applications. This is definitely the most retarded thing i have seen from WD thus far. So the only foreseeable way to get this drive to work is to take the thing apart and somehow connect the drives to your Linux device. I could be wrong, but i spent a hell of a long time trying to get that drive to mount.

If you have a lot of data that you need to move to and from these machines use PSCP on a Windows machine, that way you can push out or pull files off these machines.
 
1 members found this post helpful.
Old 03-20-2008, 01:34 AM   #3
the_tflk
Member
 
Registered: Jul 2003
Location: MA
Distribution: Ubuntu
Posts: 35

Rep: Reputation: 16
Mine is a single drive and has been formatted as a big ext3 partition.
I used GNOME Partition Editor.

If someone is looking for a drive along these lines, I can now recommend :
- Western Digital WDH1CS10000N My Book Home Edition 1 TB USB/Firewire/eSATA External Hard Drive

# fdisk -l /dev/sdd
###################################
Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdd1 1 121601 976760001 83 Linux
###################################


# dmesg
###################################
[14728.068000] usb 5-2: new high speed USB device using ehci_hcd and address 13
[14728.340000] usb 5-2: configuration #1 chosen from 1 choice
[14728.372000] scsi8 : SCSI emulation for USB Mass Storage devices
[14728.372000] usb-storage: device found at 13
[14728.372000] usb-storage: waiting for device to settle before scanning
[14728.440000] input: Western Digital My Book as /class/input/input12
[14728.440000] input: USB HID v1.11 Device [Western Digital My Book] on usb-0000:00:1d.7-2
[14733.400000] usb-storage: device scan complete
[14733.416000] scsi 8:0:0:0: Direct-Access WD My Book 1016 PQ: 0 ANSI: 4
[14733.440000] SCSI device sdd: 1953525168 512-byte hdwr sectors (1000205 MB)
[14733.452000] sdd: Write Protect is off
[14733.452000] sdd: Mode Sense: 10 00 00 00
[14733.452000] sdd: assuming drive cache: write through
[14733.472000] SCSI device sdd: 1953525168 512-byte hdwr sectors (1000205 MB)
[14733.488000] sdd: Write Protect is off
[14733.488000] sdd: Mode Sense: 10 00 00 00
[14733.488000] sdd: assuming drive cache: write through
[14733.488000] sdd: sdd1
[14733.508000] sd 8:0:0:0: Attached scsi disk sdd
[14733.508000] sd 8:0:0:0: Attached scsi generic sg4 type 0
[14733.800000] kjournald starting. Commit interval 5 seconds
[14733.800000] EXT3 FS on sdd1, internal journal
[14733.800000] EXT3-fs: mounted filesystem with ordered data mode.
###################################
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Big (1TB) External drive + missing partition table = ? Daws General 3 03-14-2007 10:13 AM
Lacie 1TB drive USB NFS Mount NTFS on Solaris haiders Linux - Networking 2 01-30-2007 03:31 PM
Help. USB external drive problems with fedora amjadcsu Linux - Hardware 5 05-05-2006 10:31 AM
Linux External Hard Drive PROBLEMS Robert Guerrero Linux - Hardware 7 03-15-2005 03:56 PM
Problems with external USB drive pembo13 Linux - Hardware 3 07-12-2004 07:32 AM


All times are GMT -5. The time now is 02:29 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration