From owner-freebsd-stable@FreeBSD.ORG Mon Dec 15 16:17:14 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B47B14F7 for ; Mon, 15 Dec 2014 16:17:14 +0000 (UTC) Received: from mail-qc0-x230.google.com (mail-qc0-x230.google.com [IPv6:2607:f8b0:400d:c01::230]) (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 6F1A41B8 for ; Mon, 15 Dec 2014 16:17:14 +0000 (UTC) Received: by mail-qc0-f176.google.com with SMTP id i17so8975687qcy.35 for ; Mon, 15 Dec 2014 08:17:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=ywYX1hBqzF48fWC/FC8Ybw0XqWIYXbm3Mt6dQUmzPwQ=; b=cpDx4ZadAcLTiNHx5nYM8Yd3lABGacQ7R1n1uUm9dDY2Udj4bJIW1+VhsKV0f5uIFm 7IUA0zHVYfx/2A6qWmDopRvibCmj51qY6/rdJwPrUeBC1kcodqu1T8j7rfJhMDmRrePO WIR+JWsUXvbqYturWkg5x1de5HWJpMpRsgAHUnYiy3udwK6YtwcRsVlnKK/Z5/4/Z+31 HZ/yns4TNUGCO70ILD4EbgdR3wKvi56Z0DG7nifoHzLQyUjyZJkat4LKFwnNz08LrQCv UTy0gYRD48Feu6ntLQdyIvCxvK7STwYyYKtWMWe9WY8P2ZXSrDyFmqecGPpBGF7mRXO+ 1gfQ== X-Received: by 10.224.137.131 with SMTP id w3mr5807298qat.95.1418660233484; Mon, 15 Dec 2014 08:17:13 -0800 (PST) Received: from [192.168.0.102] ([181.47.206.199]) by mx.google.com with ESMTPSA id s32sm10890407qge.23.2014.12.15.08.17.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Dec 2014 08:17:13 -0800 (PST) Message-ID: <548F0986.1070803@gmail.com> Date: Mon, 15 Dec 2014 13:17:10 -0300 From: Net Warrior User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Re: Mounting swap partition References: <548F071D.2000700@multiplay.co.uk> In-Reply-To: <548F071D.2000700@multiplay.co.uk> Content-Type: text/plain; charset=windows-1252; 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:17:14 -0000 Hi Steve Sorry, I should have provide much more info, this is 10.1 REL on a Vbox VM this is the output FreeBSD 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 camcontrol devlist at scbus0 target 0 lun 0 (ada0,pass0) ass0: ATA-6 device pass0: 33.300MB/s transfers (UDMA2, PIO 65536bytes) protocol ATA/ATAPI-6 device model VBOX HARDDISK firmware revision 1.0 serial number VB7030ac45-d4933b52 cylinders 16383 heads 16 sectors/track 63 sector size logical 512, physical 512, offset 0 LBA supported 83886080 sectors LBA48 not supported PIO supported PIO4 w/o IORDY DMA supported WDMA2 UDMA6 Feature Support Enabled Value Vendor read ahead yes yes write cache yes yes flush cache yes yes overlap no Tagged Command Queuing (TCQ) no no Native Command Queuing (NCQ) no NCQ Queue Management no NCQ Streaming no Receive & Send FPDMA Queued no SMART no no microcode download no no security no no power management yes yes advanced power management no no automatic acoustic management no no media status notification no no power-up in Standby no no write-read-verify no no unload no no general purpose logging no no free-fall no no Data Set Management (DSM/TRIM) no Host Protected Area (HPA) no Thanks for your time and support Regards On 12/15/2014 01:06 PM, Steven Hartland wrote: > 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" > > _______________________________________________ > 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"