Windows 7 Can no longer connect to MBWE

Hi, I’ve had a My Book World Edition 1TB for 6 months now and everything worked just fine. But yesterday Windows 7 on my laptop (wireless) and desktop (wired) were no longer able to connect to the drives in Windows Explorer. It keeps telling me that the drive is longer available or that I do not have the permissions to access the drive.

I can however connect just fine using my iMac, itunes in windows and Mac and Windows Media Player. I can play all of the music and video files through those programs, but can’t get to them in Windows Explorer. I can also access the MBWE settings through the web interface.

Any ideas on how to fix this?

Any help you could offer would be appriciated, WD support doesn’t seem to have a clue as what the problem is.

Do you access webinterface using IP adress or use name?

If you use IP and it works, but on your network share you use name and that does not work anymore, maybe something happened to name resolution service… just try to connect using IP adress in network share.

How exactly would I do that?

Under map network drive I tried  “\192.168.0.199\Public” but it still wouldn’t take that.

Is there another way I should be formating the folder location?

Thanks fr the reply.

Yes, that was correct way…

ok, if if didnt work… i can try to help you further, if your NAS is so called ‘WhiteLight’ edition not ‘BlueRing’.

If it is whitelight, you can possibly:

  1. enable ssh access in webinterface,

  2. log on with root access and check log files (syslog which is located in /var/log/messages and samba log in /var/log/samba/log.smbd) and also check if smbd service is running on your NAS (with command ‘ps ax | grep smbd’ or by executing  /etc/init.d/S90smbd status).

Those logs should provide at least some info to tell what is wrong.

With /var/log/messages and samba log in /var/log/samba/log.smbd I get permission denied

-sh: /var/log/messages: Permission denied
-sh: /var/log/samba/log.smbd: Permission denied

With /var/log/messages and samba log in /var/log/samba/log.smbd I get:

~ # ps ax | grep smbd
 3257 root       2916 S < /usr/sbin/smbd -D
 3259 root       2528 S < /usr/sbin/smbd -D
26034 root        584 S   grep smbd

~ # /etc/init.d/S90smbd status
smbd pid 3259 3257 is running
nmbd pid 3299 is running

I have no idea what any of this means…

Okey,

judging by your output i see that smbd and nmbd daemons which are responsible for accessing shares is running. Is it good. But still don’t expline why you cannot access share.

Do this. Log in with root account and type this:

/etc/init.d/S90smbd restart

 It will restart smbd and nmbd without restarting whole Wd My Book.

After that try to access your share as you did when it was working from your desktop or laptop.

If it is still not letting you access, please post output from commands:

tail /var/log/samba/log.smbd

and

tail /var/log/messages

These commands will post most recent etries from your log files.

To see more oldest inputs from log you can also use

more /var/log/samba/log.smbd

That command will fill all your console screen with lines, if there is any. You can “scroll” pressing spacebar on your keyboard.

~ # /etc/init.d/s90smbd restart
-sh: /etc/init.d/s90smbd: not found

~ # tail /var/log/samba/log.smbd
[2011/01/04 15:03:25, 0] smbd/connection.c:claim_connection(196)
  claim_connection: tdb_store failed with error IO Error.
[2011/01/04 15:03:25, 1] smbd/service.c:make_connection_snum(812)
  too many connections - rejected
[2011/01/04 15:03:25, 0] tdb/tdbutil.c:tdb_log(783)
  tdb(/usr/var/locks/connections.tdb): expand_file to 221184 failed (No space left on device)
[2011/01/04 15:03:25, 0] smbd/connection.c:claim_connection(196)
  claim_connection: tdb_store failed with error IO Error.
[2011/01/04 15:03:25, 1] smbd/service.c:make_connection_snum(812)
  too many connections - rejected

