From owner-freebsd-questions@FreeBSD.ORG Tue Aug 1 06:51:35 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5253716A4E0 for ; Tue, 1 Aug 2006 06:51:35 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from strange.daemonsecurity.com (59.Red-81-33-11.staticIP.rima-tde.net [81.33.11.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECB5D43D64 for ; Tue, 1 Aug 2006 06:51:31 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [192.168.7.193] (68.Red-80-34-55.staticIP.rima-tde.net [80.34.55.68]) by strange.daemonsecurity.com (Postfix) with ESMTP id 327332E036; Tue, 1 Aug 2006 08:51:30 +0200 (CEST) Message-ID: <44CEF9EB.3080807@locolomo.org> Date: Tue, 01 Aug 2006 08:51:23 +0200 From: Erik Norgaard User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: Tyler Spivey References: <20060801053719.GA6735@fast> In-Reply-To: <20060801053719.GA6735@fast> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: switching from linux to freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Aug 2006 06:51:35 -0000 Tyler Spivey wrote: > Hello. I'm interested in moving my server from linux to freeBSD, but > have several questions: > 2. Can Ufs handle crashes very well, or is a very long fsck needed like > the old ext2 days? Usually fsck will run in the background after boot has finished. On very hard crashes you may have to boot into single user to fix it. To avoid this, make sure that the base system is on a separate partition, you may even want to mount it read-only for security. (I think these are good advises on any system). > 3. is the restriction of NFS-servers only mounting on partition > boundaries going to be removed in the future, if it even still exists? You can export an entire partition, with -alldirs option you can mount any sub directory with the permissions for that partition, eg: /home -alldirs -network 192.168.0.0/24 You can also export directories individually, but there are some restrictions, exporting two directories on the same filesystem to the same host must have the same permissions. Eg: /var/diskless/FreeBSD -ro -maproot=root:wheel -network 192.168.0.0/24 /var/diskless/clt-1/var -maproot=root:wheel 192.168.0.1 /var/diskless/clt-1/tmp -maproot=root:wheel 192.168.0.1 This works fine despite the first being -ro and the others -rw, because the first line exports to a network and not the host, and the second two have same permissions and mappings. But /var/diskless/FreeBSD -ro -maproot=root:wheel -network 192.168.0.0/24 /var/diskless/clt-1/var -maproot=root:wheel 192.168.0.1 /var/diskless/clt-1/tmp 192.168.0.1 doesn't, because of the missing maproot in the last export line. Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9