Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Oct 1998 13:47:54 +0200
From:      Sheldon Hearn <axl@iafrica.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   REPOST: question re mount_mfs /tmp on dedicated drive
Message-ID:  <6247.909748074@axl.training.iafrica.com>

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

Hi folks,

I posted the following two messages to this list a while ago, but
suspect they may have been considered low priority and left unanswered
in the face of a looming release (3.0-RELEASE).

I'm reposting in the hopes that people have a little more time on their
hands now. :-)

TIA
Sheldon.

     _________________________________________________________________
Date:      Tue, 25 Aug 1998 10:18:46 +0200
From:      Sheldon Hearn <axl@iafrica.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   mount_mfs /tmp on dedicated drive
Message-ID:  <346.904033126@axl.training.iafrica.com>
     _________________________________________________________________

Hi folks,

I've tried to configure my system to mount /tmp in mfs space to improve
performance of things like vi.

The FreeBSD handbook suggests that /etc/fstab ought to look something
like this:

        /dev/wd1s2b     none swap       sw 0 0
        /dev/wd1s2b     /tmp mfs        rw 0 0

Here's how my /etc/fstab looks:

        /dev/wd2s1      none swap       sw 0 0
        /dev/wd2s1      /tmp mfs        rw 0 0

Swap mounts properly, but the mfs mount fails as follows:

mfs: /dev/wd2s1: `1' partition is unavailable

I've done this successfully before with a "clasically" partitioned
disk, and I wonder if my problems don't stem from my using a dedicated
disk for swap?

Any help would be appreciated.

Ciao,
Sheldon.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message

     _________________________________________________________________
Date:      Wed, 26 Aug 1998 09:52:02 +0200
From:      Sheldon Hearn <axl@iafrica.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   mount_mfs /tmp on dedicated drive [more]
Message-ID:  <449.904117922@axl.training.iafrica.com>
     _________________________________________________________________

On Tue, 25 Aug 1998 10:18:46 +0200, Sheldon Hearn wrote:

> I've tried to configure my system to mount /tmp in mfs space to improve
> performance of things like vi.
>
> I've done this successfully before with a "clasically" partitioned
> disk, and I wonder if my problems don't stem from my using a dedicated
> disk for swap?

I've repartioned my swap drive, creating a traditional partition of type
165 instead of using the "dangerously dedicated" method. This means my
fstab now looks like this:

>       /dev/wd2s1b     none swap       sw 0 0
>       /dev/wd2s1b     /tmp mfs        rw 0 0

Now mount_mfs succeeds. Is there a technical issue preventing mount_mfs
from working when swap space is on a "dangerously dedicated" drive, or
is this simply a problem with mount_mfs?

Thanks,
Sheldon.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
     _________________________________________________________________

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?6247.909748074>