~ # tail /var/log/messages
Jan 4 10:55:53 MyBookWorld daemon.warn afpd[26765]: Warning: No CNID scheme for volume /DataVolume/Public. Using default.
Jan 4 10:55:53 MyBookWorld daemon.info afpd[26765]: Setting uid/gid to 0/1000
Jan 4 10:55:53 MyBookWorld daemon.info afpd[26765]: CNID DB initialized using S leepycat Software: Berkeley DB 4.2.52: (December 3, 2003)
Jan 4 10:55:54 MyBookWorld daemon.info afpd[26765]: ipc_write: command: 2, pid: 26765, msglen: 24
Jan 4 10:55:54 MyBookWorld daemon.info afpd[3326]: ipc_read: command: 2, pid: 2 6765, len: 24
Jan 4 10:55:54 MyBookWorld daemon.info afpd[3326]: Setting clientid (len 16) fo r 26765, boottime 4D1CFA7D
Jan 4 10:55:54 MyBookWorld daemon.info afpd[3326]: ipc_get_session: len: 24, id len 16, time 4d1cfa7d
Jan 4 11:00:01 MyBookWorld cron.info /opt/sbin/cron[26875]: (root) CMD (sh /pro to/SxM_webui/fpkmgr/fpks/Transmission/TR-watchdog)
Jan 4 11:10:01 MyBookWorld cron.info /opt/sbin/cron[27056]: (root) CMD (sh /pro to/SxM_webui/fpkmgr/fpks/Transmission/TR-watchdog)
Jan 4 11:20:02 MyBookWorld cron.info /opt/sbin/cron[27416]: (root) CMD (sh /pro to/SxM_webui/fpkmgr/fpks/Transmission/T~ #
~ # more /var/log/samba/log.smbd
[2011/01/03 21:33:18, 0] lib/util_sock.c:read_data(534)
  read_data: read failure for 4 bytes to client 192.168.0.198. Error = No route to host
[2011/01/03 21:33:18, 1] smbd/service.c:close_cnum(1141)
  sid-laptop (192.168.0.198) closed connection to service Public
[2011/01/04 12:14:27, 0] tdb/tdbutil.c:tdb_log(783)
  tdb(/usr/var/locks/sessionid.tdb): expand_file write of 1024 failed (No such f ile or directory)
[2011/01/04 12:14:27, 1] smbd/session.c:session_claim(144)
  session_claim: unable to create session id record
[2011/01/04 12:14:27, 1] smbd/password.c:register_vuid(310)
  Failed to claim session for vuid=101
[2011/01/04 12:14:32, 0] tdb/tdbutil.c:tdb_log(783)
  tdb(/usr/var/locks/sessionid.tdb): expand_file to 40960 failed (No space left on device)
[2011/01/04 12:14:32, 1] smbd/session.c:session_claim(144)
  session_claim: unable to create session id record
[2011/01/04 12:14:32, 1] smbd/password.c:register_vuid(310)
  Failed to claim session for vuid=103
[2011/01/04 12:14:45, 0] tdb/tdbutil.c:tdb_log(783)
  tdb(/usr/var/locks/sessionid.tdb): expand_file to 40960 failed (No space left on device)
[2011/01/04 12:14:45, 1] smbd/session.c:session_claim(144)
  session_claim: unable to create session id record
[2011/01/04 12:14:45, 1] smbd/password.c:register_vuid(310)
  Failed to claim session for vuid=105
[2011/01/04 12:15:05, 1] smbd/service.c:make_connection_snum(941)
  sid-laptop (192.168.0.198) connect to service Public initially as user nobody (uid=99, gid=1000) (pid 28590)
[2011/01/04 12:15:05, 0] tdb/tdbutil.c:tdb_log(783)
  tdb(/usr/var/locks/locking.tdb): expand_file to 49152 failed (No space left on device)
[2011/01/04 12:15:05, 0] lib/util.c:smb_panic(1592)
[2011/01/04 12:15:05, 0] lib/fault.c:fault_report(41)
  ===============================================================
[2011/01/04 12:15:05, 0] lib/fault.c:fault_report(42)
  INTERNAL ERROR: Signal 11 in pid 28590 (3.0.23c)
  Please read the Trouble-Shooting section of the Samba3-HOWTO
[2011/01/04 12:15:05, 0] lib/fault.c:fault_report(44)

  From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2011/01/04 12:15:05, 0] lib/fault.c:fault_report(45)
  ===============================================================
[2011/01/04 12:15:05, 0] lib/util.c:smb_panic(1592)
[2011/01/04 12:15:05, 1] smbd/service.c:make_connection_snum(941)
  sid-laptop (192.168.0.198) connect to service Public initially as user nobody (uid=99, gid=1000) (pid 28591)
[2011/01/04 12:15:05, 0] tdb/tdbutil.c:tdb_log(783)
  tdb(/usr/var/locks/locking.tdb): expand_file to 49152 failed (No space left on device)
[2011/01/04 12:15:05, 0] lib/util.c:smb_panic(1592)
[2011/01/04 12:15:05, 0] lib/fault.c:fault_report(41)
  ===============================================================
[2011/01/04 12:15:05, 0] lib/fault.c:fault_report(42)
  INTERNAL ERROR: Signal 11 in pid 28591 (3.0.23c)
  Please read the Trouble-Shooting section of the Samba3-HOWTO
[2011/01/04 12:15:05, 0] lib/fault.c:fault_report(44)

  From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2011/01/04 12:15:05, 0] lib/fault.c:fault_report(45)
  ===============================================================
[2011/01/04 12:15:05, 0] lib/util.c:smb_panic(1592)
[2011/01/04 12:15:05, 0] tdb/tdbutil.c:tdb_log(783)
  tdb(/usr/var/locks/connections.tdb): expand_file write of 1024 failed (No spac e left on device)
[2011/01/04 12:15:05, 0] smbd/connection.c:claim_connection(196)
  claim_connection: tdb_store failed with error IO Error.
[2011/01/04 12:15:05, 1] smbd/service.c:make_connection_snum(812)
  too many connections - rejected
[2011/01/04 12:15:06, 0] tdb/tdbutil.c:tdb_log(783)
  tdb(/usr/var/locks/connections.tdb): expand_file write of 1024 failed (No space left on device)
[2011/01/04 12:15:06, 0] smbd/connection.c:claim_connection(196)
  claim_connection: tdb_store failed with error Record does not exist.
[2011/01/04 12:15:06, 1] smbd/service.c:make_connection_snum(812)
  too many connections - rejected
[2011/01/04 12:15:06, 0] tdb/tdbutil.c:tdb_log(783)
  tdb(/usr/var/locks/connections.tdb): expand_file to 221184 failed (No space left on device)
[2011/01/04 12:15:06, 0] smbd/connection.c:claim_connection(196)
  claim_connection: tdb_store failed with error Record does not exist.
[2011/01/04 12:15:06, 1] smbd/service.c:make_connection_snum(812)
  too many connections - rejected
[2011/01/04 12:15:06, 0] tdb/tdbutil.c:tdb_log(783)
  tdb(/usr/var/locks/connections.tdb): expand_file to 221184 failed (No space left on device)
[2011/01/04 12:15:06, 0] smbd/connection.c:claim_connection(196)
  claim_connection: tdb_store failed with error IO Error.
[2011/01/04 12:15:06, 1] smbd/service.c:make_connection_snum(812)
  too many connections - rejected
[2011/01/04 12:15:06, 0] tdb/tdbutil.c:tdb_log(783)

That’s only 10% of the log, if you want to see more I can post the rest.

I don’t understand how smbd can be running, but it can’t be found?

I don’t understand much of the log, but it looks like it thinks the disk is full and that there are too many connections to the device at the moment.  I know for a fact that there is only about 450GB on the disk, so it can’t be full. Each of the Download and Public partions said 4XX GB of 9XX GB used.

Dont forget unix systems is case sensitive!!!

You entered wrong command, thats why it does show ‘not found’.

Enter exactly:

/etc/init.d/S90smbd restart

Please post also output of:

df -h

It will show some disk usage status.

p.s. Judging by logs is it clearly ‘no space left’ issue why samba dont work normally anymore.

There is something similar like partition system in windows in Wd My Book NAS. Like partion C on Windows is usually for system files and partition D for other stuff. samba can’t run normally becouse somehow your “system” partiton is full. Is does not matter in this case if “other partition” is still half empty.

We need to find out somehow what filled all space in your “system” partiton.

Maybe log files?

Please post output of

ls -al /var/log/messages

and

ls -al /var/log/samba/log.smbd

Also post output of exactly this command:

