<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16825" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>First  I would create the raid without 
encryption to see if it works OK. Only after that I would re-create the raid in 
a process that takes 4 days.</FONT></DIV>
<DIV><FONT face=Arial size=2>The rezone for this is that once I had a bad 
experience with a similar setup. I had a faked hardware raid controller with 3 
disks (raid 5) that worked fine on Windows. I tried to convert it to Linux and 
failed to create a software raid. Linux (Ubuntu 8.04 server, Ubuntu 8.04 
desktop, RHEL) recognized all the disks, but the creation of the raid failed. 
Only after a lot of time I tried to install free NAS and it told me that one of 
the disks was defective. After replacing the defective disk the software raid 
worked like magic.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>have fun</FONT></DIV>
<DIV><FONT face=Arial size=2>Shahar</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=scar@drigon.com href="mailto:scar@drigon.com">scar</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=ubuntu-users@lists.ubuntu.com 
  href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, August 11, 2009 9:15 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: raid-1 with Marvell 
  6121</DIV>
  <DIV><BR></DIV>
  <DIV>-----BEGIN PGP SIGNED MESSAGE-----<BR>Hash: SHA256<BR><BR>scar @ 
  07/28/2009 11:36 PM:<BR>> dear all,<BR>> <BR>> i have this SATA 
  controller on my motherboard (lspci below), and i have<BR>> two identical 
  drives attached to it.  in the Marvell option ROM in the<BR>> system 
  BIOS, i have successfully setup a RAID-1 configuration, and i am<BR>> told 
  that the array is "healthy" and/or "functional" upon bootup.<BR>> <BR>> 
  initially, after booting into ubuntu 8.10 with linux 
  2.6.27-14-generic,<BR>> the controller and thus the drives were not 
  properly detected.<BR>> <BR>> i then found a bug report[1] (you will see 
  my puny plea for help there<BR>> as well), which directed me to [2].  
  after following the instructions<BR>> there, ubuntu was detecting the two 
  disks i had attached to the 6121 as<BR>> separate disks, and not as one 
  logical RAID-1 volume as i would assume.<BR>><BR>> 1. <A 
  href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/335615">https://bugs.launchpad.net/ubuntu/+source/linux/+bug/335615</A><BR>> 
  2. <A 
  href="http://wiki.debian.org/pata_marvell">http://wiki.debian.org/pata_marvell</A><BR><BR>i 
  have come across this[1] wiki page, and realized i should use softraid<BR>with 
  my setup.  i never realized these built-in controllers were 
  "fake"<BR>RAIDs.  sketchy manufacturers... ;-)<BR><BR>so, i searched 
  around, and followed the instructions at [2], up to<BR>creating the first 
  array.  now i have /dev/md0.<BR><BR>then, i jumped over to [3], since i 
  want it to be encrypted, and started<BR>with step 1b, filling the device with 
  random data.  that is still<BR>running, and will take about 4 days by my 
  calculations to complete.<BR>then i will continue with that guide.<BR><BR>in 
  the meantime, if anyone has any tips, etc. i would appreciate 
  it!<BR><BR>thanks<BR><BR><BR>1. <A 
  href="https://help.ubuntu.com/community/FakeRaidHowto">https://help.ubuntu.com/community/FakeRaidHowto</A><BR>2. 
  <A 
  href="http://www.rrcomputerconsulting.com/view.php?article_id=3#9">http://www.rrcomputerconsulting.com/view.php?article_id=3#9</A><BR>3. 
  <A 
  href="http://www.saout.de/tikiwiki/tiki-index.php?page=EncryptedDeviceUsingLUKS">http://www.saout.de/tikiwiki/tiki-index.php?page=EncryptedDeviceUsingLUKS</A><BR>-----BEGIN 
  PGP 
  SIGNATURE-----<BR><BR>iEYEAREIAAYFAkqBtScACgkQXhfCJNu98qC1dQCgyqswemfCQLxncrLz34FcmJz+<BR>pRYAoOyhfVwGYJoGEBaAmrRz4sBWsyBh<BR>=k1k+<BR>-----END 
  PGP SIGNATURE-----<BR><BR><BR>-- <BR>ubuntu-users mailing list<BR><A 
  href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</A><BR>Modify 
  settings or unsubscribe at: <A 
  href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</A><BR></DIV></BLOCKQUOTE></BODY></HTML>