disk tuning
Alexandre D.
alexandre.delay at free.fr
Sun Jul 3 19:05:55 GMT 2005
using sysinstall, I got:
******* Working on device /dev/ad2 *******
parameters extracted from in-core disklabel are:
cylinders=79656 heads=16 sectors/track=63 (1008 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=79656 heads=16 sectors/track=63 (1008 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 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 80292807 (39205 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
----------------
Using those commands (dd if=/dev/zero of=/dev/ad2 bs=1k count=1; fdisk -BI
ad2; disklabel -B -w -r ${disk}s1 auto):
******* Working on device /dev/ad2 *******
parameters extracted from in-core disklabel are:
cylinders=79656 heads=16 sectors/track=63 (1008 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=79656 heads=16 sectors/track=63 (1008 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 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 80293185 (39205 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 807/ head 15/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
You can see that there is a bug in the geometry of the last slice!
I do that in order to build a restore script. Nothing work because of that.
cheers
Alex
-----Message d'origine-----
De : owner-freebsd-questions at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org]De la part de Alexandre D.
Envoyé : dimanche 3 juillet 2005 19:51
À : freebsd-questions at freebsd.org
Objet : disk tuning
Hi guys,
I'm trying to determine the good commands to initialise a disk.
I would like to get the same result than with the sysinstall fdisk.
But If I use the handbook's command:
# dd if=/dev/zero of=/dev/ad2 bs=1k count=1
# fdisk -BI ad2
# disklabel -B -w -r ${disk}s1 auto
I do not get the same result. The slice is not defined exactly the same and
the geometry is also not the same.
How can I get exactly the same result with a command line thant with the
sysinstall's fdisk (A = Use Entire)?
Thanks
cheers
Alex
_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list