From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NWSHi-00018h-4D for garchives@archives.gentoo.org; Sun, 17 Jan 2010 10:23:06 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B44DFE0639; Sun, 17 Jan 2010 10:22:35 +0000 (UTC) Received: from mail-ew0-f224.google.com (mail-ew0-f224.google.com [209.85.219.224]) by pigeon.gentoo.org (Postfix) with ESMTP id 6B406E0639 for ; Sun, 17 Jan 2010 10:22:35 +0000 (UTC) Received: by ewy24 with SMTP id 24so2425498ewy.26 for ; Sun, 17 Jan 2010 02:22:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=sR/YxZgWIlejZhzCIpbNTDik+lSo1mna1/NmGNeR7ko=; b=nj8JhFRE1r4f2waW4YnUCbX5jBVczjfQaB8mUy275DJBcKRlAL7GcH/GCtnRruHz1W 4V9YhAKrntkyhWhRB7XQr9vFYi6ZNnMfaN5Uln0LIuSznKPy/mtpacabJeuZHUvMPaHV qxg5ZbwnL59ta5oCkDcRDIYWffZbxSf7TzxIw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; b=QEmHwhQi3jsN4C8Boe9SPEjgNSDipFwMhsk2x1AoSdGbMaoBf9Qmbl5lHBYhzOiqrF rHfQYMetHcrTf+zrEmZ3wiSAwKiqIVlhb1rLYC0CvtrEeduhez3eL0mi1bXh0zY+kNP+ SlOZcWDE253DDJy7HagxhMcp7GfufFeExKiMA= Received: by 10.213.45.131 with SMTP id e3mr4977890ebf.84.1263723754821; Sun, 17 Jan 2010 02:22:34 -0800 (PST) Received: from nazgul.localnet (196-210-202-237.dynamic.isadsl.co.za [196.210.202.237]) by mx.google.com with ESMTPS id 14sm2099711ewy.15.2010.01.17.02.22.31 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 17 Jan 2010 02:22:31 -0800 (PST) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: NFS Boot Date: Sun, 17 Jan 2010 12:20:47 +0200 User-Agent: KMail/1.12.4 (Linux/2.6.32-zen4; KDE/4.3.4; x86_64; ; ) References: <255666A2AACE1B41BD0BCA8BEAAFD8590429CC01@EXVS01.hostedexchange.com> In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201001171220.47118.alan.mckinnon@gmail.com> X-Archives-Salt: 71a2a2f2-b3c2-4444-9d2f-cb7686981256 X-Archives-Hash: 8ec4a1bda6f5e3695d8bcc92fc0eb0b1 On Saturday 16 January 2010 22:14:00 walt wrote: > On 01/16/2010 08:32 AM, Mikie wrote: > > Hello, > > > > I am converting an Ubuntu 9.10 to NFS boot by coping files to the NFS > > root. > > > > My question is: > > > > Would it be better to create a local hard drive swap and file system for > > certain root dir? > > > > Should Tmp be local rather than on the NFS root? > > I'm no expert on the subject, but I'm interested in the answer too. > I'm thinking it may depend on your reason for wanting to boot from NFS. > > One big reason for network booting is for diskless workstations, but > it seems you plan to keep the existing drive(s) in that machine? > > In that case I would choose to make the NFS boot fs read-only and put > any writeable fs on the local disk -- but again that would depend on > your reasons for making the change in the first place. > > But I await more informed opions than mine. The usual scenario for network booting is indeed diskless workstations - these usually often have a decent amount of ram, and the login sessions on them are short-lived (on the order of a few hours). tmpfs is the best choice for /tmp in this case swap may need some fiddling. By it's nature, the faster swap is the better. NFS tends to be either set up properly then it's fast (I have NASes runnign NFS that out-perform all but the fastest local disks....), or it's set up badly then it's very slow indeed. One should benchmark swap on a local device (either disk or ramdisk) and compare it to swap over nfs and decide based on the results. I've not yet seen a formula that lets you predict in advance which one is likely to be better -- alan dot mckinnon at gmail dot com