Date: Sun, 29 Mar 1998 16:35:59 -0800 (PST) From: Simon Shapiro <shimon@simon-shapiro.org> To: freebsd-current@FreeBSD.ORG Subject: Fdisk Guru Solicited Message-ID: <XFMail.980329163559.shimon@simon-shapiro.org>
next in thread | raw e-mail | index | archive | help
I have a disk, reporing, at boot: sd2 at scbus0 target 2 lun 0 sd2: <DPT SENDERO-INT5 07LR> type 0 fixed SCSI 2 sd2: Direct-Access 16630MB (34058496 512 byte sectors) I have a file sd2.fdisk: # Fdisk configuration for 6 x 4GB WDs Raid-5 in Senderos's CPU g c16630 h64 s32 p 1 165 2048 34056192 Then I do: fdisk -i -f sd2.fdisk sd2 To this the kernel says: sd2: raw partition size != slice size sd2: start 2048, end 34058239, size 34056192 sd2c: start 2048, end 8390655, size 8388608 So, I modify sd2.fdisk to be: # Fdisk configuration for 6 x 4GB WDs Raid-5 in Senderos's CPU g c16630 h64 s32 p 1 165 2048 8388608 p 2 165 8390656 8388608 p 3 165 16779264 8388608 p 4 165 25167872 8888320 To this, the kernel agrees. Last I checked, these two add up to the same thing. What gives? ---------- Sincerely Yours, Simon Shapiro Shimon@Simon-Shapiro.ORG Voice: 503.799.2313 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980329163559.shimon>