July 26, 200916 yr Hi, Cant work out whats wrong at all with unRAID had setep issues originally trying to get server to link with my vista pc and then after install of new cable modem it appeared to work and ive transferred 3tb of movies. This morning i closed down server to add new drive to allow me top copy more movies onto and now it wont connect again giving me the same error message as before. In vista i can see Tower as part of network but when i double click on it i get following error Windows can not access \\TOWER check the spelling of name otherwise you have a network error. Error code is 0x80070035 This is now driving me round the bend my network picks up other pc in house(windows based) my sons 360 but although it sees TOWER it cant connect and ive done nothing but close it down and reboot. Ive toyed with installing linux instead on pc incase its a windows network issue but dont know whether that would help or not or installing a good network card rather than using onboard but cant see how it would see it fine and connect for a couple of days and now wont. Any ideas would be greatly appreciated.
July 27, 200916 yr Author Some further info as i still cant get it working ive installed an ubuntu partition on my pc to see if the issue is a problem with windows itself. Now ive got the latest problem of having no idea how to access the front end via ubuntu as the http://tower doesnt seem to work. This is probably due to my lack of linux knowledge any help would be appreciated. cheers
July 27, 200916 yr Windows relies on a "master browser" to identify shared resources on a LAN. For each subnet, for all of the machines in the same workgroup, one machine is chosen to be the "mater browser" to track shared folders and translate their names to locations. On the unRAID server, you can execute a command to identify which machine is the master browser. Typically, it is the newest version windows OS, but that is all negotiated between the machines on the LAN running required service. To see which machine is your master browser, type at the linux prompt (the last 5 characters typed are "space dash dash space dash"): nmblookup -M -- - querying __MSBROWSE__ on 192.168.2.255 192.168.2.4 __MSBROWSE__<01> The output shows 192.168.2.4 as my master browser. To identify which machine that is, I can then type: nmblookup -SA 192.168.2.4 Looking up status of 192.168.2.4 DELLCPX <00> - B <ACTIVE> DELLCPX <20> - B <ACTIVE> JOEGROUP <00> - <GROUP> B <ACTIVE> JOEGROUP <1e> - <GROUP> B <ACTIVE> JOEGROUP <1d> - B <ACTIVE> ..__MSBROWSE__. <01> - <GROUP> B <ACTIVE> MAC Address = 00-50-04-B4-D7-DD Now I can see that my wife's old laptop (dellcpx) is the master browser. All the other machines rely on it to determine what is in their network neighborhood. Can you guess what happens if the dellcpx laptop is shut off? Yup... network share access is broken until the remaining machines on the LAN negotiate which will assume the role of the master browser. (I have no idea how often that process occurs) Fortunately, the dellcpx laptop is almost never turned off. (My wife uses it for e-mail and general browsing of the web) Interestingly, the newest OS on my LAN is a laptop running Vista. The "dellcpx" PC is running a much older Win2000. So much for the theory that the newest version of a window's OS usually ends up as the master browser on a LAN> If I want to see what the unRAID server is sharing, I can type (pressing enter at the password prompt, as I have no "root" password for the SMB login on the unRAID server): smbclient -L localhost Enter root's password: Domain=[TOWER] OS=[unix] Server=[samba 3.3.3] Sharename Type Comment --------- ---- ------- IPC$ IPC IPC Service (Media server) TV Disk Pictures Disk Mp3 Disk Movies_New Disk Movies-Xmas Disk Movies T-Z Disk Movies P-S Disk Movies K-O Disk Movies F-J Disk Movies A-E Disk Movies Disk Tower Disk Domain=[TOWER] OS=[unix] Server=[samba 3.3.3] Server Comment --------- ------- Workgroup Master --------- ------- JOEGROUP DELLCPX It too shows the DELLCPX laptop as the master browser. (I'm not sure of the IPC$ service... I need to look into if that needs to be enabled on the unRAID server) To see what is happening on the dellcpx laptop I can type (again pressing enter at the password prompt): smbclient -L dellcpx Enter root's password: Anonymous login successful Domain=[JOEGROUP] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager] Sharename Type Comment --------- ---- ------- IPC$ IPC Remote IPC MEDIA Disk downloads Disk mp3 Disk temp Disk ADMIN$ Disk Remote Admin C$ Disk Default share Shared Folder Disk Anonymous login successful Domain=[JOEGROUP] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager] Server Comment --------- ------- DELL630 dell630 DELLCPX HTPC JOELP3 TOWER Media server Workgroup Master --------- ------- JOEGROUP DELLCPX I can see all the other PCs on my LAN that dellcpx is aware of, including "TOWER" Checking out the Vista laptop I can see it does not allow anonymous browsing of its shares folders. smbclient -L dell630 Enter root's password: Anonymous login successful Domain=[JOEGROUP] OS=[Windows Vista Business 6001 Service Pack 1] Server=[Windows Vista Business 6.0] Sharename Type Comment --------- ---- ------- Error returning browse list: NT_STATUS_ACCESS_DENIED Anonymous login successful Domain=[JOEGROUP] OS=[Windows Vista Business 6001 Service Pack 1] Server=[Windows Vista Business 6.0] Server Comment --------- ------- Workgroup Master --------- ------- Guess what happens if a neighbor uses your wireless connection with their laptop, or a family member turns on their PC, takes over as master browser, since they is also configured to be a master browser, then disconnects... You got it, no more network neighborhood of shares until a new master browser negotiation occurs. Lots more details of how this works at this excerpt from http://books.google.com/books?id=3w4sjblXbjwC&pg=PA356&lpg=PA356&dq=linux+identify+samba++master+browser&source=bl&ots=F8QIVdLoiP&sig=-B3V38FRu2NCavqu7vz6jfXlLHM&hl=en&ei=tLNtSvebNpKcswOH4vzKDg&sa=X&oi=book_result&ct=result&resnum=5 You can also do a google search for "windows master browser" Only 1 machine on a LAN should be configured as the master browser. The service on the others could all be disabled if more than one is active. The problem you are having could easily be caused by a machine other than Tower, or your Vista PC. It could easily happen if the workgroup name on a PC elsewhere on the LAN is different and it is attempting to be the master-browser for that alternate workgroup. As far as getting to the unRAID server's main page from your internet browser, log in on the unRAID console and type ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:11:11:75:fb:7e inet addr:192.168.2.100 Bcast:192.168.2.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:28627198 errors:0 dropped:0 overruns:0 frame:0 TX packets:86118000 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1429550600 (1.3 GiB) TX bytes:1684515297 (1.5 GiB) If you can't use your browser to get to http://tower, it might be because your router does not know it (or how to get to it) Try http://192.168.2.100 (using your IP address, not mine that I used in the sample) If you show no IP address, you have a different issue on your unRAID server. Post a syslog for analysis. Instructions under troubleshooting in the wiki. Joe L.
July 27, 200916 yr Author Thanks very much for your detailed reply Joe (really appreciated) i went through step by step what you said. At nmblookup -SA 192.168.1.8 i get the following DAVID-PC <00> - B <ACTIVE> WORKGROUP <00> - <GROUP> B <ACTIVE> WORKGROUP <1e> - <GROUP> B <ACTIVE> DAVID-PC <20> - B <ACTIVE> WORKGROUP <1d> - B <ACTIVE> ..__MSBROWSE__. <01> - <GROUP> B <ACTIVE> I have nothing else currently connected to network whilst i have been trying to get the Server setup so i dont know whether i should have all the above entries that i have. It also looks like my windows PC is my master. It all goes wrong when i try smbclient -L localhost to see what Unraid is sharing i get the following message Connection to localhost failed (Error NT_STATUS_CONNECTION_REFUSED) When i try smbclient -L DAVID-PC i get a load of info but the TOWER isnt listed. As for the Config page i can connect to it without a problem http://TOWER and appear to be able to do everything i need to do . And when i view network via windows vista pc TOWER is listed but cant access it. This all worked fine a couple of days ago and as far as i can see ive not made any changes. Cheers again Joe and i hope this gives you an idea of whats wrong.
July 27, 200916 yr what happens when you type: ping -c 5 localhost at the command line on the unRAID server? It almost looks like you do not have the localhost alias defined. Do you have a "nameserver" defined in your unRAID config? (normally it will be the IP address of your router) Since you have basic networking issues, don't complicate your life with SMB shares too. What do you get when you type this: ifconfig
July 27, 200916 yr Author Hi mate, When i enter ping -c 5 localhost i get ping tower (127.0.0.1) 56(84) bytes of data 5 packets transmitted, 5 recieved, 0% loss, time 3997ms rtt min/avg/max/mdev = 0.005/0.008/0.017/0.004 ms when i enter ifconfig eth0 Link encap:Ethernet HWaddr 00:1f:d0:9e:e2:d2 inet addr :192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric :1 RX packets:40 errors :0 dropped :0 overruns :0 frame :0 TX packets:61 errors:0 dropped :0 overruns :0 carrier :0 collisions :0 txqueuelen :1000 RX bytes:4819 TX bytes : 7934 Interrupt:27 Base address :0x2000 lo Link encap:Local Loopback inet addr :127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric :1 RX packets:32 errors :0 dropped :0 overruns :0 frame :0 TX packets:32 errors :0 dropped :0 overruns :0 carrier :0 collisions :0 txqueuelen :0 Hope this makes things clearer cheers
July 27, 200916 yr Hi mate, When i enter ping -c 5 localhost i get ping tower (127.0.0.1) 56(84) bytes of data 5 packets transmitted, 5 recieved, 0% loss, time 3997ms rtt min/avg/max/mdev = 0.005/0.008/0.017/0.004 ms when i enter ifconfig eth0 Link encap:Ethernet HWaddr 00:1f:d0:9e:e2:d2 inet addr :192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric :1 RX packets:40 errors :0 dropped :0 overruns :0 frame :0 TX packets:61 errors:0 dropped :0 overruns :0 carrier :0 collisions :0 txqueuelen :1000 RX bytes:4819 TX bytes : 7934 Interrupt:27 Base address :0x2000 lo Link encap:Local Loopback inet addr :127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric :1 RX packets:32 errors :0 dropped :0 overruns :0 frame :0 TX packets:32 errors :0 dropped :0 overruns :0 carrier :0 collisions :0 txqueuelen :0 Hope this makes things clearer cheers OK, that's good. What seems to be missing is the ability to translate a "name" to an ip address, or, the samba service does not have permission to get to the files it needs. I'm guessing have no DNS server defined. type: net lookup google.com and cat /etc/hosts and cat /etc/resolv.conv Another way to know what Samba is seeing in your configuration is to type: testparm It should alert you of any format errors.
July 27, 200916 yr Author Ok when i inter net lookup google.com it returns 74.125.67.100 cat /etc/hosts returns 127.0.0.1 TOWER localhost cat /etc/resolv.conv this returns cat: /etc/resolv.conv: No such file or directory testparm gives me a large processing section with each movie folder ( i made a blunder when copying across and they are not within disk 1 folder just appear on the drive) says Loaded services file ol warning: some share names longer than 12 charactersthese may not be accessible to older clients. Server role: ROLE_STANDALONE press enter to see dump lists movie folder paths cheers
July 27, 200916 yr Ok when i inter net lookup google.com it returns 74.125.67.100 cat /etc/hosts returns 127.0.0.1 TOWER localhost cat /etc/resolv.conv this returns cat: /etc/resolv.conv: No such file or directory testparm gives me a large processing section with each movie folder ( i made a blunder when copying across and they are not within disk 1 folder just appear on the drive) says Loaded services file ol warning: some share names longer than 12 charactersthese may not be accessible to older clients. Server role: ROLE_STANDALONE press enter to see dump lists movie folder paths cheers I think I understand now what is happening. You've accidentally created a situation where each "movie" is their own share on the LAN and it is just overwhelmed. To fix this is not too hard, you should be able to do this for each of your disks in turn First, disable user-shares until you get things organized. (I think you need to stop the array to enable/disable them) Once disabled, you can do everything on the unRAID command line, or use file-explorer in windows on the disk shares. In linux... cd /mnt/disk1 mkdir movies mv * movies It will complain you can't move movies to itself. That is expected, but the wildcard character "*" will save a lot of typing. Repeat with each of your disks (disk1, disk2, disk3... in turn.) the "mkdir" command will create a movies directory the "mv" (move) command will move the individual directories named after the individual movies into the top level "movies" folder. Then, you can reboot (just to clean things out of memory), and then re-enable user-shares. Joe L.
July 27, 200916 yr Author Thanks again Joe. My problem now is probably my lack of linux knowledge. I have 103 share entries for each film i transferred over from windows pc. Plus i have a disk 1 share and a movies share. Im having trouble removing/ammending the shares. It wont let me delete the user share as says its not empty (as it has all the film folders) and when i look in disk1/movies it also lists the film folders. Ive manually went in and removed a couple of files but now ive lost both the films from disk1/movies and the user directory so now im worried what to delete and what not to delete cheers again
July 27, 200916 yr Thanks again Joe. My problem now is probably my lack of linux knowledge. I have 103 share entries for each film i transferred over from windows pc. Plus i have a disk 1 share and a movies share. Im having trouble removing/ammending the shares. It wont let me delete the user share as says its not empty (as it has all the film folders) and when i look in disk1/movies it also lists the film folders. Ive manually went in and removed a couple of files but now ive lost both the films from disk1/movies and the user directory so now im worried what to delete and what not to delete cheers again /mnt/user is a set of pointers to the actual files stored in /mnt/disk1,2,3 etc. Think of them as shortcuts. Removing a file from either will remove it from both views. Easiest way to clean things up... TURN OFF USER SHARES. Until you get things organized, forget they exist. Export your SMB disk shares as read/write. Answer a few questions... how many data disks do you have? From what you said, you had one directory per movie on those disks. Did you create "movies" top level directories as I suggested earlier? Did you move the individual movie direcories into the "movies" directory? As far as all the user-shares, under the config folder on the flash drive are files that store the configuration for all your user-shares. You can probably delete those that are not needed while user-shares are turned off. It sounds like you had a bit over 100 movies. Joe L.
July 28, 200916 yr Author Hi again Joe, I followed your steps and got to the point where it said cannot move 'movies' to a subdirectory of itself but if i access cd /mnt/disk1/movies/ and use ls all movie folders are located . At present ive only have 1 *1tb parity drive which i havent enabled 2 *1tb drives with movies and an additional 1 tb installed with nothing on it yet i still have a bit to do (7 tb in total) So at this point should i be removing flash drive and inseting in pc and trying to remove share info and then re-enabling and seeing if i can access it over network. cheers
July 28, 200916 yr Hi again Joe, I followed your steps and got to the point where it said cannot move 'movies' to a subdirectory of itself but if i access cd /mnt/disk1/movies/ and use ls all movie folders are located . Good. All the movies are nor in the "movies" directory. The same should be done on disk2, assuming you have movies there too. (It may still be empty... you'll have to tell me if there are movie folders at the top leevel there too named after each of your movies, or just one "movies" directory you created under disk2 following my original suggestions. At present ive only have 1 *1tb parity drive which i havent enabled 2 *1tb drives with movies and an additional 1 tb installed with nothing on it yet i still have a bit to do (7 tb in total) So at this point should i be removing flash drive and inseting in pc and trying to remove share info and then re-enabling and seeing if i can access it over network. cheers Actually, you can get to the flash drive without having to move it. At the linux prompt, type cd /boot/config/shares ls You will see a file for each of the user-shares you configured. You can delete them all at this point. The command to remove a file is rm filename.cfg If the name has embedded spaces, surround the name with quotes. rm "james bond - thunderball.cfg" Once youve moved your movies so there will only be a few top level folders on the disks, then unRAID will create the user-shares for you. I personally have a "Movies", "Pictures", "MP3" and "data" top level folders. Everything else is in sub-folders.
July 28, 200916 yr At present ive only have 1 *1tb parity drive which i havent enabled 2 *1tb drives with movies and an additional 1 tb installed with nothing on it yet i still have a bit to do (7 tb in total) 1TB + 2TB + 1TB = 7TB You lost me there. Assuming the total is wrong, you have 1TB (parity) + 3TB (data) = 3 TB (actual capacity). Unless you meant you have 7 TB of data still to migrate to the server, in which case....you need more hard drives!
July 28, 200916 yr Author Yes mate i meant i have 7tb of data in total other drives still to be added but wont bother just now as what i have added at moment is giving me more than enough trouble. cheers
July 28, 200916 yr Author Ok was still having problems with shares etc on my unraid server and couldnt get to the bottom of it. So i installed server software on another pen drive and removed the existing drives and instaled a new blank hard drive. Added it to new network and windows pc seen the Tower and allowed me to connect to it so problems on my original server are obviously share related as Joe thought. Problem there was i couldnt seem to fix. So i wondered is it possible to add these drives to the new unraid server as i cant lose the movie files on the existing tb drives or can i remove all share settings from existing server and set it up again. Cheers in advance for any help.
Archived
This topic is now archived and is closed to further replies.