USB My Book Not Recognized - reporting 0K available

I always have all the mean services stopped before and after an upgrade otherwise they start messing with my drive like the new cloud with my USB passport that locks the whole system.

I don’t recall doing anything different this time around. In fact the other Cloud that was upgraded to OS 3 that had exhibited the no mount USB symptoms started to mount my USB drives with no problems. The one difference on the other one was that I did a shut down, removed from shelf, then rebooted it up on my desk. Then all my USB WD Passport, My Books (3 of them now) all mounted without a hitch.

This last one that I had downgraded even has the Public folder set to private; in fact it is still that way at the moment. Private I think.

One thing to note though, all my services that I stop, they are only temporary. They restart normally on reboot. The reason that I don’t make them permanent was the 3.04 upgrade of which I did stop the two scans permanently using

update-rc.d wdphotodbmergerd disable
update-rc.d wdmcserverd disable

That was my first scary update in which I was locked out of SSH until I did a 40 second reset of which I attributed to the permanent service removal (which wasn’t true). Nevertheless I vowed that any upgrades will be as close to stock as possible, with the services stopped during the upgrade otherwise they will overload the CPU with both scanning and upgrading at the same time.

To answer your question… yes a bunch of services were stopped during the upgrade, but not the permanent kind. Even wdnotifierd was turned off as well as wddispatcherd.

Did you turn off those services prior to inserting the external USB drive on the latest firmware?

Its entirely possible its just happens the two USB 3 drives I have are possibly incompatible with the My Cloud. Or its possible some combination of settings or running services are causing problems that manifest themselves when certain USB drives are used. Or there is something wrong with the unbricking + firmware upgrading steps that causes this (and other) issue(s) to surface.

Got a somewhat (I assume) canned response back after my prior post above from WD Support:

The appropriate engineering team is aware and working on the issue with the WD My Cloud. Once a fix is found, it will be provided in the form of a firmware release. As with any update, that has to go through a complete regression test before it can be released to ensure that the change has not compromised any other feature; therefore, we do not have a release date.

Actually yes… so bear with me on the long winded stretch of typing…

The first time I installed OS3 I only turned off only two services at the beginning

/etc/init.d/wdmcserverd stop
/etc/init.d/wdphotodbmergerd stop

Then inserted the USB drives of which both were giving out errors…

Then I moved one of my OS3 device from the shelf to my desktop (doing a shutdown and power up).

This time after I powered it up… I issued my script…

/etc/init.d/nfs-kernel-server stop
/etc/init.d/nfs-common stop
/etc/init.d/upnp_nas stop
/etc/init.d/mDNSResponder stop
/etc/init.d/wdphotodbmergerd stop
/etc/init.d/wdnotifierd stop
/etc/init.d/wdmcserverd stop
/etc/init.d/wddispatcherd stop

of course wddispatcherd is no longer a part of OS3.

Then I inserted the USB drive.
/etc/init.d/wdnotifierd start

so that the USB drive gets updated on the Dashboard page…

Then I stopped it after it gets mounted.
/etc/init.d/wdnotifierd stop

This was the first time that I managed to mount my USB drive on OS3.

I figure it had to do with possibly the shutdown and power up (much like a small reset). Also I notice that in one of the boot up scripts they issue a chmod on all the Public folders to make public share to fix the permission problems with public.

Anyways, I run the above stop scripts on all my OS3 drives now. The reason that I don’t leave the other services running as you saw on my “Absolutely terrible! Absolutely Unusable!” post the services really play havoc on your drives if you are not careful.

I’m pretty sure one of the services are causing trouble. Also, I noticed back with 3.04, if you wait about 5 minutes after the startup, inserting a USB drive doesn’t cause a lock up. This may be the same effect that we might be seeing here in OS 3.

If however, you stop wdnotifierd and wddispatcherd in 3.04 and restart them after inserting the USB drive, then stop them afterwards, you stop the lockup.

Thus the carry-over… stopping, starting and stopping wdnotifierd; which I think all it does is update the dashboard.

anyways…

Tried stopping those services on my end and the USB drive still doesn’t mount properly. When getting to the point of inserting the USB drive and before issuing the /etc/init.d/wdnotifierd start command the Dashboard indicates the following and nothing mounts. Going to continue to do some troubleshooting from time to time to see what combination of factors will get this external drive to work properly as it does under v3 firmware.

USB Device Details
USB Device Name Toshiba External USB 3.0
Manufacturer Toshiba
Model External USB 3.0
Serial Number 2011111316674
Firmware Version 0.01
Size 0 KB

Notification
Unable to create share
A share could not be created on a USB device (vendor: Toshiba, model: External USB 3.0, serial number: 2011111316674, file system: ntfs, label: TOSHIBA_EXT, share name: TOSHIBA_EXT).
Wednesday, November 11, 2015 1:04:47 PM Code 1122

Here is something that you can try. There is a database in /var/local/autoMount/autoMount.db. It seems
to contains a list of devices mounted on the My Cloud. I’m not real familiar with sql. But you can
do the following to see what is in the file.
sqlite3 /var/local/autoMount/autoMount
sqlite>select * from devices;
sqlite>.quit

