From owner-freebsd-questions@FreeBSD.ORG Mon Dec 29 20:45:15 2014 Return-Path: <owner-freebsd-questions@FreeBSD.ORG> Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 24F94DA1 for <freebsd-questions@freebsd.org>; Mon, 29 Dec 2014 20:45:15 +0000 (UTC) Received: from mail-la0-x234.google.com (mail-la0-x234.google.com [IPv6:2a00:1450:4010:c03::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 978EF64E88 for <freebsd-questions@freebsd.org>; Mon, 29 Dec 2014 20:45:14 +0000 (UTC) Received: by mail-la0-f52.google.com with SMTP id hs14so11635355lab.25 for <freebsd-questions@freebsd.org>; Mon, 29 Dec 2014 12:45:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=/CdVL+zqJY9kfkQ+14RpwbosI07W1OQNDdilDyHlrWo=; b=HuxlBYVOQ9IaZ5anL3G0WSlj7kPnb9sKkDi3S7b+MYvLiroePHbCSgbp5Hg1R9d58v X3zBeBy3zT0580c5DMv0Dzrkbw5Q0NsgmiOTvwdoPqKi4P0erklyFfFhv8xle6cvmkDb rmhmTDcsSxAWMdlKWK/jB6Rs0T0y9irSaY0gx5CjgT4nycqLnf3zhOhrSdcsUsagYNLr j4x+2fEECIYTRhOE5x6FrQtYJg8pEQAAfPKcHhZ+G0+qpH+c71swgNqYwulfp9UGmtBt NdgDzvKgLZejnezl5aZWQ+JV6Omw9BeEP5lEjf+u3ytnoHsJtHi2cNRO/eZCGOExcMFQ 8b9w== X-Received: by 10.152.5.38 with SMTP id p6mr58729500lap.91.1419885912730; Mon, 29 Dec 2014 12:45:12 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.35.199 with HTTP; Mon, 29 Dec 2014 12:44:32 -0800 (PST) In-Reply-To: <alpine.BSF.2.11.1412291308370.13446@wonkity.com> References: <CAAdA2WP__b2z8v3PiUDVSCY69d3QaHSmy7LvnZhbeQFuPeGNkg@mail.gmail.com> <20141229192828.e7fa7f970f4a3a6f3db409a7@yahoo.es> <CAAdA2WPjJK6O1aa02eSWnpC=Hxd7yuJ+9h0onFJe3-8wp2yCWQ@mail.gmail.com> <alpine.BSF.2.11.1412291308370.13446@wonkity.com> From: Odhiambo Washington <odhiambo@gmail.com> Date: Mon, 29 Dec 2014 23:44:32 +0300 Message-ID: <CAAdA2WPRPDRnLwQgphtz2W_OKeBMtOs9EinR1SM-ev1e_1Roiw@mail.gmail.com> Subject: Re: Adding more swap for FreeBSD 10 To: Warren Block <wblock@wonkity.com> Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: User Questions <freebsd-questions@freebsd.org>, Eduardo Morras <emorrasg@yahoo.es> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Mon, 29 Dec 2014 20:45:15 -0000 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."