Problem: Samba not sharing external USB drive
|
5th Mar, 2014, 04:49 AM
Post: #1
|
|||
|
|||
Samba not sharing external USB drive
Hi there,
I'm having a problem with SMB and I'm having some trouble figuring it out. Here's the deal: Software XBian version: 1.0Beta2 XBMC version:12.2 Overclock settings: default Hardware Power supply rating: ? RPi model (B 512mb): SD card size and make/type: 8 GB (from Rpi) Network (wireless or LAN): LAN Connected devices (TV, USB, network storage, etc.): 2 USB Drives Logile Didn't see anything relevant in xbmc log Problem description: I have two USB drives connected to the RPi through a powered USB hub. Lets call them DiskA and DiskB. For some time, everything has been working fine. They both get automounted, and automatically shared with the auto share feature in Xbian. In my library, the source folders are set with the smb addresses because I have shared libraries with mysql. Recently, for some reason XBMC could not find media files in diskB. I later noticed the diskB wasn't available in the previous smb address. Usually the shared addresses were: //<rpiIpAddr>/DiskA //<rpiIpAddr>/DiskB Now the weird thing is, I have only one //<rpiIpAddr>/DiskA and within diskA I can find a folder called DiskB with everything from DiskB inside it. Like this //<rpiIpAddr>/DiskA/DiskB So, I turned the RPi off, Disconected DiskA and started it only with DiskB connected. What happens is that It gets auto mounted but doesn't get shared. In log.smbd, I get a warning like WARNING: No path in service DiskB - making it unavailable! Since XBMC is looking for a network address that doesn't exist, it can't find any of my files... So, any ideas how this happened, and how can I get arround it? Thanks for your time. |
|||
5th Mar, 2014, 07:09 AM
Post: #2
|
|||
|
|||
RE: Samba not sharing external USB drive
Just an update on something I tried.
Tried editing the shares.conf file in /etc/samba and added a section to share the DiskB drive. Rebooted (tried restarting samba only but it did nothing) and the drive got shared without any problems. Obviously, I want to use the auto share feature, and not an explicit share, so I commented out that same section, rebooted again, and back to the same problem. I'm no expert here, but It looks like the auto share feature is trying to share the DiskB in a folder inside the DiskA, but since I currently have the DiskA disconnected, it fails to share... That's just my guess... Any comments on this? thanks |
|||
24th Mar, 2014, 10:31 AM
Post: #3
|
|||
|
|||
RE: Samba not sharing external USB drive
can you provide
Code: sudo net conf list exactly at the time when the shares are mixed up? it was reported already by one user, unfortunately we could not pin point the issue. what XBian version you run and what is version of packages? Code: dpkg-query -W xbian-\* Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
25th Apr, 2014, 10:20 AM
Post: #4
|
|||
|
|||
RE: Samba not sharing external USB drive
Hi. Sorry for the delay. I've been away for a while.
Here's the net conf list Code: [Joao1TBL] ANd the package versions Code: xbian-package-cec 1.1-0.4 Hope it helps pin pointing the issue. I've been using that workaround in the shares.conf file but it would be great to get this fixed. Thanks! |
|||
21st Jul, 2014, 07:52 PM
Post: #5
|
|||
|
|||
RE: Samba not sharing external USB drive
i have a simialr situation... my external USB shared to Samba just fine then I upgraded andI cant see it on the network any more ...any help?
|
|||
6th Aug, 2014, 11:14 AM
Post: #6
|
|||
|
|||
RE: Samba not sharing external USB drive
@Kevin
if you (on the fly while RPI running) remove USB disk and plug it in again, will the share re-appear ? if yes, edit please /etc/usbmount/mount.d/00-clean , put "set -x" as 2nd line and reboot. then after all started and USB disk again mounted, send me /var/log/upstart/openbsd-inet.log please use git issue tracker for this Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
[SOLVED] Samba for External HD | gigles13 | 3 | 10,108 |
15th May, 2015 07:52 PM Last Post: deHakkelaar |
|
[SOLVED] external drive no longer mounts on boot | adepssimius | 3 | 10,924 |
21st Jul, 2014 07:51 PM Last Post: Kevin LeRoy |