cd / ; du -hmd 1

 It will show each root  folder size in megabytes.

~ # /etc/init.d/S90smbd restart
Restarting SMB services:
Shutting down SMB services: FAIL
Shutting down NMB services: OK
Starting SMB services: OK
Starting NMB services: OK
done.

~ # df -h
Filesystem Size Used Available Use% Mounted on
/dev/md0 1.8G 1.8G 0 100% /
/dev/md3 949.6M 17.5M 883.8M 2% /var
/dev/ram0 61.9M 20.0k 61.9M 0% /mnt/ram
/dev/md2 928.3G 387.8G 540.5G 42% /DataVolume

~ # ls -al /var/log/messages
-rw------- 1 root root 120695 Jan 4 16:40 /var/log/messages

~ # ls -al /var/log/samba/log.smbd
-rw-r--r-- 1 root root 43364 Jan 4 16:39 /var/log/samba/log.smbd

~ # cd / ; du -hmd 1
1008 ./dev
2460 ./etc
1755908 ./proto
66664 ./usr
4 ./nfs
2072 ./tmp
1500 ./Y:\Shared Videos
28 ./mnt
12 ./shares
12 ./Configuration
0 ./proc
4248 ./twonky
8 ./trustees
16 ./ExtendVolume
14424 ./root
406569688 ./DataVolume
43792 ./opt
16 ./lost+found
1184 ./bin
1228 ./sbin
0 ./sys
496 ./var
6812 ./lib
408471596 .

Ok so it looks like the system partition is full. How do I get in there and clear it out?

Also, I forgot to mention this earlier, but I have the Mybook World Feature Packs installed. http://highlevelbits.free.fr/

Think that might be the problem? Should I uninstall it?

Shutting down SMB services: FAIL

^ this shows it failed to shutdown service, so it was not running properly already. It did restarted ok, maybe it will work for some time now, but you clearly need to free some space.

/dev/md0 1.8G 1.8G 0 100% /

 As i suspected “system partition” is full…

I compared your ‘du’ output with my NAS and it shows that your no space left problem is somewhere in ‘proto’ folder.

Type and post output:

cd /proto ; du -hm

 In my /proto directory it is just default webinterface files. In your case it might be related to ‘Feature Packs’ installation. But don’t delete it yet. Maybe last command output will give  some clues.

Forget to tell, if output is too large to fit in one screen and you cant copy it all, use:

cd /proto ; du -hm | more

then copy first portion of output, after that press ‘backspace’ copy second output, etc.

After my last post I was poking around in the web settings and found that it said that there was a new firmware available, last week when these problems started it said there was no new firmware. So I hit the button, it upgraded, I ran the discovery software and everything seems to work now. I have full access to all my files in Windows Explorer.

~ # df -h
Filesystem Size Used Available Use% Mounted on
/dev/md0 1.8G 120.0M 1.6G 7% /
/dev/md3 949.6M 120.5M 780.8M 13% /var
/dev/md2 928.3G 387.8G 540.5G 42% /DataVolume
/dev/ram0 61.9M 20.0k 61.9M 0% /mnt/ram
/dev/md2 928.3G 387.8G 540.5G 42% /shares/Download
/dev/md2 928.3G 387.8G 540.5G 42% /shares/Public

/proto # cd / ; du -hmd 1
16 ./lost+found
1032 ./bin
406580348 ./DataVolume
24 ./dev
1600 ./etc
8 ./ExtendVolume
6216 ./lib
24 ./mnt
4 ./opt
0 ./proc
8416 ./proto
16 ./root
1224 ./sbin
4 ./shares
0 ./sys
188 ./tmp
4 ./trustees
3880 ./twonky
67032 ./usr
105936 ./var
4 ./nfs
12 ./Configuration
406775992 .

