Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: chu@tes-mail.jpl.nasa.gov (Eugene Chu)
To: axp-list@redhat.com
Subject: Speaking of disk labels
Date: Thu, 12 Dec 2002 12:18:39 -0800 (PST)	[thread overview]
Message-ID: <20021212201839.6DBBE6F61@tes-mail.jpl.nasa.gov> (raw)

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




             reply	other threads:[~2002-12-12 20:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-12 20:18 Eugene Chu [this message]
2002-12-12 21:21 ` Speaking of disk labels Michal Jaegermann
2002-12-12 22:04 ` Falk Hueffner
  -- strict thread matches above, loose matches on Subject: below --
2002-12-13 18:23 Eugene Chu
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox