Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Oct 1998 12:24:58 -0400 (EDT)
From:      Robert Watson <robert@cyrus.watson.org>
To:        questions@FreeBSD.ORG
Subject:   Mounting MFS without a swap partition
Message-ID:  <Pine.BSF.3.96.981002122219.18892A-100000@fledge.watson.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.981002122219.18892A-100000>