From owner-freebsd-stable@FreeBSD.ORG Fri Jan 2 21:56:10 2015 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 06790D0D for ; Fri, 2 Jan 2015 21:56:10 +0000 (UTC) Received: from maul.immure.com (104-49-19-137.lightspeed.austtx.sbcglobal.net [104.49.19.137]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C72F466C8A for ; Fri, 2 Jan 2015 21:56:09 +0000 (UTC) Received: from rancor.immure.com ([10.1.132.9]) by maul.immure.com with esmtp (Exim 4.84 (FreeBSD)) (envelope-from ) id 1Y7ACT-0003dx-Bp; Fri, 02 Jan 2015 15:56:08 -0600 Received: from rancor.immure.com (localhost [127.0.0.1]) by rancor.immure.com (8.14.9/8.14.9) with ESMTP id t02Lu5GR043868; Fri, 2 Jan 2015 15:56:05 -0600 (CST) (envelope-from bob@rancor.immure.com) Received: (from bob@localhost) by rancor.immure.com (8.14.9/8.14.9/Submit) id t02Lu4Yq043867; Fri, 2 Jan 2015 15:56:04 -0600 (CST) (envelope-from bob) Date: Fri, 2 Jan 2015 15:56:04 -0600 From: Bob Willcox To: Eric S Pulley Message-ID: <20150102215604.GF867@rancor.immure.com> Reply-To: Bob Willcox References: <20150102210855.GE867@rancor.immure.com> <20150102144223.14a2987e@nunki.holyordnance.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150102144223.14a2987e@nunki.holyordnance.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: 10.1.132.9 X-SA-Exim-Mail-From: bob@immure.com X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on maul.immure.com X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, T_RP_MATCHES_RCVD autolearn=ham autolearn_force=no version=3.4.0 Subject: Re: I need some swap partion help on new 10.1 install X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on maul.immure.com) Cc: freebsd-stable@freebsd.org 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: Fri, 02 Jan 2015 21:56:10 -0000 On Fri, Jan 02, 2015 at 02:42:23PM -0700, Eric S Pulley wrote: > On Fri, 2 Jan 2015 15:08:55 -0600 > Bob Willcox wrote: > > > I just installed 10.1-release on a Samaung EVO 250 SSD using the > > guided ZFS install steps. Unfortunately, the swap device (it > > partition does exist on the drive) isn't being created: > > > > # cat /etc/fstab > > # Device Mountpoint FStype Options > > Dump Pass# /dev/ada0p2 none swap sw > > 0 0 > > > > # ls -l /dev/ada0* > > crw-r----- 1 root operator 0x57 Jan 2 14:29 /dev/ada0 > > > > # swapinfo > > Device 1K-blocks Used Avail Capacity > > > > # gpart list > > Geom name: diskid/DISK-S21NNSAFC51114F > > modified: false > > state: OK > > fwheads: 16 > > fwsectors: 63 > > last: 488397134 > > first: 34 > > entries: 128 > > scheme: GPT > > Providers: > > 1. Name: diskid/DISK-S21NNSAFC51114Fp1 > > Mediasize: 524288 (512K) > > Sectorsize: 512 > > Stripesize: 0 > > Stripeoffset: 17408 > > Mode: r0w0e0 > > rawuuid: ed197570-92ff-11e4-a9cb-6805ca13097a > > rawtype: 83bd6b9d-7f41-11dc-be0b-001560b84f0f > > label: gptboot0 > > length: 524288 > > offset: 17408 > > type: freebsd-boot > > index: 1 > > end: 1057 > > start: 34 > > 2. Name: diskid/DISK-S21NNSAFC51114Fp2 > > Mediasize: 8589934592 (8.0G) > > Sectorsize: 512 > > Stripesize: 0 > > Stripeoffset: 541696 > > Mode: r0w0e0 > > rawuuid: ed35488d-92ff-11e4-a9cb-6805ca13097a > > rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b > > label: swap0 > > length: 8589934592 > > offset: 541696 > > type: freebsd-swap > > index: 2 > > end: 16778273 > > start: 1058 > > 3. Name: diskid/DISK-S21NNSAFC51114Fp3 > > Mediasize: 241468856832 (225G) > > Sectorsize: 512 > > Stripesize: 0 > > Stripeoffset: 541696 > > Mode: r1w1e1 > > rawuuid: ed38d5f9-92ff-11e4-a9cb-6805ca13097a > > rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b > > label: zfs0 > > length: 241468856832 > > offset: 8590476288 > > type: freebsd-zfs > > index: 3 > > end: 488397134 > > start: 16778274 > > Consumers: > > 1. Name: diskid/DISK-S21NNSAFC51114F > > Mediasize: 250059350016 (233G) > > Sectorsize: 512 > > Mode: r1w1e2 > > > > So, what did I miss? Why isn't the /dev/ada0p2 device getting created? > > > > Thanks for any help! > > > > Bob > > > > I just mounted it by diskid under /dev/diskid/... dont know if that > right but it works Thanks for the quick response Eric, but I don't have a /dev/ada0p2 device to 'mount' it on (I thought that we used the swapon command to make a swap device available, not mount). I suspect that something that is creates the /dev/ada0p2 device is what's missing, but I don't know that that is at this point. -- Bob Willcox | Men who cherish for women the highest bob@immure.com | respect are seldom popular with them. Austin, TX | -- Joseph Addison