Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Feb 2000 22:47:47 +0100 (CET)
From:      Philippe CASIDY <pcasidy@worldnet.fr>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Other BSD partitions name wd1x instead of wd1s2x
Message-ID:  <200002152147.WAA02257@greatoak.home>

next in thread | raw e-mail | index | archive | help
Hi!

I am a little bit confuse by the nodes used for others BSD partitions.
Let me clarify.

I have added a new bigger hard drive to my system :

Here is an excerpt from dmesg :

wdc0: unit 0 (wd0): <ST34312A>
wd0: 4111MB (8420832 sectors), 8354 cyls, 16 heads, 63 S/T, 512 B/S
wdc0: unit 1 (wd1): <QUANTUM FIREBALL CX10.2A>
wd1: 9787MB (20044080 sectors), 19885 cyls, 16 heads, 63 S/T, 512 B/S

wd1 is the new drive

and fdisk display :
bash-2.03# fdisk wd1
******* Working on device /dev/rwd1 *******
parameters extracted from in-core disklabel are:
cylinders=1247 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=1247 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 11,(DOS or Windows 95 with 32 bit FAT)
    start 63, size 6008247 (2933 Meg), flag 80 (active)
        beg: cyl 0/ sector 1/ head 1;
        end: cyl 373/ sector 63/ head 254
The data for partition 2 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 6008310, size 12016620 (5867 Meg), flag 0
        beg: cyl 374/ sector 1/ head 0;
        end: cyl 1023/ sector 63/ head 254
The data for partition 3 is:
sysid 131,(Linux filesystem)
    start 18024930, size 2008125 (980 Meg), flag 0
        beg: cyl 1023/ sector 63/ head 255;
        end: cyl 1023/ sector 63/ head 254
The data for partition 4 is:
<UNUSED>
bash-2.03# 


My current installation of FreeBSD (3.3) is on wd0. I want to access to
the new partitions on the wd1 drive.
I expected to see these others BSD partitions as
/dev/wd1s2x
whereas
bash-2.03# ls wd1*
wd1     wd1b    wd1d    wd1f    wd1h    wd1s1a  wd1s1e  wd1s2   wd1s4
wd1a    wd1c    wd1e    wd1g    wd1s1   wd1s1b  wd1s1f  wd1s3
bash-2.03#

bash-2.03# mount /dev/wd1s1a /mnt
mount: /dev/wd1s1a on /mnt: incorrect super block


bash-2.03# mount /dev/wd1a /mnt
bash-2.03# ls /mnt
..cshrc          boot            dist            kernel.GENERIC  opt             stand           var
..profile        cdrom           etc             lkm             proc            sys
COPYRIGHT       compat          home            mnt             root            tmp
bin             dev             kernel          modules         sbin            usr
bash-2.03# 

Why is it named wd1a ???
Is this a bug?

Thanks

Phil.





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002152147.WAA02257>