Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Dec 2014 23:44:32 +0300
From:      Odhiambo Washington <odhiambo@gmail.com>
To:        Warren Block <wblock@wonkity.com>
Cc:        User Questions <freebsd-questions@freebsd.org>, Eduardo Morras <emorrasg@yahoo.es>
Subject:   Re: Adding more swap for FreeBSD 10
Message-ID:  <CAAdA2WPRPDRnLwQgphtz2W_OKeBMtOs9EinR1SM-ev1e_1Roiw@mail.gmail.com>
In-Reply-To: <alpine.BSF.2.11.1412291308370.13446@wonkity.com>
References:  <CAAdA2WP__b2z8v3PiUDVSCY69d3QaHSmy7LvnZhbeQFuPeGNkg@mail.gmail.com> <20141229192828.e7fa7f970f4a3a6f3db409a7@yahoo.es> <CAAdA2WPjJK6O1aa02eSWnpC=Hxd7yuJ%2B9h0onFJe3-8wp2yCWQ@mail.gmail.com> <alpine.BSF.2.11.1412291308370.13446@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 29 December 2014 at 23:09, Warren Block <wblock@wonkity.com> wrote:

> On Mon, 29 Dec 2014, Odhiambo Washington wrote:
>
>  This isn't an option in 10.x anymore. I tried it.
>>
>
> Using a swap file?  It is, I'm using it now.  However, if the swap file is
> on the root partition, it must be mounted late, and there are some bugs
> involved.
>


HI,

Because I have two identical disks, I destroyed everything on the 2nd disk
(meant for dump backups) and did:

bsdinstall scriptpart ada1 { 460G freebsd-ufs /, 5G freebsd-swap }

Then I mounted the swap from the second disk:-(

root@mail:/usr/home/wash # cat /etc/fstab
# Device        Mountpoint      FStype  Options Dump    Pass#
/dev/ada0a       /                   ufs     rw      1       1
/dev/ada1p2     /disk2           ufs     rw      1       1
/dev/ada1p3     none            swap    sw      0       0



But I'd like to use the free space on ada0 for swap!

The second disk should be partitioned like the first, then I will use dump
for backup on 2nd disk. This is a guard against disk failure only.


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
"I can't hear you -- I'm using the scrambler."



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