Ubuntu Servers :: Sync Directory To Remote Nfs Share?

Jul 21, 2011

I have a folder on my workstation and I currently have an identical copy on my nas mounted via ifs (I'll be using this as my backup). The folder contains many virtual machines that are usually powered off. I like to think of the copy on my nas as a backup. The benefit of having two copies of my vms is that if I boot up too many on my workstation and the drive starts to cause a bottle neck I can simply boot the vms from the nas instead. (gigabit ethernet)

I would like changes I make to my local copy to be reflected on the nas.

I want this to happen In the background, I.e. If I turn off my machine it shouldnt cause a problem, the next time I boot up it just re checks the files and continues syncing the 2 directories.

What is the best tool for the job? Rsync?

I've never really used it before so a few pointers to get me going would be great, or obviously other recommendations if there are any.

View 1 Replies


ADVERTISEMENT

Fedora Servers :: F12: NFS Client Crashing On Writes To Remote Share

Feb 20, 2010

I have Fedora installed on a netbook. I customarily mount several NFS shares on this machine, from both a desktop system running F11 and a small server running FreeBSD. On the server side the shares are write-enabled. On the server side the shares are write-enabled. In the past this has worked fine.

However since upgrading to F12, my configuration no longer works as before. Reading from the NFS shares is no problem, but as soon as I try to write to one, either in Nautilus or from any other program, including on the cmd line, all hell breaks lose. Nautilus crashes, and I am unable to remount the shares. Usually rebooting the client is the my only recourse.

There are no clues in dmesg on either the client or the server. In terminal trying to remount a "trashed" share I see this:

Code:
$ sudo mount -v venus:/media/disk8 /media./disk8
mount: no type was given - I'll assume nfs because of the colon
mount.nfs: timeout set for Sat Feb 20 17:34:59 2010
mount.nfs: prog 100003, trying vers=3, prot=6

[Code].....

The NFS versions under F11, F12, and FreeBSD are the current ones (all updates applied).

View 8 Replies View Related

Fedora Servers :: Mounting NFS Share On Newly Created Directory Failed

Mar 12, 2010

Running NFS on Fedora 10. Exports fine. I tested it locally. I tested the NFS configuration by trying to access the exported directory from my local machine, before testing it from a remote machine. While logged in as root, I created a new directory "/mnt/nfstest".

Then I mounted the NFS share at the new directory I created:
[root@eric root]# mount -t nfs localhost:/mnt/nfs /mnt/nfstest

When I tried to mount on the remote client:
[root@frank root]# mount -t nfs eric:/mnt/nfs /mnt/nfstest

After a while I got:
# mount eric:/mnt/nfs /mnt/nfstest
mount.nfs: mount system call failed

I tried strace but wasn't sure what I was looking for, but I've attached the results as a .odt file.

View 1 Replies View Related

Fedora Servers :: Setup A Samba Network Share With A Directory Server Backend?

Feb 24, 2009

I'm trying to setup a Samba network share with a Fedora Directory Server backend. This will be used primarily for Windows users to authenticate before accessing the share. I am using Fedora Core 10 and have all of the latest updates installed. When I try to connect from a Windows machine, I am prompted for a username and password. I enter the username and password of the account I created in Fedora Directory Server in OU=People. The credentials are rejected. At the same time in the log file I see this:

[2009/02/24 16:50:16, 3] auth/auth_sam.c:check_sam_security(282)
check_sam_security: Couldn't find user 'Administrator' in passdb.
[2009/02/24 16:50:16, 2] auth/auth.c:check_ntlm_password(318)
check_ntlm_password: Authentication for user [Administrator] -> [Administrator] FAILED with error NT_STATUS_NO_SUCH_USER

Administrator is the user I created in Fedora Directory Server. If I perform an ldapsearch it will find the user as uid: Administrator so I know it is able to be looked up in FDS. But I'm guessing that's not the problem.

[Code]...

View 4 Replies View Related

Ubuntu Servers :: Modern Central User Management - Automount A Secure NFS Share Somewhere In The /home Directory

Mar 14, 2010

I've setup Kerberos and OpenLDAP servers (9.10) similar to the official documentation (and other sites that fill in the "gaps"). However, when you start to get in to some of the details, there seem to be many options - and I guess I'm looking for what could be the defacto standard. I'd like to allow Ubuntu clients to have a sso capability, with the ability for local caching of passwords if not connected to the network (such as a laptop user away from the office, prior to a VPN). I'd like to automount a secure NFS share somewhere in the /home directory. If the user logs in to a computer they've not logged in to before (if they're authorized), it would be nice if a skeleton /home directory could be setup there automatically I'm guessing that it is not desirable to use a shared /home NFS - as if you're off the network this would be problematic - as well as multiple computers sharing the same /home. There are some benefits to a shared /home (SSH certs, etc.), so maybe there is a hybrid approach out there.