I’ve also used a program called sqlite Database Browser.exe. Just have to copy the autoMount.db to the public folder so windows can see it.

RAC
PS This database seems to remember what devices have been plugged in.

I never tried before but I tried my USB 3.0 docking station which wouldn’t mount. I used WinSCP with its editor to look at that file. A few unreadable graphic characters and some readable text. One line was “JMicron USB 3.0 SATA Bridge falseunsupporteddun” which was repeated a few times in that same line. I’d post the whole thing but there wasn’t a way to save the file to another location.

@ rac8006, Initial post edited. Corrected SSH SqlLite3 results. The first entry for Toshiba is the problematic drive that doesn’t get mounted properly with the My Cloud. The Prolific Technology entry is for a Prolific Technology (generic branded) enclosure that has trouble mounting from time to time. Most other devices mount and are accessed without issue.

WDMyCloud:~# sqlite3 /var/local/autoMount/autoMount.db
SQLite version 3.8.0.2 2013-09-03 17:11:13
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> select * from devices;
0|1|Toshiba|External USB 3.0|2011111316674|0.01|false|unsupported|unsupported|||unsupported|0480|a006|1|3.0|5000|1447258870.6815|||
0|2|SanDisk|Cruzer|20051737520C7A720FDC|1.00|false|unsupported|unsupported|||unsupported|0781|5530|1|2.0|480|1446708285.85307|||
0|3|Prolific Technology Inc.|USB-SATA Bridge|PROLIFICMP000000002|1.00|false|unsupported|unsupported|||unsupported|067b|2733|1|3.0|5000|1447035032.84039|||
0|4|Prolific Technology Inc.|2733||1.00|false|unsupported|unsupported|||unsupported|067b|2733|1|3.0|5000|1446700337.77688|||
0|5|05e3|USB TO IDE||0.33|false|unsupported|unsupported|||unsupported|05e3|0702|1|2.0|480|1446708272.68205|||
0|6|SanDisk|Cruzer|20060774000A4E50D31F|1.26|false|unsupported|unsupported|||unsupported|0781|5530|1|2.0|480|1447035734.80444|||
0|7||USB DISK 2.0|07460E140861|0.50|false|unsupported|unsupported|||unsupported|0d7d|1300|1|2.0|480|1446708355.6015|||
0|8|Prolific Technology Inc.|USB-SATA Bridge||1.00|false|unsupported|unsupported|||unsupported|067b|2733|1|3.0|5000|1447035064.51089|||
0|9|Western Digital|External HDD|57442D5758485A3038363338383632|0.175|false|unsupported|unsupported|||unsupported|1058|0705|1|2.0|480|1447125872.05536|||
sqlite>

I took a quick look at the autoMount.db file with SQLiteDatabaseBrowser program and it is showing information for the Devices table. For the one Toshiba USB hard drive that doesn’t mount, this is what it shows:

connected: 0
handle: 1
vendor: Toshiba
model: External USB 3.0
serial_number: 2011111316674
revision: 0.01
ptp: FALSE
smart_status: unsupported
lock_state: unsupported
password_hash: 
password_hint:
standby_timer: unsupported
vendor_id: 480
product_id: a006
usb_port: 1
usb_version: 3
usb_speed: 5000
timestamp: 1447258870.6815
devname:
devpath:
scsi_devname:

Not sure what this information means. But the MC does see your USB device. Are there any messages in the logs? What I did was go to the /var/log directory. Then did a grep USB *. This
will show any log that has entries for USB devices. Then look for any mention of your Toshiba device.

RAC

I think I’ve posted some info from the logs before. Basically the My Cloud sees the drive and the space on the drive but then indicates its read only then throws a “fill_super failed to mount sdb1” error in the message log an kern log. WD has the logs so hopefully they can make heads or tails of why is happening and suggest a reason, fix or workaround.

Message log:
notice kernel:[ 4751.541534] ufsd: Boot's size of Volume is greater then allowed in RWBlock!!
notice kernel:[ 4751.548624] ufsd: Boot is accepted as NTFS of size 931.51 Gb
notice kernel:[ 4751.554333] ufsd: RAW NTFS volume: Filesystem size 931.51 Gb > volume size 931.51 Gb. Mount in read-only
....
notice kernel:[ 4751.627139] ufsd:fill_super failed to mount sdb1: "" ->-22

Kern log: 
err kernel:[11515.328604] ufsd: unable to replay native journal on "sdb1" 
notice kernel:[11515.334213] ufsd:fill_super failed to mount sdb1: "" ->-22

Edit to add: I should note this Toshiba drive checks out normal with no errors in Windows.

It almost looks like the drive was not ejected properly. Why is it trying to run the journal?

RAC

No idea why its trying to run the native journal. Its been ejected properly from Windows PC’s. When I eject it from the My Cloud I wait until the USB indicator on the Dashboard goes light gray indicating no USB then I disconnect the USB cable. Its frustrating as this particular drive worked under the firmware prior to OS 3.

Hi,

Is there any resolution to this problem? I have just bought a 4Tb MyBook as a backup for my MyCloud. I did manage to get it mounted, but after a reboot the share disappeared and now it won’t mount at all.

I am running firmware v04.04.03-113

Roger