Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 21 Dec 2000 20:14:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 21 Dec 2000 20:14:04 -0500 Received: from ccs.covici.com ([209.249.181.196]:23814 "EHLO ccs.covici.com") by vger.kernel.org with ESMTP id ; Thu, 21 Dec 2000 20:13:51 -0500 Date: Thu, 21 Dec 2000 19:42:51 -0500 (EST) From: John Covici To: Andreas Dilger cc: Neil Brown , linux-kernel@vger.kernel.org Subject: Re: strange nfs behavior in 2.2.18 and 2.4.0-test12 In-Reply-To: <200012220015.eBM0FPJ20543@webber.adilger.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 21 Dec 2000, Andreas Dilger wrote: > John Covici writes: > > Here is my /etc/exports > > > > / ccs2(rw,no_root_squash) > > /usr ccs2(rw,no_root_squash) > > /usr/src ccs2(rw,no_root_squash) > > /home ccs2(rw,no_root_squash) > > /hard1 ccs2(rw,no_root_squash) > > /hard2 ccs2(rw,no_root_squash) > > /hard3 ccs2(rw,no_root_squash) > > /hard4 ccs2(rw,no_root_squash) > > /usr/bbs ccs2(rw,no_root_squash) > > According to your fstab, these are all separate devices, so they should > export OK. You trust this "ccs2" machine a lot, however... Exporting > root with no_root_squash is a big security hole. Yup, I do. > > > # /etc/fstab: static file system information. > > # > > # > > /dev/hda2 / ext2 defaults,errors=remount-ro 1 1 > > /dev/hdc2 none swap sw 0 0 > > /dev/hdc4 none swap sw 0 0 > > Having two swaps configured like this on the same disk is a net performance > loss. If anything, you should set one of them to have a lower priority > (via pri=), so that it will only be used if the first one is full. Thanks, I'll check it out. > > > /dev/hdb7 none swap sw 0 0 > > proc /proc proc defaults 0 0 > > /dev/fd0 /floppy auto defaults,user,noauto 0 0 > > /dev/cdrom /cdrom iso9660 defaults,ro,user,noauto 0 0 > > /dev/hdc3 /usr ext2 rw 1 2 > > /dev/hdb6 /usr/bbs ext2 rw 1 2 > > /dev/hda3 /usr/src ext2 rw 1 2 > > /dev/hda4 /home ext2 rw 1 3 > > > > and here are mounts executed out of /etc/rc.local > > > > mount -t vfat /dev/hdb1 /hard2 > > mount -t vfat /dev/hdb5 /hard4 > > mount -t vfat /dev/hdc1 /hard3 > > mount -t vfat /dev/hda1 /hard1 > > Out of curiosity, why not just put them into /etc/fstab? I tried this and I can't remember, but for somereason it didn't work. -- John Covici covici@ccs.covici.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/