From owner-freebsd-stable@FreeBSD.ORG Sun Jan 4 00:35:49 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 E318ADB9 for ; Sun, 4 Jan 2015 00:35:49 +0000 (UTC) Received: from mail-ie0-x232.google.com (mail-ie0-x232.google.com [IPv6:2607:f8b0:4001:c03::232]) (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 98185393B for ; Sun, 4 Jan 2015 00:35:49 +0000 (UTC) Received: by mail-ie0-f178.google.com with SMTP id vy18so16337271iec.37 for ; Sat, 03 Jan 2015 16:35:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=+lKLVP5+MY+RpBlOGCHijqtxtYm2EPKUIShxfLGpg54=; b=CuQ39hC4s2aizsU8F1eiUijAw/b0tV3aAIAdUIgwaBki4Vzqv0qQ7+5pXclOrD62kn 6R5GS7rJexzY45boQ09fhUiCZ1p5zDkwas5LWDCtCZEY0BMDUhS19pDpeoihhEhFXDTf Mpc/TnsnGxVpw7MXWG9QEAyGmjqQD+MkBKwFErlPlMuDH1c9xH2KjHQQDgaJ6s9whaP8 j6CrineKjYY1iF/vvgSC+pbH4JKVS8WfEsbMPAC3YaMPolHro8Y4O1kChyUXRrwoXlIY YyeAtItl8MUEaG3Ll7I31hs8+jzuiuMh9Qxf7W/kP9kYW/gjMWyXWqNSPonRy85BqFFp EB1w== MIME-Version: 1.0 X-Received: by 10.42.205.197 with SMTP id fr5mr61753634icb.5.1420331749058; Sat, 03 Jan 2015 16:35:49 -0800 (PST) Sender: kob6558@gmail.com Received: by 10.107.52.19 with HTTP; Sat, 3 Jan 2015 16:35:48 -0800 (PST) In-Reply-To: <745af5f28074a940e743f6094be15991@ultimatedns.net> References: <20150102210855.GE867@rancor.immure.com> <20150102144223.14a2987e@nunki.holyordnance.org> <20150102215604.GF867@rancor.immure.com> <20150102145801.6ea92658@nunki.holyordnance.org> <6b9041859ceb265eedaf6f56f9178a7b@ultimatedns.net> <20150102163539.1eaadbc7@nunki.holyordnance.org> <20150103172527.GI867@rancor.immure.com> <745af5f28074a940e743f6094be15991@ultimatedns.net> Date: Sat, 3 Jan 2015 16:35:48 -0800 X-Google-Sender-Auth: mrtN4Uzxol8Xrex4tkm34sKeSa0 Message-ID: Subject: Re: I need some swap partion help on new 10.1 install From: Kevin Oberman To: Chris H Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD-STABLE Mailing List 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: Sun, 04 Jan 2015 00:35:50 -0000 On Sat, Jan 3, 2015 at 11:05 AM, Chris H wrote: > On Sat, 3 Jan 2015 11:25:28 -0600 Bob Willcox wrote > > > On Fri, Jan 02, 2015 at 04:35:39PM -0700, Eric S Pulley wrote: > > > On Fri, 02 Jan 2015 14:29:55 -0800 > > > "Chris H" wrote: > > > > > > > On Fri, 2 Jan 2015 14:58:01 -0700 Eric S Pulley > > > > wrote > > > > > > > > > On Fri, 2 Jan 2015 15:56:04 -0600 > > > > > Bob Willcox wrote: > > > > > > > > > > > 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. > > > > > > > > > > > > > > > > :) try /dev/diskid/DISK-S21NNSAFC51114Fp2 instead of /dev/ada0p2 > > > > > > > > Or, as I read it, anyway; > > > > /dev/gpt/swap0 > > > > Looks easier. :) > > > > > > No /dev/gpt here the auto zfs install seems to do things diffrently for > > > diffrent folks... > > > > I don't have any /dev/gpt/* (or even the directory) here either. Using > > /dev/diskid/DISK-S21NNSAFC51114Fp2 as Eric suggested above does work for > me, > > though. > Sure. Fair enough. I only suggested it, because I saw the label > existed. So felt you might find it easier to use. I can't account > for it not being available in /dev/gpt. :) > Works on all of my systems. :) > > --Chris > > > > > -- > > Bob Willcox | Men who cherish for women the highest > > bob@immure.com | respect are seldom popular with them. > > Austin, TX | -- Joseph Addison > > As per an earlier suggestion, did you put: kern.geom.label.gpt.enable=0 into /boot/loader.conf? If so, that's why you lack a /dev/gpt label. This is usually a "friendlier" string than the diskid, but both work equally well. -- R. Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com