From owner-freebsd-questions@FreeBSD.ORG Wed Mar 12 19:29:13 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAB96106567C for ; Wed, 12 Mar 2008 19:29:13 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from cenn-smtp.mc.mpls.visi.com (cenn.mc.mpls.visi.com [208.42.156.9]) by mx1.freebsd.org (Postfix) with ESMTP id 904758FC22 for ; Wed, 12 Mar 2008 19:29:13 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from mail.tcbug.org (mail.tcbug.org [208.42.70.163]) by cenn-smtp.mc.mpls.visi.com (Postfix) with ESMTP id 7EAD28102; Wed, 12 Mar 2008 14:29:12 -0500 (CDT) Received: from build64.tcbug.org (unknown [208.42.70.167]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.tcbug.org (Postfix) with ESMTPSA id 2BCAF6DA239; Wed, 12 Mar 2008 14:29:12 -0500 (CDT) From: Josh Paetzel To: freebsd-questions@freebsd.org Date: Wed, 12 Mar 2008 14:29:09 -0500 User-Agent: KMail/1.9.7 References: <3cf9f8920803101018i573a5c26l986b9508495fcd5a@mail.gmail.com> <444pbcdvwj.fsf@be-well.ilk.org> <3cf9f8920803120530k7f6420bfl5aa203864c058c90@mail.gmail.com> In-Reply-To: <3cf9f8920803120530k7f6420bfl5aa203864c058c90@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1613318.RVZF690VW6"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200803121429.14760.josh@tcbug.org> Cc: Snow Mountains Subject: Re: no ad1s3a,b,d... on ad1s3 after bsdlabel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Mar 2008 19:29:13 -0000 --nextPart1613318.RVZF690VW6 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 12 March 2008 07:30:34 am Snow Mountains wrote: > 2008/3/12, Lowell Gilbert : > > "Snow Mountains" writes: > > > I try to understand bsdlabel. > > > I have former fat slice (ad1s3) on my disk and I want to make several > > > BSD partitions on it. I did this: > > > > > > # dd if=3D/dev/zero of=3D/dev/ad1s3 bs=3D1k count=3D1024 > > > 1024+0 records in > > > 1024+0 records out > > > 1048576 bytes transferred in 0.318986 secs (3287217 bytes/sec) > > > # bsdlabel -w ad1s3 > > > # bsdlabel -e ad1s3 > > > (edit) > > > # bsdlabel ad1s3 > > > # /dev/ad1s3: > > > 8 partitions: > > > # size offset fstype [fsize bsize bps/cpg] > > > a: 10000000 16 4.2BSD 0 0 0 > > > b: 10000000 10000016 4.2BSD 0 0 0 > > > c: 47616660 0 unused 0 0 # "raw" part, > > > don't edit d: 27616644 20000016 4.2BSD 0 0 0 > > > # newfs -U /dev/ad1s3a > > > newfs: /dev/ad1s3a: could not find special device > > > # ls /dev/ad1s3* > > > /dev/ad1s3 > > > # > > > > > > What I miss because I don't have ad1s3a,b,d? > > > If repeat same procedure on disk (big file) mounted as /dev/md0, a s= ee > > > /dev/md0,a,b,d,e... after this group of commands. > > > > On what version of FreeBSD? > > This happens on: > > # uname -r > 6.2-RELEASE-p11 > > SergiM Did you delete and recreate the slice or is it still marked as FAT when you= do=20 fdisk /dev/ad1 If it's still a FAT/DOS slice you might try deleting and recreating it as a= =20 native FreeBSD slice, I'm not entirely sure putting a bsdlabel on a FAT sli= ce=20 is going to do the right thing (although I could be wrong here) =2D-=20 Thanks, Josh Paetzel PGP: 8A48 EF36 5E9F 4EDA 5A8C 11B4 26F9 01F1 27AF AECB --nextPart1613318.RVZF690VW6 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBH2C8KJvkB8SevrssRAmQKAJ9VWTI4Q00WQm/OOxshQyX761OHuwCeLs31 GcOIZwbob0md6SPYlaf1XXo= =5Ri/ -----END PGP SIGNATURE----- --nextPart1613318.RVZF690VW6--