Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Sep 2000 19:52:05 +0200
From:      "Siegbert Baude" <Siegbert.Baude@gmx.de>
To:        "Kevin Oberman" <oberman@es.net>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Problems with slice setup in Fujitsu disk 
Message-ID:  <009301c01762$02347500$4011a8c0@wohnheim.uniulm.de>
References:  <200009051440.e85EelU13423@ptavv.es.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Kevin,

> I am running LBA and the total number of sectors on the disk is not
> divisible by 255. And, when I boot up in verbose mode, I see that
> disk seems to have 63 sectors/track with 16 heads.
> ad2: 13029MB (26684784 sectors), 26473 cyls, 16 heads, 63 S/T, 512 B/S

This is another common Layout. In fact my dmesg show also 63s/16h, although
my mapping for all partitions is 64s/255h. Donīt know, why the kernel
believes in this mapping. fdisk shows the correct numbers.
Note: The smaller values will result in less waste at the disk end (for me
this is not only 400KB but some MB). THe disadvantage however is, that the
1024 cylinder boundary is already at 500MB! Important for the boot problem
before 4.1 .

> I suspect that it is all working as expected. It's too bad that even
> in LBA mode, the some part of the system insists on behaving like I
> have CHS addressing, as that wastes almost 400 KB.
 I donīt know why all partition tools (not only FBSDīs but also DOS, Linux,
BeOS, OS/2) insist on this partition end on a cylinder boundary. I think it
shouldnīt be necessary. Maybe some things are malformed and based on this
behaviour.


> In any case, I am starting to feel that this is all a red herring and
> that my problem is with disk ad2, even though I can't find a problem
> with it. But the error logged by the kernel, "dscheck(#ad/0x20010)",
> makes me thing that the real problem is with disk ad2. I really would
> like to be able to decode those messages.

Did you grep the sources for this error?

> Yes, I can move all of my data over to ad0 and try setting up the ad2 disk
> from scratch. But I'd prefer to have a better idea of what's happening
> before I take this sort of step.

Youīre increased experience will prevent you to make the same error again
:-)
This was true for me at least.

> I'm thinking of re-stating it in a shorter form. Maybe that will get
> someone more familiar with the disk drivers attention.

Good idea.

> Other than my inability to use dd(1) to duplicate partitions, I have
> had no problems, either. It's just that dd(1) seems to be far the best
> tool for the job!

What happens if you dd with the size of the smaller partition?


Ciao
Siegbert



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?009301c01762$02347500$4011a8c0>