From owner-freebsd-stable@FreeBSD.ORG Mon Dec 15 16:08:56 2014 Return-Path: Delivered-To: freebsd-stable@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 5C3B3EF for ; Mon, 15 Dec 2014 16:08:56 +0000 (UTC) Received: from mail-wg0-f48.google.com (mail-wg0-f48.google.com [74.125.82.48]) (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 E4818AF for ; Mon, 15 Dec 2014 16:08:55 +0000 (UTC) Received: by mail-wg0-f48.google.com with SMTP id y19so14935454wgg.21 for ; Mon, 15 Dec 2014 08:08:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=L/L1IvTOoS2hu2UHAFIO2jXsF1DhZjmV+m7RpEfDXM0=; b=UpDafqkZ1RIl6MSP88paRts5Z1fa5gBHUd9bXiIyduoBPTFPg429AtgQIqqn8sU4mR i89ZZuFITFXn20HqyUtIWAJRTi/O8sCvcsQeDXKRKQWtWEtYoFb4ytUHJYOK66SlBQHv lmqBoRdcCjFSIXX+B2+9FSAJeGXvZwX/UND90K2jQfQY2d+BOz0J+m3apLbCZe7IodAr rrK/eJdmeqQ0aLJwCGgpELaVwHfdaixq5YJoJdVVkk1PLhMBwtuEI9q43Xt8EwfrBzws uIBNFByEN0szkxCP+T4jfJnlYM0Es0+ZYhfuNUJBNBY+q/JZsNgE/vKX5AiJQI3oqW6L C13A== X-Gm-Message-State: ALoCoQlOP9ng+arTAQtG3BjA7WirXVUhvmtwhlbML7r1tA5NKzf0ts4ynWDMR7JODZP8r+ATzMNI X-Received: by 10.180.107.198 with SMTP id he6mr33122981wib.44.1418659728053; Mon, 15 Dec 2014 08:08:48 -0800 (PST) Received: from [10.10.1.68] (82-69-141-170.dsl.in-addr.zen.co.uk. [82.69.141.170]) by mx.google.com with ESMTPSA id l9sm13644801wic.21.2014.12.15.08.08.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Dec 2014 08:08:47 -0800 (PST) Message-ID: <548F071D.2000700@multiplay.co.uk> Date: Mon, 15 Dec 2014 16:06:53 +0000 From: Steven Hartland User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Re: Mounting swap partition References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Dec 2014 16:08:56 -0000 Is your disk attached to ada0? You can check this with camcontrol e.g. camcontrol devlist camcontrol identify Personally I find diskid's more of a hindrance than a help so I disable them in /boot/loader.conf with: kern.geom.label.disk_ident.enable="0" For reference the same can be done for gpt and gptid, however gptid are more useful: kern.geom.label.gpt.enable="0" kern.geom.label.gptid.enable="0" If your using 9.x I would also recommend moving to 10.1, lots of good things in this. Regards Steve On 15/12/2014 15:34, Net Warrior wrote: > Hi there guys > It's beeen a long time since I do not use FreeBSD, sice 9-RELEASE, now I > back on the road and I found lots of cools stuff and thing which I'm trying > to assimilate, now I have a simple problem which I cannot solve, cannot > activate swap partition, can you lend me a hand with this? > > root@:~ # gpart show > => 34 83886013 diskid/DISK-VB7030ac45-d4933b52 GPT (40G) > 34 1024 1 freebsd-boot (512K) > 1058 4194304 2 freebsd-swap (2.0G) > 4195362 79690685 3 freebsd-zfs (38G) > > > root@:~ # swapinfo > Device 1K-blocks Used Avail Capacity > > root@:~ # swapon -a > swapon: /dev/ada0p2: No such file or directory > > Best regards > _______________________________________________ > 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"