From owner-freebsd-hackers Tue Dec 4 17:56:31 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id DE3DC37B41A for ; Tue, 4 Dec 2001 17:56:28 -0800 (PST) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.11.0/8.11.0) id fB51uSC23082 for hackers@freebsd.org; Tue, 4 Dec 2001 17:56:28 -0800 Date: Tue, 4 Dec 2001 17:56:28 -0800 From: Brooks Davis To: hackers@freebsd.org Subject: marking disks Message-ID: <20011204175626.A21463@Odin.AC.HMC.Edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="7AUc2qLy4jB3hD7Z" Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --7AUc2qLy4jB3hD7Z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I'm building a cluster where the nodes will boot using PXE, but they have disks on them which will be used for things like scratch space, swap, crash dumps, etc. Once of the issues I'm facing is that I'd like to be able to detect if the disks have been partioned to the latest standard on boot and rebuild them if they haven't. I'd like this to be able to work with Linux if necessicary, but for now the systems will run FreeBSD. What I'd been thinking was that I could write a magic string over the beginning of the MBR since I'm never going to try and boot these disks. That would let me detect uninitalized drives as well as out of date partitioning schemes. Are there any problems to look out for with this solution? Does anyone know of a better one? Thanks, Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --7AUc2qLy4jB3hD7Z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8DX7JXY6L6fI4GtQRApxlAJ90F5u+EXMevgGhnvoGItm1mmle/gCfeyAG 54h/XuFg0FCISIUIVUTwG8U= =1YPj -----END PGP SIGNATURE----- --7AUc2qLy4jB3hD7Z-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message