I've read that it's not necessarily good practice to have OpenLDAP to do the authentication (leave this to Kerberos), but it's fine for authorization (such as ACLs for logins to certain computers). It's also good practice to use TLS with OpenLDAP (which requires public certs on all the clients) and to not allow anonymous read to the directory. I would guess that a computer host keytab could be refreshed to bind to the OpenLDAP server via GSSAPI / SASL to allow a non-anonymous read, and then determine if, say, the user was a member of a group allowed to log in. Kerberos would then pick up and authenticate the user and then proceed to the login. Off the network here, I'm not sure. I found this document, but it's self declared missing items: [URL]

I'll stop the rambling, but I cannot be the only one who would like to setup a relatively standard and secure server based network authentication and authorization back-end. Is there any _complete_ documentation on the best practices and how to implement?

View 4 Replies View Related

Ubuntu :: File-Sync With Unison To A Password-protected Share?

May 11, 2011

Been thinking about a new backup-strategy for my family and me. In our house is an Ubuntu Server (10.10) and NAS (Zyxel NSA210). Now I thought I'd create a Cron Tab entry on all machines which will sync specific folders automatically to either the NAS or a specific backup drive in the server. So now the question is: "How do I do that without seriously compromising each family members privacy by making their backed up files available to everyone in the house?" So in essence I'd like to sync/back up the files to a password protected share for each family member. But this process should still be done automatically every few minutes or so without them having to enter any password at all as their specific password is stored locally.

View 1 Replies View Related

General :: Consistent Sync Between Two Remote Directories

Aug 17, 2010

I wanted to create a consistent sync between two directories on two separate hosts. So when I write a file on one host, the file is automatically written on the next host. I don't have shared storage between each host.

View 3 Replies View Related

General :: Sync Local And Remote Directories Using Rsync?

Jul 14, 2010

I have two linux box that i would like to keep in sync. I see option -avz syncs the remote with local but new local files are not pushed.

View 2 Replies View Related

Fedora Networking :: When Try To Mount The Share To A Different Directory On The Server, Receive A 'no Such Directory' Error?

Dec 18, 2010

I have a server with Fedora 13 with which I would like to get NFS working. I have looked up multiple howto's and tutorials, but I'm having a problem not addressed by any of them.Official how-to, another how-to, and another how-to.I have verified that nfs-utils, nfs-utils-lib, portmap, and system-config-nfs are installed and running. I have verified that I have, in fact, shared the directory that I want to share, and that the proper permissions are set.

I had to go through some gyrations to get the Belkin wireless N router to allow my server to have a static IP. However, I can ping the server from the nfs client (a toshiba satellite running mint 8), and vice versa. I have (for now) disabled firewalls on both computers. I think I have disabled SELinux on Fedora 13 (for now).When I attempt to connect to the server from the client, the output looks like this:Quote:

aragorn ~ # mount -v 192.168.2.101:/test /home/kelev/test/
mount: no type was given - I'll assume nfs because of the colon
mount.nfs: timeout set for Sat Dec 18 12:21:09 2010

[code]....

View 7 Replies View Related

Software :: Safe To Force Unmount An NFS Share After Calling Sync?

Mar 26, 2011

I have to force umount my NFS shares to get my computer to suspend. And I suspend it regularly. I wrote this script:

Code:
sync
sudo umount -a -t NFS -f
sudo pm-suspend
sudo mount -a -t NFS

Is that safe to run regularly?

View 2 Replies View Related

General :: Bash - Sync Files Between 2 Remote Computers Using Terminal

Jun 25, 2011

I want to be able to synchronise files between 2 remote computers in both directions. Say for example that I want to synchronize my /home/Documents directory with <username>@example.com:/home/Documents What's the easiest way to update the folders in both directions, so that new/updated files on my home computer get transferred to the remote computer, and new/updated files on the remote computer get transferred to my home computer?

View 2 Replies View Related

Red Hat / Fedora :: Tmpfs / Ramfs Partition Sync To Remote Storage

Nov 18, 2010

My linux system is running from the ram (ramfs/tmpfs). Crated a partition type 'tmpfs'. Processes are reading/ writing from/to this partition files. I am looking for utilities to sync this partition to the remote storage regularly (say, once in 10 sec). Normal copy command will produce partial files, if the copy is getting executed during a write operation.

View 2 Replies View Related

Ubuntu :: Select Just Three Folders To Sync From A Directory?

Nov 5, 2010

how do I select just three folders to sync from a directory?

View 8 Replies View Related

General :: Ubuntu Sync Files From Active Directory

Feb 22, 2011

How can I sync files from Windows Server 2008 to a Linux box? Windows Server can sync files to another active-directory box automatically. Can i do that with linux too?

View 2 Replies View Related

Ubuntu One :: Connect To The U1 With Laptop And The Documents Directory Is No Longer Able To Sync With U1?

Dec 1, 2010

I am using UbuntuOne (U1) with 2 computers. I connected with my desktop computer to sync with 3 of my directories (Documents, Projects and Public) and uploaded their contents. I connect to the U1 with my laptop and the Documents directory is no longer able to sync with U1. I right-click on the menu and select to Sync but it doesn't work.

The other folders have updated with no problems, just the Documents folder does not. The Documents folder in the Laptop is cleared out. I was going to sync, and then add the files already on the laptop to the directory and sync to move them up to the cloud (and thus, to download on my desktop the next time I log in).

View 6 Replies View Related

General :: Sync Fedora DS To Active Directory Server?

Jan 4, 2010

May I know if there is any tutorial to sync up Fedora DS to ADS?

View 2 Replies View Related

Ubuntu Networking :: Remote Access To Samba Share

Sep 22, 2010

I need to access a windows share at my university's server. When I am at the university, I can access the share by nautilus (or dolphin) in a similar way to ftp:

smb://domain%5Cusername@server/share

The thing is that when I try the above anywhere else except the university, it does not connect. I guess it has something to do with the domain, but I am not sure.

View 5 Replies View Related

Ubuntu Servers :: 10.04 - How To Sync MySQL Databases

Mar 8, 2011

I have a laptop and a desktop PC, both running Ubuntu 10.04 and both are configured the same way. I am using Unison-gtk to sync the data between both computers... This works for everything... except for my mysql databases. Any way to simply sync my mysql databases on both computers. Right now I need to do this table-per-table... and it is quite long to proceed like this. What I need is a script or a program (open and preferably free) that would just compare both databases (all the tables) and sync them either by updating existing tables or by creating them. This should work both ways... obviously. I could write a script for this, but I am sure there already is something for this out there.

View 9 Replies View Related

General :: Ubuntu: Share Desktop For Remote Pair Programming?

Dec 15, 2010

How to setup the environment for remote pair programming session on Ubuntu (10.10) securely over the internet?

I think that, for our workflow, we need to share the screen, sharing terminal session or text editor alone would not be ehough. Note that I mean equal rights sharing, where both clients have full access to the keyboard and mouse.

Along with the shared screen we need to have a voice (and, maybe, text) chat working. Skype is OK.

View 2 Replies View Related

General :: Read A Local Man Page For Sync That Was Kept In The /usr/local/share/man?

Sep 27, 2010

What command would you use to read about the sync system call (not the sync command)? How would you read a local man page for sync that was kept in the /usr/local/share/man?

View 2 Replies View Related

Ubuntu Servers :: Access Remote Servers Via Terminal Server Client And Xserver?

May 10, 2010

i found this video, and i really want to do the same. *newbie needs to learn [URL]...my question is, what need to be installed and how?

is there any specific configuration to make it works?

and will it work if i want to connect from Ubuntu to Fedora ?

View 1 Replies View Related

Software :: Mounting DOSBOX On A Remote Share ?

Mar 4, 2011

I am trying to mount dosbox on a share on a remote computer. I did it in Win XP without any troubles. In Ubuntu it does n't work.

First I made the map in media and connected the share. The share works fine, but I cann't mount DOSBOX. Then I put the share in the /home/user directory. Share works fine! But dosbox does not mount.

