On Wed, 17 May 2006 15:44:13 EDT, [email protected] said: > As far as I can tell, the boot ROM snarfs up the first 512 byte block, and then > looks for the 'IBMA' magic cookie, then looks at offset 0x1BE for a > bog-standard 4-entry partition table, and a 0x55AA at offset 0x1FE. > > Additionally, there will be an *ASCII* '_LVM' in the first 4 bytes of physical > 512-byte block 7, denoting the start of the LVM control record. > > I'd say if you find both the IBMA *and* _LVM cookies intact, you declare it > an AIX volume. Oh, one other check - the partition type(s) are set to 0x08 or 0x09 (AIX boot and data partition flags). Other things use those 2 values as well, but they won't have the _LVM cookie.
Attachment:
pgpUOn1mHi5vP.pgp
Description: PGP signature
- References:
- [PATCH] ignore partition table on disks with AIX label
- From: Olaf Hering <[email protected]>
- Re: [PATCH] ignore partition table on disks with AIX label
- From: [email protected]
- Re: [PATCH] ignore partition table on disks with AIX label
- From: Olaf Hering <[email protected]>
- Re: [PATCH] ignore partition table on disks with AIX label
- From: [email protected]
- Re: [PATCH] ignore partition table on disks with AIX label
- From: Olaf Hering <[email protected]>
- Re: [PATCH] ignore partition table on disks with AIX label
- From: Alan Cox <[email protected]>
- Re: [PATCH] ignore partition table on disks with AIX label
- From: Olaf Hering <[email protected]>
- Re: [PATCH] ignore partition table on disks with AIX label
- From: [email protected]
- [PATCH] ignore partition table on disks with AIX label
- Prev by Date: Re: [PATCH] Fix do_mlock so page alignment is to hugepage boundries when needed
- Next by Date: Re: need help booting from SATA in 2.4.32 / LVM
- Previous by thread: Re: [PATCH] ignore partition table on disks with AIX label
- Next by thread: Re: [PATCH] ignore partition table on disks with AIX label
- Index(es):