From owner-freebsd-questions Fri Oct 2 09:25:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA23450 for freebsd-questions-outgoing; Fri, 2 Oct 1998 09:25:25 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from fledge.watson.org (COPLAND.CODA.CS.CMU.EDU [128.2.222.48]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA23426 for ; Fri, 2 Oct 1998 09:25:18 -0700 (PDT) (envelope-from robert@cyrus.watson.org) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.8.8/8.8.8) with SMTP id MAA18935 for ; Fri, 2 Oct 1998 12:24:58 -0400 (EDT) Date: Fri, 2 Oct 1998 12:24:58 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org Reply-To: Robert Watson To: questions@FreeBSD.ORG Subject: Mounting MFS without a swap partition Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG A little while ago, the drive containing the swap partition of one of my servers failed. I have not yet had a chance to replace it with a new drive, so set up a swap file on another drive using vnconfig, etc. On my servers, I have been using MFS to improve performance -- I would like to continue using MFS for a variety of reasons, not least the self-cleaning-at-boot aspect. However, MFS appears to require that you pass a device for it to back to as an argument -- I was under the impression that it just used swap space, and the argument was really for show? :) Here is a command line -- I'd love advice on either fixing my command line, or fixing mfs to not require a partition: # mount -t mfs -o rw,-s=131072 mfs /tmp mfs: /dev/mfs: No such file or directory Attempting to provide the vn device fails due to: # mount -t mfs -o rw,-s=131072 /dev/vn0b /tmp mfs: ioctl (GDINFO): Inappropriate ioctl for device mfs: /dev/vn0b: can't read disk label; disk type must be specified Robert N Watson Carnegie Mellon University http://www.cmu.edu/ TIS Labs at Network Associates, Inc. http://www.tis.com/ SafePort Network Services http://www.safeport.com/ robert@fledge.watson.org http://www.watson.org/~robert/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message