From mboxrd@z Thu Jan 1 00:00:00 1970 From: "K. Posern" Subject: Re: intel fakeraid (imsm) linux kernel support Date: Wed, 18 Aug 2010 13:49:42 -0400 Message-ID: <4C6C1D36.2040200@gmail.com> References: <4C69D525.4060404@gmail.com> <4C6ABD7D.7050909@intel.com> Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms070008000303030407090702" Return-path: In-Reply-To: <4C6ABD7D.7050909@intel.com> Sender: linux-raid-owner@vger.kernel.org To: Dan Williams Cc: "linux-raid@vger.kernel.org" , dave.jiang@intel.com List-Id: linux-raid.ids This is a cryptographically signed message in MIME format. --------------ms070008000303030407090702 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Dear Mr. Williams, Thank you *very* much... you added very valueable pieces to my imsm=20 RAID(-0) puzzle. I just used the term "fakeraid" because it is *short* :) ... I did not=20 mean it negative. Plus a lot of people use this term: https://secure.wikimedia.org/wikipedia/en/wiki/RAID#Firmware.2Fdriver-ba= sed_RAID_.28.22FakeRAID.22.29 The Ubuntu FakeRAID HowTo ArchLinux FakeRaid Howto I would really like a new point on the raid-wikis first page named along = these lines: "[Intel] Firmware-based/BIOS-supported RAID ("FakeRAID")" And I can do this if you want (aready created account yesterday). On there should be a - short description about what what a "fakeraid" is - then for INTEL the info you get when you google for "intel linux raid"= - the info from Dan's answer below. Especially the part with "the=20 option-rom installs a bios int13 handler" (because there /is/ confusion=20 about that out there :). - Also the answer to the belows question: "How to install a bootloader" = should be on there. And of course the more technical details the better. Eg. - that (and maybe why) the primary partitions setup within the imsm=20 raid(-0) will be created on the first physical drive (/dev/sda), but not = on the other drives. - maybe even more in depth details on the external metadata format - maybe some commonly used commandlines for mdadm and dmraid to check=20 the raid status ... or at least links to their howtos/wikis... You mentioned: > One of the primary benefits of using the Intel(R) RST (mdadm-imsm) > format is that you can use the platform bios option-rom to boot from > raid. 2 questions: a) What does RST stand for? b) Does the (mdadm-imsm) mean, that the device-mappers "dmraid -f isw"=20 does not the same (or does intel just officially only support mdadm imsm?= ) And finally: Can anyone tell me which solution: dmraid -f isw mdadm with imsm container support is better in the sense: - faster (higher throughput) - less load (e.g. on cpu) - more stable - more features I already posted this question to the dm-devel@redhat.com mailing list=20 but (afaik) never got an answer. Also: What I find odd with the dmraid solution: In fdisk it shows you=20 e.g. /dev/dm-0p6, but there is no /dev/dm-0p6, there is only /dev/dm-0=20 to /dev/dm-11 and many /dev/mapper/LONGNAME symlinks to the /dev/dm-*.=20 But the /dev/mapper/Volume_HASH_06 points to /dev/dm-4 ?!.... IMHO:=20 total mess. -------------- "How to install a bootloader"? You mentioned: > One of the primary benefits of using the Intel(R) RST (mdadm-imsm) > format is that you can use the platform bios option-rom to boot from > raid. So grub, grub2, lilo, or any other bootloader can boot from raid= =2E > This is because the option-rom installs a bios int13 handler that allo= ws > the bootloader to read from a raid volume as if it were a standalone=20 disk. Which sounds great, but I can send you the chatlog from the #grub=20 channel this morning... they don't seem to have an idea about that. Could you/someone be so kind to provide me with the steps to manually=20 install grub (legacy v0.97) or grub2 (v1.98) on a linux that accesses=20 the raid via mdadm-imsm (/dev/md126, /dev/md127)? Because for me it seems: "Intel" says: grub, gub2: No problem. "Grub"=20 says: ??? I know that this is not a grub mailing list, but maybe just a small=20 hint? Like: What should be in /boot/grub/device.map? /dev/md126? Do I install grub to the container (/dev/md127) or to the volume=20 (/dev/md126)? E.g. - grub legacy gave me a "Error 22" on "setup (hd0)" with "/dev/md126 as=20 (hd0) in device.map - grub2: 1st it seems unclear what should be in the /dev/md, because=20 grub assembles /dev/mdadm raids (independent of the BIOS), 2nd it seems=20 unclear how this internal mdadm assembly interferes with "accessing the=20 RAID via the int13 handler as a standalone disk" - lilo: I would prefer a grub based solution Again: Maybe this information is somewhere out there, but that's the=20 problem: There are bits and pieces [about Intel BIOS supported RAID=20 imsm] all over the place --> That's why I would love to (help to) create = this wiki page I mentioned earlier to just assemble the most basic=20 things in one place. =2E. Also that next time a guy like me (with a lot of half-knowledge ;)=20 comes along and asks many "stupid" questions about imsm integration you=20 can hopefully just point him to this wiki page. Does this make sense to you too? Any hint will be greatly appreciated! K. Posern -- On 17/08/10 12:49, Dan Williams wrote: > [ added linux-raid with permission ] > > On 8/16/2010 5:17 PM, K. Posern wrote: >> Dear Mr. Williams, > =2E.. > Regards, > Dan --------------ms070008000303030407090702 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIKajCC BTEwggMZoAMCAQICAwYm8zANBgkqhkiG9w0BAQUFADB5MRAwDgYDVQQKEwdSb290IENBMR4w HAYDVQQLExVodHRwOi8vd3d3LmNhY2VydC5vcmcxIjAgBgNVBAMTGUNBIENlcnQgU2lnbmlu ZyBBdXRob3JpdHkxITAfBgkqhkiG9w0BCQEWEnN1cHBvcnRAY2FjZXJ0Lm9yZzAeFw0wODEy MTIxOTEzNDFaFw0xMDEyMTIxOTEzNDFaMDsxFTATBgNVBAMTDEtudXRoIFBvc2VybjEiMCAG CSqGSIb3DQEJARYTcXVpY2toZWxwQGdtYWlsLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEP ADCCAQoCggEBAM/XLQlhOxcmVwIU0kEDlqL9OiNezGZpMhzB/c1ibGEfBxC0v6GfQd+k00a0 tL4uzwNHquu3Lk49cc9AJbIUbppd9H0RY1dD9FpjjC8SmPlb9ZofRSr7lPlDfD4A8EqLw7KB sp3yUs1kl7SYKAlX7JJgCqzo+CxxOEuO11dnv/ruezOMyGRPOBBMCPiPLyr7iOjkvWObgIoC 82f4EhfsXNPTV3z2b2s1k/0JPIr1t2klk8bta/8MdjSF6E3SjJyyXp0mq48izityMpi5J0U3 Gz2G9EIUBRILVSY/ZZQz2W8Ur2jhItSbpY1qLv6aSCFsrPsFOyc8H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