From owner-freebsd-stable@FreeBSD.ORG Tue Jan 6 22:58:18 2015 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 C3EA7DE4 for ; Tue, 6 Jan 2015 22:58:18 +0000 (UTC) Received: from maul.immure.com (104-49-19-137.lightspeed.austtx.sbcglobal.net [104.49.19.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 05129B9F for ; Tue, 6 Jan 2015 22:58:17 +0000 (UTC) Received: from rancor.immure.com ([10.1.132.9]) by maul.immure.com with esmtp (Exim 4.84 (FreeBSD)) (envelope-from ) id 1Y8d4i-000EYX-KW; Tue, 06 Jan 2015 16:58:09 -0600 Received: from rancor.immure.com (localhost [127.0.0.1]) by rancor.immure.com (8.14.9/8.14.9) with ESMTP id t06Mw8iU063388; Tue, 6 Jan 2015 16:58:08 -0600 (CST) (envelope-from bob@rancor.immure.com) Received: (from bob@localhost) by rancor.immure.com (8.14.9/8.14.9/Submit) id t06Mw8Mw063387; Tue, 6 Jan 2015 16:58:08 -0600 (CST) (envelope-from bob) Date: Tue, 6 Jan 2015 16:58:08 -0600 From: Bob Willcox To: Chris H Subject: Re: I need some swap partion help on new 10.1 install Message-ID: <20150106225808.GA63331@rancor.immure.com> Reply-To: Bob Willcox References: <20150102145801.6ea92658@nunki.holyordnance.org> <6b9041859ceb265eedaf6f56f9178a7b@ultimatedns.net> <20150102163539.1eaadbc7@nunki.holyordnance.org> <20150103172527.GI867@rancor.immure.com> <745af5f28074a940e743f6094be15991@ultimatedns.net> <54A88D7B.8010901@protected-networks.net> <20150105225028.GC57206@rancor.immure.com> <07c79d24529651e39e824a476e4f8e08@ultimatedns.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <07c79d24529651e39e824a476e4f8e08@ultimatedns.net> User-Agent: Mutt/1.5.23 (2014-03-12) 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: Tue, 06 Jan 2015 22:58:18 -0000 On Tue, Jan 06, 2015 at 07:55:38AM -0800, Chris H wrote: > On Mon, 5 Jan 2015 16:50:29 -0600 Bob Willcox wrote > > > On Sun, Jan 04, 2015 at 06:37:18PM -0700, Warren Block wrote: > > > On Sat, 3 Jan 2015, Michael Butler wrote: > > > > > > > On 01/03/15 19:35, Kevin Oberman wrote: > > > > > > > > [ .. snip .. ] > > > > > > > >> 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. > > > > > > > > bsdinstall does that on its own - you have to manually > > > > remove/comment/set to "1" after installation :-( > > > > > > gpt, or gptid? The first would be a terrible regression, the second, > > > not so much. > > > > The more I read of this thread the more confused I get. What should I have in > > /boot/loader.conf to get the old behavior with more traditional device names? > > > > Also, if bsdinstall doesn't do this for me automatically, why did it put > > /dev/ada0p2 in the fstab for swap? > I imagine this has probably been addressed/responded to, but... > For the sake of confusion; > MBR - so-called "legacy" is probably the version you are most > accustomed to seeing: > /dev/adaNpN > > GPT gpart(8)/glabal(8) is the newer alternative. It creates more > *human readable* names, eg; > /gpt/my-bright-shiny-root > /gpt/my-new-usr > /gpt/my-yadda-yadda-yadda > > GPTID is yet another alternative. You used it to get your > swap mounted. > > I suggested using a GPT setup because; > - Your disk indicated it had a label > - The names are easier to read/identify > > Adding > > kern.geom.label.gpt.enable=1 > > to loader.conf(5) will give you that (/boot/loader.conf) > > In the end, it's all a matter of personal preference. Use what you > think works best for you, you're most comfortable with. *Do* read > the appropriate man pages, to insure you'll be using one that > will *continue* to work with you. I'm ok with all of this. I don't mind the change in names. What I didn't like was that in the install of 10.1-release, bsdinstall put what turned out to be the wrong name in the fstab for my swap partition. It put in /dev/ada0p2, which doesn't exist on the system. I have a /dev/ada0 but no /dev/ada0p2. Replacing the /dev/ada0p2 with /dev/diskid/DISK-S21NNSAFC51114Fp2 in fstab as suggested by Eric early on fixed my problem, but it doesn't fix the apparent problem with bsdinstall. > > --Chris > > > > Bob > > > > > _______________________________________________ > > > 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" > > > > -- > > Bob Willcox | Men who cherish for women the highest > > bob@immure.com | respect are seldom popular with them. > > Austin, TX | -- Joseph Addison > > > > _______________________________________________ > > 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" -- Bob Willcox | Men who cherish for women the highest bob@immure.com | respect are seldom popular with them. Austin, TX | -- Joseph Addison