Go to TogaWare.com Home Page. GNU/Linux Desktop Survival Guide
by Graham Williams
Duck Duck Go

WD My Book 1TB External Hard Drive

A 1 TB external hard drive was added to Belinos (39.19) [081015]. The drive is a Western Digital, My Book, Essential Edition, External Hard Drive (WD10000H1U-0) purchased for AUD $200. The disk was originally formatted as vfat.

After connecting the drive via USB the dmesg command indicated the disk was identified as /dev/sdd1:

[79220.444200] usb 5-7: new high speed USB device using ehci_hcd and address 7
[79220.577219] usb 5-7: configuration #1 chosen from 1 choice
[79220.586295] scsi4 : SCSI emulation for USB Mass Storage devices
[79220.632108] usb 5-7: New USB device found, idVendor=1058, idProduct=1100
[79220.632116] usb 5-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[79220.632120] usb 5-7: Product: My Book         
[79220.632122] usb 5-7: Manufacturer: Western Digital 
[79220.632125] usb 5-7: SerialNumber: XXXX
[79220.632921] usb-storage: device found at 7
[79220.632926] usb-storage: waiting for device to settle before scanning
[79225.632271] usb-storage: device scan complete
[79225.633026] scsi 4:0:0:0: Direct-Access WD 10EACS External 1.65 PQ: 0 ANSI: 4
[79225.740651] sd 4:0:0:0: [sdd] 1953525168 512-byte hardware sectors (1000205 MB)
[79225.741863] sd 4:0:0:0: [sdd] Write Protect is off
[79225.741871] sd 4:0:0:0: [sdd] Mode Sense: 21 00 00 00
[79225.741874] sd 4:0:0:0: [sdd] Assuming drive cache: write through
[79225.743668] sd 4:0:0:0: [sdd] 1953525168 512-byte hardware sectors (1000205 MB)
[79225.744771] sd 4:0:0:0: [sdd] Write Protect is off
[79225.744777] sd 4:0:0:0: [sdd] Mode Sense: 21 00 00 00
[79225.744780] sd 4:0:0:0: [sdd] Assuming drive cache: write through
[79225.744784]  sdd: sdd1
[79225.759399] sd 4:0:0:0: [sdd] Attached SCSI disk

A mount made the disk available:

$ sudo mount /dev/sdd1 /mnt
$ df -h .
Filesystem            Size  Used Avail Use% Mounted on
/dev/sdd1             932G  385M  931G   1% /mnt

The current contents (simple documentation and some trial applicaitons) were copied off of the drive to clear the way to reformat it for Linux.

The disk was unmounted, repartitioned, and a ext3 file system was written:

$ sudo umount /mnt
$ sudo mkfs -t ext3 /dev/sdd1
$ sudo mount /dev/sdd1 /mnt
$ df -h .
Filesystem            Size  Used Avail Use% Mounted on
/dev/sdd1             917G  200M  871G   1% /mnt


Support further development by purchasing the PDF version of the book.
Other online resources include the Data Science Desktop Survival Guide.
Books available on Amazon include Data Mining with Rattle and Essentials of Data Science.
Popular open source software includes rattle and wajig.
Hosted by Togaware, a pioneer of free and open source software since 1984.
Copyright © 1995-2020 Togaware Pty Ltd. . Creative Commons ShareAlike V4.