/ # cd /proto ; du -hm
12 ./SxM_webui/mionet
196 ./SxM_webui/eula
1480 ./SxM_webui/help
212 ./SxM_webui/share/include
24 ./SxM_webui/share/config
272 ./SxM_webui/share
104 ./SxM_webui/admin/js/overlib
368 ./SxM_webui/admin/js/overlibmws
528 ./SxM_webui/admin/js
60 ./SxM_webui/admin/image/js_grahp
836 ./SxM_webui/admin/image
248 ./SxM_webui/admin/tools
1304 ./SxM_webui/admin/lang
656 ./SxM_webui/admin/inc
4532 ./SxM_webui/admin
284 ./SxM_webui/img
124 ./SxM_webui/cpsync/js
40 ./SxM_webui/cpsync/image
300 ./SxM_webui/cpsync
460 ./SxM_webui/ctcs/js
144 ./SxM_webui/ctcs/image
1088 ./SxM_webui/ctcs
12 ./SxM_webui/blueprint/plugins/fancy-type
16 ./SxM_webui/blueprint/plugins
36 ./SxM_webui/blueprint/src
84 ./SxM_webui/blueprint
20 ./SxM_webui/podcast/image
88 ./SxM_webui/podcast
8412 ./SxM_webui
8416 .

The firmware update did end up getting rid of the Feature Packs.

Jazzymood, I really appreciate your help and hopefully this can help someone else out down the line.

Maybe for copmleteness, what would have been the next step? Deleting the large files in the proto folder?

Actually Proto looks fine now after you upgraded firmware and that trashed ‘feature pack’ and did free up some space. Don’t delete anything in Proto!! Those are system files which is needed for webinterface to work.

Problem solved.

I’m glad that i could help you.

I can just suggest you to watch over time to time output of this command:

~ # df -h
Filesystem Size Used Available Use% Mounted on
/dev/md0 1.8G 120.0M 1.6G 7% /

If this /dev/md0 is going close to 100% you can enter in weird problems like some stuff not working, etc.

1 Like

Everything is still working fine, but I installed the Feature Packs Manager again, mostly to get Transmission back, but to also see if it was the FPM that was causing the problem.

Filesystem Size Used Available Use% Mounted on
/dev/md0 1.8G 179.4M 1.6G 10% /
/dev/md3 949.6M 120.5M 780.8M 13% /var
/dev/md2 928.3G 340.4G 587.8G 37% /DataVolume
/dev/ram0 61.9M 20.0k 61.9M 0% /mnt/ram
/dev/md2 928.3G 340.4G 587.8G 37% /shares/Download
/dev/md2 928.3G 340.4G 587.8G 37% /shares/Public

~ # cd /proto ; du -hm
12 ./SxM_webui/mionet
196 ./SxM_webui/eula
1480 ./SxM_webui/help
212 ./SxM_webui/share/include
24 ./SxM_webui/share/config
272 ./SxM_webui/share
104 ./SxM_webui/admin/js/overlib
368 ./SxM_webui/admin/js/overlibmws
528 ./SxM_webui/admin/js
60 ./SxM_webui/admin/image/js_grahp
836 ./SxM_webui/admin/image
248 ./SxM_webui/admin/tools
1304 ./SxM_webui/admin/lang
656 ./SxM_webui/admin/inc
4532 ./SxM_webui/admin
284 ./SxM_webui/img
124 ./SxM_webui/cpsync/js
40 ./SxM_webui/cpsync/image
300 ./SxM_webui/cpsync
460 ./SxM_webui/ctcs/js
144 ./SxM_webui/ctcs/image
1088 ./SxM_webui/ctcs
12 ./SxM_webui/blueprint/plugins/fancy-type
16 ./SxM_webui/blueprint/plugins
36 ./SxM_webui/blueprint/src
84 ./SxM_webui/blueprint
20 ./SxM_webui/podcast/image
88 ./SxM_webui/podcast
1736 ./SxM_webui/fpkmgr/fpks/Transmission
12 ./SxM_webui/fpkmgr/fpks/System_Configura
124 ./SxM_webui/fpkmgr/fpks/System_Configura
1864 ./SxM_webui/fpkmgr/fpks
4 ./SxM_webui/fpkmgr/temp
64 ./SxM_webui/fpkmgr/HTML
1960 ./SxM_webui/fpkmgr
10380 ./SxM_webui
10384 .

So it looks like everything is exactly the same except for the FPM. So I’m guessing one of the FPM files inflate to take up the rest of the room on that partition.

Hope this helps anyone else who runs into this problem.