From owner-freebsd-hackers@FreeBSD.ORG Fri Apr 17 08:13:23 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACFD71065692 for ; Fri, 17 Apr 2009 08:13:23 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from mail.pica.nl (mail.pica.nl [192.87.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id 3C5D08FC35 for ; Fri, 17 Apr 2009 08:13:22 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from rebelion.Sisis.de ([10.0.1.29]) by mail.pica.nl with Microsoft SMTPSVC(6.0.3790.3959); Fri, 17 Apr 2009 10:13:21 +0200 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id n3H8DJu7003354; Fri, 17 Apr 2009 10:13:19 +0200 (CEST) (envelope-from matthias.apitz@oclc.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to matthias.apitz@oclc.org using -f Date: Fri, 17 Apr 2009 10:13:14 +0200 From: Matthias Apitz To: "Paul B. Mahol" Message-ID: <20090417081314.GA3094@rebelion.Sisis.de> References: <20090327151052.GA13243@rebelion.Sisis.de> <3a142e750903270952h3ba5e28fp72b39283b2a46d97@mail.gmail.com> <20090402084357.GA5825@rebelion.Sisis.de> <3a142e750904020806m4e7726d5w77bd34cb9eb3e5c4@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3a142e750904020806m4e7726d5w77bd34cb9eb3e5c4@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-STABLE (i386) X-OriginalArrivalTime: 17 Apr 2009 08:13:21.0285 (UTC) FILETIME=[5F2E6350:01C9BF34] Cc: freebsd-hackers@freebsd.org Subject: Re: CURRENT sees only /dev/ad2s1a, but not /dev/ad3s1a X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Apr 2009 08:13:33 -0000 El día Thursday, April 02, 2009 a las 05:06:53PM +0200, Paul B. Mahol escribió: > On 4/2/09, Matthias Apitz wrote: > > El día Friday, March 27, 2009 a las 05:52:40PM +0100, Paul B. Mahol > > escribió: > > > >> On 3/27/09, Matthias Apitz wrote: > >> > > >> > Hello, > >> > > >> > When I boot my EeePC from USB key (/dev/da0s1a) -CURRENT it sees the two > >> > SSD > >> > only > >> > as > >> > > >> > $ ls -l /dev/ad* > >> > /dev/ad2 > >> > /dev/ad2s1 > >> > /dev/ad2s1a > >> > /dev/ad3 > >> > /dev/ad3a > >> > > >> > I can mount /dev/ad2s1a but ofc not /dev/ad3s1a; > >> > > >> > when I'm booting the RELENG_7 from /dev/ad2s1a itself it looks like > >> > this: > >> > > >> > $ mount > >> > /dev/ad2s1a on / (ufs, local, noatime) > >> > /dev/ad3s1a on /usr/home (ufs, local, noatime) > >> > >> CURRENT have replaced geom_bsd with geom_part_bsd > >> and that can cause various problems, search current archives for more > >> info. > > > > When I will update the EeePC from USB key (/dev/da0s1a) to CURRENT I > > will install into /dev/ad2s1a (with make installworld/installkernel ...) > > and I want to keep the partition /dev/ad3s1a as it is; would it be > > enough to just do: > > > > # bsdlabel -w ad3s1 auto > > > > from CURRENT booted? > > When you do that, make backups anyway. > > I dont use bsdlabel/fdisk/sade any more, I use gpart(8) instead. I > actually wiped completely old crappy parttion table and replaced it > with gpart one, and now I'm using more than 8 labels. This is only to close this thread: Today morning I installed CURRENT into /dev/ad2s1a (without problems) and I've found no way to re-use the other old (RELENG_7) partition in the 2nd SSD /dev/ad3; I had to wipe it out to make fdisk happy: # dd if=/dev/zero of=/dev/ad3 count=2 # fdisk -I /dev/ad3 # newfs -m 0 -o space /dev/ad3s1a # echo "/dev/ad3s1a /usr/local ufs rw,noatime 1 1" >> /etc/fstab # mount /usr/local matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ People who hate Microsoft Windows use Linux but people who love UNIX use FreeBSD.