[parisc-linux] partitioned md to enable root on raid

Martin K. Petersen mkp@mkp.net
22 Jan 2002 01:32:10 -0500


>>>>> "Grant" == Grant Grundler <grundler@dsl2.external.hp.com> writes:

>> Here's the next question - does palo understand how to boot from
>> LVM?

Grant> No. HPUX LVM is derived from the same original sources as
Grant> linux's LVM but is not compatible. 

Linux LVM is closely modeled after the HP/UX LVM from a sysadmin
perspective.  But there's no code sharing involved.

What I really said was that IBM wrote the original LVM and donated the
code to OSF.  HP then picked it up and ported it to HP/UX.  So AIX,
OSF/1 and HP/UX volume managers share a common ancestor.  These days
they have diverted greatly, though.


Grant> HP cannot release the disk layout since it's not HP's to give
Grant> away. MKP tried to reverse engineer it early in the port and
Grant> gave up after a while. 

I didn't spend a lot of time on it (a couple of hours of poking).  I
also tried getting specs for the LVM metadata out of HP with no avail.

A read-only implementation for palo should be fairly trivial to write
but hardly worth the effort.


I do agree with the concensus that MD partitioning is not worth it.

Mirror the palo partition as md0, swap as md1 and / as md2.  Or
whatever.  That's the way to do it.

As long as you don't need autodetection (and you don't since PDC/IODC
don't understand MD devices anyway), you'll be fine leaving the
palo partition type as F0.

-- 
Martin K. Petersen      Cereal Bowl Engineer, Linuxcare, Inc.
http://mkp.net/         SGI XFS, Linux/PA-RISC, GNOME