From owner-freebsd-questions@FreeBSD.ORG Thu Aug 24 17:13:30 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1947716A4E2 for ; Thu, 24 Aug 2006 17:13:30 +0000 (UTC) (envelope-from mfburdett@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83CDA43D49 for ; Thu, 24 Aug 2006 17:13:29 +0000 (GMT) (envelope-from mfburdett@gmail.com) Received: by wx-out-0506.google.com with SMTP id i27so534767wxd for ; Thu, 24 Aug 2006 10:13:28 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Co3tAQmzckmEldlMmkoKoZWakl8a6/KYS2R6o7zoSzOdw4+b7vloKebMmAE3Xt4RWtDe0LE6qLUbJiReM/6Z44UfYJWB5zsY3/YPkQjpCnxco8FPfTZYe2s7u3L83f2idlSmyoPvfMZpDtMgr5R/7pHW40HN42DaqxnTtXYeVEk= Received: by 10.90.70.10 with SMTP id s10mr435653aga; Thu, 24 Aug 2006 10:11:42 -0700 (PDT) Received: by 10.90.91.13 with HTTP; Thu, 24 Aug 2006 10:11:42 -0700 (PDT) Message-ID: Date: Thu, 24 Aug 2006 10:11:42 -0700 From: "mark burdett" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: fdisk: ERROR: failed to adjust; setting sysid to 0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Aug 2006 17:13:30 -0000 Hi, I was wondering what is the proper procedure for using fdisk to setup slices on large disks/arrays? I seem to be getting an "ERROR" when fdisk tries to adjust the partition to start on a head boundary and end on a cylinder boundary. Should I ignore the warning re: "partition does not end on a cylinder boundary" and write the partition table? Or should I attempt to set all the correct numbers by hand, since the automatic correction fails? I've attached the warnings and errors I saw on fdisk. --mark fileserver1# fdisk -u ******* Working on device /dev/da0 ******* parameters extracted from in-core disklabel are: cylinders=364716 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=364716 heads=255 sectors/track=63 (16065 blks/cyl) Do you want to change our idea of what BIOS thinks ? [n] 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 1564195181 (763767 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 165/ sector 59 Do you want to change it? [n] The data for partition 2 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 1564195248, size 2147478417 (1048573 Meg), flag 0 beg: cyl 86/ head 166/ sector 1; end: cyl 640/ head 254/ sector 63 Do you want to change it? [n] The data for partition 3 is: Do you want to change it? [n] yes Supply a decimal value for "sysid (165=FreeBSD)" [0] 165 Supply a decimal value for "start" [0] 3711673665 Supply a decimal value for "size" [0] 2147490495 fdisk: WARNING: partition does not end on a cylinder boundary fdisk: WARNING: this may confuse the BIOS or some operating systems Correct this automatically? [n] y fdisk: ERROR: could not adjust partition to start on a head boundary and end on a cylinder boundary. fdisk: ERROR: failed to adjust; setting sysid to 0 Explicitly specify beg/end address ? [n]