![]() |
| |||||||||||||||
|
Welcome to the HEXUS.community discussion forums forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and other features. By joining our free community you will have access to post topics, respond to polls and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! |
| |||||||
Thecus.care@HEXUS Founded in 2004, Thecus brings decades of R&D expertise, sales channel development, and a strong customer focus to deliver high-quality products that meet the storage needs of individuals and large organizations alike. |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| Registered User Join Date: Oct 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
| N5200 can't mount cifs/ smb share...? Hi, my N5200 is not able to mount network shares. Mount cifs or smb is not activated, even the modules are present on the system. Every other system accross my networks are able to connect and mount N5200 and each other to. Why is CIFS not activated, how can i activate it? The reason i wish to use cifs / smb is to make fully automated backup of a few MS servers, but with the coordination thru N5200's cron, and not with Windows AT - because they do not talk with each other. Also: windows backup is slow, trashy and do not know about hardlinks, incremental backup under *nix etc... The idea is to place a script to make snapshot backups of some network folders, look here for more info at linuxwiki.de/rsync/SnapshotBackups At this moment, N5200 is quite useles for me, because i have to use a secondary system, that is allways running and backuping network systems to the raid - actually, if i just take the discs and put them into the case, i'll save energy an my time. But this is not solution, yea? Who can help me? Yvonn? Thecus? |
| |
| | #2 (permalink) |
| Thecus Staff Join Date: Apr 2007
Posts: 937
Thanks: 0
Thanked 8 Times in 8 Posts
| Re: N5200 can't mount cifs/ smb share...? Dear Sir, From your description said: Every other system accross my networks are able to connect and mount N5200 and each other to. Seem this N5200 SMB/CIFS is ready for sahring, did you mean went N5200 to mount other sharing? And you mentioned the modules, does these module come from the Thecus WEB site? Official Thecus Support Representative |
| |
| | #3 (permalink) |
| Registered User Join Date: Oct 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
| Re: N5200 can't mount cifs/ smb share...? Dear Yvon, From your description said: Every other system accross my networks are able to connect and mount N5200 and each other to. - Thats right, NAS is OK. Seem this N5200 SMB/CIFS is ready for sahring, did you mean went N5200 to mount other sharing? - Yes, that's the problem. NAS can't mount CIFS across my internal (include VPN) networks. And you mentioned the modules, does these module come from the Thecus WEB site? - No, at the moment i do not use any module for this operation, but built in cron and default linux commands - when CIFS access over my networks would work, I would go for write a module for this and share it with comunity; at this stage, this task is not my first priority. Why is N5200 not able to mount smb/cifs, even when the librarys are present? Actually, they should be compiled into kernel, because they are here. Modprobe does not return anything. Thanks in advance. |
| |
| | #4 (permalink) |
| Thecus Staff Join Date: Apr 2007
Posts: 937
Thanks: 0
Thanked 8 Times in 8 Posts
| Re: N5200 can't mount cifs/ smb share...? Dear Sir, Here only provide the suggestion and answer the post about Thecus offical relased functions, thus we afraid to reply such unoffical operation and thanks for your understanding in advance. Official Thecus Support Representative |
| |
| | #5 (permalink) |
| Senior Member Join Date: Jun 2007 Location: Austra
Posts: 453
Thanks: 0
Thanked 14 Times in 14 Posts
| Re: N5200 can't mount cifs/ smb share...? Hi thecusbln, why don't You use rsync - theres a RSYNC module availabale for the N5200 and with the help of SSHD and SYSUSER module You are able to configure it - and for Windows rsync is also available. Then You are able to trigger the sync from the N5200. Of course, this is an "unofficial" solution ;-) br Peter |
| |
| | #6 (permalink) |
| Registered User Join Date: Oct 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
| Re: N5200 can't mount cifs/ smb share...? ouch, I do sorry as much as i can, please forgive me, thecus-oz. but if you don't mind, i'll stay on this on-off-topic thing, called N5200 is not able to mount CIFS on other machine, that's mean: no shared folders, no mount, no sheduled backup, no sync. also: no modules, no patches, no nothing, just Thecus, N5200 and me. well, why not to use rsync? because i can't mount anything out of the NAS, so there is no need for me to use any of the magic sticks; i just need CIFS or SMB. sure, i could do some iscsi or nfs or wahtever....but you would NOT suggest to your customer: jepp, you have to setup your server with linux. no? you can't? why not, it's peanuts. no linux? hm, well, there is a patch, so your server could share files thru AFP. no? no macs in the house? grrrr... i'll call you later, bye. but you should think about....it's more secure than windows. still no? really? ................... So, thank you, Yvon, maybe anyone else know something about my issue. Sure, I could also go to some other board. I could put freeNAS on it. I could eat the guarantee. But I still believe, we could find the solution. With best regards, sincerelly yours. |
| |
| | #7 (permalink) |
| Registered User Join Date: Oct 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
| Re: N5200 can't mount cifs/ smb share...? ok, here i am again. sorry about my ironic note before, i have found a workaround. 1. use command insmod cifs and/or insmod smbfs (ssh or autorun, meta module) 2. now you are able to mount smb shares across the network as it should be 3. then proceed as described here: linuxwiki.de/rsync/SnapshotBackups voila! now i just have to solve the problem about maintaining cron and setup backup for monday, 02:00 server1, moday, 04:00 server 2.....and so on. how about using crontab on thecus? |
| |
| | #8 (permalink) |
| Senior Member Join Date: Jun 2007 Location: Austra
Posts: 453
Thanks: 0
Thanked 14 Times in 14 Posts
| Re: N5200 can't mount cifs/ smb share...? Crontab can't be used the usual linux way - check here how it works: http://thecususergroup.proboards106....ay&thread=2207 br Peter |
| |
| | #9 (permalink) |
| Registered User Join Date: Jan 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
| Re: N5200 can't mount cifs/ smb share...? Thecusbln, I am in the same spot as where you where apparently. I cannot mount smb file systems either. Following your lead of doing 'insmod smbfs', it indeed inserted smbfs in the kernel (at leats is shows up under lsmod and mount does not complain anymore that it does not know smbfs), but now when using mount (mount -t smbfs //192.168.1.4/lucien /raid/lacie) I get errors of the kind I see a lot on various fora: mount: wrong fs type, bad option, bad superblock on //192.168.1.4, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so dmesg command then returns: smb_retry: no connection process smb_delete_inode: could not close inode 2 smb_fill_super: missing data argument Also when using smbmnt, it does not work. smbmnt returns without error codes, fstab shows the entry, but when changing directory to the mount, the prompt does not come back. ctrl-c aborts the cd, and then the error message is: '/raid/lacie is not a directory' You say it worked for you know, so did you do anything else? I have a N5200PRO with SYSUSER, SSHD, META, INFO, PERL modules installed. FW2.0.8 Anybody? Lucien |
| |
| | #11 (permalink) |
| Registered User Join Date: Jan 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
| Re: N5200 can't mount cifs/ smb share...? With option -t auto, the message mount returns is : mount: special device //192.168.1.4/lucien does not exist which I know to be not true, as I mount these drives on a windows machine through windows networking without anyt problems |
| |
| | #12 (permalink) |
| Registered User Join Date: Oct 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
| Re: N5200 can't mount cifs/ smb share...? hello lucien, sorry, i'm not frequently here. what did I? the purpose was: thecus should enable cifs / smbfs [TASK 0] thecus should connect thru openVPN to different servers [TASK 1] thecus should mount samba shares @ some windoze server [TASK 2] thecus should sync do sync between local and remote folder as snapshot [TASK 3] [TASK 0] get META (Startup, Shutdown) and create a file called 0001.sh (rwxr--xr--) #!/bin/sh #Insmod CIFS insmod cifs modprobe cifs #Insmod SMBFS insmod smbfs modprobe smbfs [TASK 1] if you really need this....do it - I need it for the connection to the remote networks - if yes, you'll find out how - my one works with thecus defaults (thecus should update openvpn, grrrr...) [TASK 2] create a file called 0002.sh (rwxr--xr--) #!/bin/sh #mount mastershare mount -t cifs //serverip/share /raid/subfolder/where/youre/files/should/go -ousername=username,password=secret,domain=windozedomain,iocharset=iso8859-1,codepage=cp850 you are using smbfs: mount -t smbfs //192.168.1.4/lucien /raid/lacie try that: mount -t cifs //192.168.1.4/lucien /raid/lacie -ousername=username,password=secret,domain=windozedomain,iocharset=iso8859-1,codepage=cp850 (iocharset and cp are for germany - find out yours) [TASK 3] at least, a third file is doing sync - take a look around, here below is a nice tut... wwwDOTmikerubelDOTorg/computers/rsync_snapshots/contributed/geordy_kitchen samesame but different is to use rsync module....I have my solution now, no need for other. PS: yeah, one more: thecus-crontab-madness vs. my patience....;-) best regards, thecusbln |
| |
| | #13 (permalink) |
| Registered User Join Date: Jan 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
| Re: N5200 can't mount cifs/ smb share...? Thecusbln Your hints finally let me succeed in the mount. I found the missing smbfs and cifs, but installed smbfs, whereas my NAS apparently only talks cifs. So when I installed cifs, it worked! Thanks a lot. Now I just need to get into rsync and I can loose at least 1 computer in the backup process ![]() Lucien |
| |
| Breadcrumb | ||||||
| ||||||
| Tags |
| cifs, n5200, smb |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |