WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] NFS vs SMb vs iSCSI for remote backup mounts

To: Simon Hobson <linux@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] NFS vs SMb vs iSCSI for remote backup mounts
From: Rudi Ahlers <rudiahlers@xxxxxxxxx>
Date: Fri, 29 Jan 2010 11:57:07 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 29 Jan 2010 01:58:48 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=o8obK+ry0P0teR72SX8hD1h605p94zpr/biN2aqW7IA=; b=GXNmwYT38HxHE242Fgw2GUfuoXxuyj2cgGxB0jfWxbao+25v1QDnBKrrUNvPzoNWi+ 7JPWJzZGalU1OzldN5AZaWQlPcvYuF+CidYn3g8BMDgGMeSfhWkZIWSAuoTpM9vlawGw 2d72lgmac0KEvGW7ThRpphZlc/Sx7ahUhCLjY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=cXfS0zPU8C0g09eFRWiyOh6k40HBl41f8mLjIbrX0HY1ZJoevw7AN9PPy6i+zoTYBT B9wNaZMe9dEvyJlHi9HDXDUZTDLwdEFPsoSKUfa2RtsPdFtms6ZB7fagAA87lhBhT1rV 8Vjji3hzfjEpQ5vBZ4lP71vLIawnF8EIx8moQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <p0624081cc788551f7038@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <695200da1001280330r6720970ay8551dd709969d50e@xxxxxxxxxxxxxx> <90eb1dc71001280651y772899c7h6049ab7763c33aed@xxxxxxxxxxxxxx> <695200da1001281419v7c1f3ff7sa860ef2c05223ab2@xxxxxxxxxxxxxx> <p0624081cc788551f7038@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


On Fri, Jan 29, 2010 at 11:15 AM, Simon Hobson <linux@xxxxxxxxxxxxxxxx> wrote:
Rudi Ahlers wrote:

ok, forget about rsync. forget about how I get the data onto the order server. WHICH filesystem would be best for this type of operation? SMB, NFS, or iSCSI?

As already stated, iSCSI is **NOT** a filesystem or a share of a filesystem - it is a network block device. You CANNOT share an iSCSI volume between multiple guests without running a cluster filesystem. If you use iSCSI, then you need to do one of three things :
1) Use a cluster file system on all the guests
2) Use a separate volume for each guest
3) Come up with some form of locking mechanism to allow one guest at a time to mount the volume
Mounting a volume on two guests without a cluster file system is guaranteed to trash the filesystem on the volume.


Fair enough, but iSCSI is commonly used on NAS devices, and then export whatever filesystem is being used to the host. Which is why I am considering it. 

 
As to SMB vs NFS, a lot depends on the filesystem semantics your backup process needs. SMB should support WIndows file system sematics/metadata, NFS only supports Unix file system semantics/metadata. If that matters then the decision is made for you - eg if the backup is storing Windows files natively on the backup filesystem then you'll have to use SMB in order to retain the file metadata.

There is a mixture of Windows & Linux data, but would NFS give me better performance for the Linux hosts?

 
 
Also, when comparing (or asking about) file system performance, you need to specify the conditions. Performance is likely to be different between a setup storing individual files (ie lots of create,write,close,update directory operations) and a single large archive setup (ie where the backup program creates a big file and streams the backup data into it).
I don't personally have any data on this either way.

sure, understandable, but this is almost a different subject :) The data that goes on there will be a mix of smalls files & large files 

 

--
Simon Hobson





--
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users