On mount c /home/user/mydrive

I get: Drive C does not exist.

I think that the permissions are not correct.

View 3 Replies View Related

Ubuntu Servers :: Using Apt For Updating From A Local Directory And Samba Shared Directory

Jul 9, 2010

I want to update all the machines in the network from a central repository which is on my master server and whose archive directory is shared through samba.I searched in the man page of sources.list and found that there is an option for this but can't able to implement this. Can anybody kindly tell me the way to do the same.

View 1 Replies View Related

Ubuntu Servers :: RAID6 Rebuild - Drives Got Out Of Sync?

May 16, 2010

I have a 12 disk raid 6 Array with 2 additional spare drives. Two of the drives got out of sync (because I was fat fingering the mdadm commands while trying to reassemble the array), so I added them back as spares. This is what mdadm is showing me:

[Code]...

View 1 Replies View Related

Ubuntu Servers :: NTP Failing To Sync - Offset Too Large

Jun 11, 2010

I'm having trouble keeping NTP synchronized and able to provide time updates to other devices on the private network. I believe this is because the server has a too large of offset, that causes all NTP clients syncing through the server to fail.

I have two setups, one working, one failing, with mostly identical installation and settings.

Setup A is the working setup, as I will name it, is ubuntu server edition 8.04 with kernel 2.6.33.1. ntpd version is 4.2.4p4.

ntpq -p outputs this information:
remote refid st t when poll reach delay offset jitter
================================================== ============================
*europium.canoni 193.79.237.14 2 u 925 1024 377 101.851 0.194 0.328
ntp.conf is:

[Code]....

View 1 Replies View Related

Debian Configuration :: Mounting A Remote Sshfs Share?

Apr 2, 2011

I have two remote systems which I have fstab entries for on the local system. I have them set to noauto, because mount fails during boot for some reason, but that's not the problem. For years I've mounted them in rc.local.

The problem is after I recently reinstalled Debian, when I mount them manually it always asks for my user's password. I've copied my user's pub key from the local to the remote system and put it in the user authorized_keys file (not root), like I always have. But it still asks for a password, and so fails to mount in rc.local.

View 2 Replies View Related

General :: Mount Remote Samba Share In Fstab?

Nov 19, 2009

Server: Ubuntu Server Edition 8.04
/currently firewalled to only allow client ip
Client: Ubuntu Desktop 8.04
/currently firewalled to only allow server ip

Same userid and groups set up on on both. I have taken two linux courses and can maneuver around fairly well, but am still pretty newbie at all this. We have loaded Samba on a server and created a Samba share. I AM able to access that share via Windows Vista, but have not been able to successfully mount the share on the Ubuntu desktop via the fstab file. I have tried the following ways: serverip:/path/shareddirectory /net ext3 user,sync 0 0 and the samba way..

//serverip/sharename /net smbfs username=x,password=x

After modifying fstab, I reboot. No luck since that either way.Only ONCE after modifying it samba way, I was prompted to enter credentials, but after login I was unable to view the files on the server. From this point on either way, if I run commmand 'mount -a' the response is "Special device serverip:/path/sharedirectory does not exist" Also! I am able to ping client-to-server, but not server-to-client.

View 3 Replies View Related

Ubuntu Servers :: Setting A Ntpd Server To Allow Peers To Sync?

Jun 6, 2010

What configuration options in /etc/ntp.conf do I have to set to allow other computers to receive time from a ntpd server? I've tried removing "nopeers" and "noquery" from the restrict lines, but I can't see anything on port 123.

View 2 Replies View Related

Ubuntu Servers :: RAID Volume Won't Activate After Reboot During Sync?

Jul 24, 2010

I've got a file server with two RAID volumes. The one in question is 6 1TB SATA drives in a RAID6 configuration. I recently thought one drive was becoming faulty, so I removed it from the set. After running some stress tests, I determined my underlying problem hadn't cleared up. I added the disk back, which started the resync. Later on, the underlying problem caused another lock up. After a hard-reboot, the array will not start. I'm out of ideas on how to kick this over.

Code:
$ cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]

[code]....

View 4 Replies View Related

General :: Open VPN - Router Does Not Sync With Servers

May 6, 2010

I must use have my time configured for my VPN to work? I have an NTP configured also but can't just place what seems to be wrong that my routers in different locations doesn't all synchronize with my vpn server.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved