Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Apr 2004 09:07:12 -0500
From:      Cory Bajus <cbajus@mts.net>
To:        Mipam <mipam@ibb.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: unable to mount swap backed device
Message-ID:  <20040414140712.GA62950@rigel.bajus.ca>
In-Reply-To: <Pine.LNX.4.33.0404131545050.17477-100000@ux1.ibb.net>
References:  <Pine.LNX.4.33.0404131545050.17477-100000@ux1.ibb.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 13, 2004 at 03:51:31PM +0200, Mipam wrote:
> Hi,
> 
> I've been trying to mount a swap backed mfs, but it seems inpossible.
> On questions i've gotten no answer. Thing is, i am able to mount the stuff
> in 4-stable, but not in 5.2.1-p4.
> I added the line:
> 
> /dev/amrd0s1b   /var/amavis   mfs   rw,-s=65536   0   0
> 

On 5+, you need an entry like this in /etc/fstab:

md	/var/amavis	mfs	rw,-s64m	0	0

This will configure a swap backed 'md' disk and put a UFS
filesystem on it (see 'man mdmfs' for details).

> to /etc/fstab
> but i cant mount /var/amavis, in 4-stable it works fine.
> I have
> 
> device            md              # Memory "disks"
> in the kernel config so i dont see why it doesnt work.
> Can anybody give any hints what's going on?
> When i try it manually i get:
> 
> mount_mfs: bad device unit: amrd0s1b
> Bye,
> 
> Reinoud.
> 
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040414140712.GA62950>