no ad1s3a,b,d... on ad1s3 after bsdlabel

Josh Paetzel josh at tcbug.org
Wed Mar 12 19:29:13 UTC 2008


On Wednesday 12 March 2008 07:30:34 am Snow Mountains wrote:
> 2008/3/12, Lowell Gilbert <freebsd-questions-local at be-well.ilk.org>:
> > "Snow Mountains" <snow.mountains.4 at gmail.com> 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=/dev/zero of=/dev/ad1s3 bs=1k count=1024
> >  > 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 see
> >  > /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 
fdisk /dev/ad1

If it's still a FAT/DOS slice you might try deleting and recreating it as a 
native FreeBSD slice, I'm not entirely sure putting a bsdlabel on a FAT slice 
is going to do the right thing (although I could be wrong here)

-- 
Thanks,

Josh Paetzel

PGP: 8A48 EF36 5E9F 4EDA 5A8C 11B4 26F9 01F1 27AF AECB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080312/ea11df57/attachment.pgp


More information about the freebsd-questions mailing list