LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-27-2010, 12:27 PM   #1
Hazenhart
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Rep: Reputation: 0
rsync, mounting network drives, and the DLink DNS-321


Hello.
I am 100% Linux Newbie. Thanks in advance for your patience.

I recently built a small Intel Atom 330 based server for my home. I'm using the Vortexbox Fedora-based OS to run the server (primarily used as a media server). So far everything is working great.

In addition to my media server, I've got a DLink DNS-321 NAS. I would like to setup a scheduled, incremental backup of my main server to the DLink NAS. I understand rsync is an excellent option, and am willing to undertake the task of setting it up on my server, but I am uncertain how to make it all happen with the DLink NAS. The NAS is very barebones, and I don't know if I can even install rsync on it. I don't even know if I can get to any kind of command line on the NAS box.

1. Can I mount the NAS drive on my main Linux server and then just run rsync on the server?

Thanks for your time.

Hayes
 
Old 01-27-2010, 02:28 PM   #2
bskrakes
Member
 
Registered: Sep 2006
Location: Canada, Alberta
Distribution: RHEL 4 and up, CentOS 5.x, Fedora Core 5 and up, Ubuntu 8 and up
Posts: 251

Rep: Reputation: 32
Hi there,

I currently have a DLink DNS-323 and it does not support rsync or at least not out of the box. I just looked up the DLink DNS-321 on the DLink website and it doesn't look like it does either. I am also unaware of a way to mount the networked drive unless its capable of NFS (network file share - linux systems). You can however connect via FTP or SMB (assuming this model has SMB (Samba)). If I were you I would probably try connecting via SMB over FTP. Due to your setup security won't really matter as you are only transferring data within your network (obviously and hopefully your network is behind a firewall (a router)).

If you want to try connecting to your NAS device you will need to do it one of two ways, the easiest way I know is explained very well via this RED HAT documentation: click here. The document includes both the GUI and command line method. Again I would suggest you use the command line method. This will get you going on how to connect to your NAS box, once connected you will have to learn some very basic scripting skills and how to use your systems crontab.

Hopefully this helps... post back with your thoughts! Take care.

Last edited by bskrakes; 01-27-2010 at 02:30 PM. Reason: spelling and grammar correction(s)
 
Old 01-27-2010, 03:18 PM   #3
Hazenhart
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for the reply.

Pretty sure the DNS-321 is capable of NFS. I don't know much of anything about it, but I know there is an option in the browser-based interface to select NFS or SMB. I've been using it as a server under the SMB option. Pretty sure the file system is ext2 or ext3, something like that.

The DNS-321, my home-made Vortexbox server, and my Windows 7 laptop are all functioning on my home network, and appear as network devices and/or drives in Windows.

Also, everything is behind a firewall.

Thanks.

Last edited by Hazenhart; 01-27-2010 at 03:20 PM.
 
Old 01-27-2010, 03:21 PM   #4
bskrakes
Member
 
Registered: Sep 2006
Location: Canada, Alberta
Distribution: RHEL 4 and up, CentOS 5.x, Fedora Core 5 and up, Ubuntu 8 and up
Posts: 251

Rep: Reputation: 32
That is cool because my DLink DNS-323 does not have an option for NFS. Anyway this link for Mounting NFS should help. Of course you will first have to activate it on your DNS-321 then try mounting it from the Fedora box.

So mounting your NAS would be like:
Quote:
mount 192.168.0.100:/DNS321/backup /<directory-you-want>/<dir-name>
Let me know if this helps or if you need more info...

Last edited by bskrakes; 01-27-2010 at 03:24 PM. Reason: added sample
 
Old 01-27-2010, 03:28 PM   #5
Hazenhart
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Excellent.
That's enough to get me started, anyway.

Thanks.



Quote:
Originally Posted by bskrakes View Post
That is cool because my DLink DNS-323 does not have an option for NFS. Anyway this link for Mounting NFS should help. Of course you will first have to activate it on your DNS-321 then try mounting it from the Fedora box.

So mounting your NAS would be like:


Let me know if this helps or if you need more info...
 
Old 01-27-2010, 03:48 PM   #6
bskrakes
Member
 
Registered: Sep 2006
Location: Canada, Alberta
Distribution: RHEL 4 and up, CentOS 5.x, Fedora Core 5 and up, Ubuntu 8 and up
Posts: 251

Rep: Reputation: 32
Good, I am happy to help! On a side note your question helped me to discover that the DNS-323 can now be modded (basically hacked)... See this wiki (DLINK DNS-323) if you are interested.

I am really jealous that DLINK hasn't provided a firmware upgrade for my device which would enable NFS support. Especially since you have the DNS-321... it only makes sense for them to release an update that would enable a user to setup NFS.

Cheers,

PS: if I actually do help you find success can you press the "thank"s button next to report and quote? LOL that would be great (I don't have a thanks yet )!

Last edited by bskrakes; 01-27-2010 at 03:49 PM.
 
Old 01-27-2010, 04:36 PM   #7
Hazenhart
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Genuine thanks for what you've already provided.
Didn't see the "thanks" button there.

I'll report back with any success.
 
Old 01-28-2010, 12:52 PM   #8
bskrakes
Member
 
Registered: Sep 2006
Location: Canada, Alberta
Distribution: RHEL 4 and up, CentOS 5.x, Fedora Core 5 and up, Ubuntu 8 and up
Posts: 251

Rep: Reputation: 32
LOL, great thank you and I eagerly await your results.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mounting network drives astroboiii Linux - Networking 15 12-23-2004 09:44 AM
Mounting network drives David@330 Linux - Newbie 3 10-01-2004 02:20 PM
Mounting Network Drives sonikntails Linux - Networking 3 08-12-2002 03:21 AM
mounting network drives Druaga Linux - Networking 1 05-08-2002 08:42 PM
mounting network drives thetruevoice Linux - Networking 12 09-17-2001 04:34 PM


All times are GMT -5. The time now is 08:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration