From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id F1D2E3F4A9 for ; Thu, 12 Dec 2002 15:18:40 -0500 (EST) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id gBCKIeJ32182 for axp-list@listman.redhat.com; Thu, 12 Dec 2002 15:18:40 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id gBCKIeD32177 for ; Thu, 12 Dec 2002 15:18:40 -0500 Received: from tes-mail.jpl.nasa.gov (tes-mail.jpl.nasa.gov [137.78.33.77]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id gBCJquP05296 for ; Thu, 12 Dec 2002 14:52:56 -0500 Received: by tes-mail.jpl.nasa.gov (Postfix, from userid 1001) id 6DBBE6F61; Thu, 12 Dec 2002 12:18:39 -0800 (PST) To: axp-list@redhat.com Subject: Speaking of disk labels Message-Id: <20021212201839.6DBBE6F61@tes-mail.jpl.nasa.gov> Date: Thu, 12 Dec 2002 12:18:39 -0800 (PST) From: chu@tes-mail.jpl.nasa.gov (Eugene Chu) X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: I have a question regarding disklabels on Linux/Alpha. When I use fdisk, I am given the ability to create either a DOS label or a DOS and BSD label. Which one do I really need? One of the things I do is to create RAID sets with multiple drives. I found that I do need to start the partition I intend to use as part of a RAID set at cylinder 2, or the labels of all but the first drive in the set will get clobbered as soon as I put a file system onto the md device. This causes problems the next time the system needs to do a mkraid, such as after a reboot. Up until then the RAID seems to work just fine. I'm not sure how much space the label needs, but the miser in me wants to give it as little as necessary. So one of the things I saw was the ability to change drive parameters such as cylinders, tracks, and sectors. Since these are not real numbers anyway, I set them so that each virtual cylinder is a nice convenient size, such as 1 MB. So I am willing to give up that first MB (in my 181GB drive) to save the disk label from being clobbered. This works fine in the BSD label, but I can't seem to make the same configuration in the DOS label. If I use the "expert" mode in the DOS label manager of fdisk, I can set the values, but the main DOS label manager still sees the original parameters. At this point, most of the commands in the standard DOS label manager will cause fdisk to crash. But if I leave it alone, and even have no DOS partitions, the system seems to create the RAID just fine, so I'm guessing it is using the BSD partitions. But doing a v in the DOS mode still causes fdisk to segfault. Is it safe to run my disks this way, where the BSD parameters and partitions are not consistent with the DOS parameters? eyc