Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.hardware > #1507
| Path | csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail |
|---|---|
| NNTP-Posting-Date | Mon, 05 Nov 2012 22:09:35 -0600 |
| From | Haines Brown <haines@histomat.net> |
| Newsgroups | comp.os.linux.hardware |
| Subject | WD Passport commands |
| Date | Mon, 05 Nov 2012 23:08:03 -0500 |
| Message-ID | <87objbv0f0.fsf@engels.HistoricalMaterialism.info> (permalink) |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
| Cancel-Lock | sha1:qAoVnnXFBzFqzCqhgbM+nDSykbk= |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Lines | 81 |
| X-Usenet-Provider | http://www.giganews.com |
| X-Trace | sv3-p1do3EOcuhRDCojqZFHQUJgSv+sEbus6P69icPTSL3p+fbL7WDMVGdrhvnXcw08Jq3RJSOY8dtUzaC0!gXY/zoNoiAn+oN5Xw1zQ+5PDUf/x84hq2pHhMxSwFpk4Yp76f2w6pUlPPn+uWIEgZ9Q36CFo525a!RfAZ |
| X-Complaints-To | abuse@giganews.com |
| X-DMCA-Notifications | http://www.giganews.com/info/dmca.html |
| X-Abuse-and-DMCA-Info | Please be sure to forward a copy of ALL headers |
| X-Abuse-and-DMCA-Info | Otherwise we will be unable to process your complaint properly |
| X-Postfilter | 1.3.40 |
| X-Original-Bytes | 4040 |
| Xref | csiph.com comp.os.linux.hardware:1507 |
Show key headers only | View raw
I've not had this problem with the Western Digital Passports before, but
a new one (WXQ1C5219385) is not being cooperative.
The first problem is looking at /var/log/messages to get the drive's
UUID:
$ tail -f /var/log/messages
... scsi 28:0:0:0: Direct-Access WD My Passport 0748 1015 PQ: 0 ANSI: 6
... scsi 28:0:0:1: Enclosure WD SES Device 1015 PQ: 0 ANSI: 6
... sd 28:0:0:0: Attached scsi generic sg3 type 0
... sd 28:0:0:0: Attached scsi generic sg3 type 0
... ses 28:0:0:1: Attached Enclosure device
... ses 28:0:0:1: Attached scsi generic sg4 type 13
... sd 28:0:0:0: [sdc] 1953458176 512-byte logical blocks: (1.00 TB/931 GiB)
... sd 28:0:0:0: [sdc] Write Protect is off
... sdc: sdc1
... sd 28:0:0:0: [sdc] Attached SCSI disk
usbmount[18281]: /dev/sdc does not contain a filesystem or disklabel
I would expect an added line something like:
usbmount[11090]: executing command: mount -U 8A2CF4F62CF4DE5F
I suppose usbmount can't mount because there's no UUID entry in
fstab. So I thought if I mounted the device manually, I might then get
the UUID. So I did:
$ dmesg
...
... scsi 28:0:0:0: Direct-Access WD My Passport 0748 1015 PQ: 0 ANSI: 6
... scsi 28:0:0:1: Enclosure WD SES Device 1015 PQ: 0 ANSI: 6
...
... sd 28:0:0:0: [sdc] Assuming drive cache: write through
... sdc: sdc1
...
# mount -t ntfs /dev/sdc1 /media/backup
$ mount
...
/dev/sdc1 on /media/backup type fuseblk
(rw,allow_other,blksize=4096,default_permissions)
This succeeded to the extent I can write a file to the media and save
it. However, still no UUID reported. How do I get the UUID?
Once mounted manually I see that the WD Passport holds a collection of
directories:
$ ls -la /media/backups
ls: cannot access Locale: Input/output error
ls: cannot access My Passport Apps for Mac: Input/output error
ls: cannot access User Manuals: Input/output error
ls: cannot access WD Apps for Windows: Input/output error
total 13
drwxrwxrwx 1 haines root 4096 Nov 5 22:28 .
drwxr-xr-x 14 haines haines 4096 Jul 23 2011 ..
d-------- root root 4096 Sep 30 21:24 Extras
d????????? ? ? ? ? ? Locale
-rw-r--r-- 1 haines haines 25 Nov 5 22:28 MyInfo
d????????? ? ? ? ? ? My Passport Apps for Mac
d--------- 1 root root 0 Sep 2 2011 System Volume Information
d????????? ? ? ? ? ? User Manuals
d????????? ? ? ? ? ? WD Apps for Windows
The "MyInfo" file is the test file I wrote to the media.
The filesystem is NTFS, and so I thought I would have no problem using
cd, rm, and rmdir commands to get rid of these excess
directories. However, not so:
$ cd Locale
bash: cd: Locale: Input/output error
# cd "System Volume Information"
sudo: cd: command not found
How do I get rid of them?
Haines Brown
Back to comp.os.linux.hardware | Previous | Next — Next in thread | Find similar | Unroll thread
WD Passport commands Haines Brown <haines@histomat.net> - 2012-11-05 23:08 -0500
Re: WD Passport commands Richard Kettlewell <rjk@greenend.org.uk> - 2012-11-06 08:50 +0000
Re: WD Passport commands Haines Brown <haines@histomat.net> - 2012-11-16 15:31 -0500
Re: WD Passport commands Richard Kettlewell <rjk@greenend.org.uk> - 2012-11-16 21:32 +0000
Re: WD Passport commands Haines Brown <haines@histomat.net> - 2012-11-17 05:57 -0500
Re: WD Passport commands J G Miller <miller@yoyo.ORG> - 2012-11-17 13:44 +0000
Re: WD Passport commands Aragorn <stryder@telenet.be.invalid> - 2012-11-17 19:19 +0100
Re: WD Passport commands Haines Brown <haines@histomat.net> - 2012-11-17 13:25 -0500
Re: WD Passport commands Richard Kettlewell <rjk@greenend.org.uk> - 2012-11-17 20:30 +0000
Re: WD Passport commands Haines Brown <haines@histomat.net> - 2012-11-20 05:03 -0500
Re: WD Passport commands Richard Kettlewell <rjk@greenend.org.uk> - 2012-11-20 10:25 +0000
Re: WD Passport commands Haines Brown <haines@histomat.net> - 2012-11-20 11:27 -0500
Re: WD Passport commands J G Miller <miller@yoyo.ORG> - 2012-11-18 18:16 +0000
Re: WD Passport commands Bill Marcum <bill@nowhere.invalid> - 2012-11-19 03:03 -0500
csiph-web