raid-1 with Marvell 6121

Shahar Dag dag at cs.technion.ac.il
Wed Aug 12 08:16:27 UTC 2009


Hello

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.
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.

have fun
Shahar


----- Original Message ----- 
  From: scar 
  To: ubuntu-users at lists.ubuntu.com 
  Sent: Tuesday, August 11, 2009 9:15 PM
  Subject: Re: raid-1 with Marvell 6121


  -----BEGIN PGP SIGNED MESSAGE-----
  Hash: SHA256

  scar @ 07/28/2009 11:36 PM:
  > dear all,
  > 
  > i have this SATA controller on my motherboard (lspci below), and i have
  > two identical drives attached to it.  in the Marvell option ROM in the
  > system BIOS, i have successfully setup a RAID-1 configuration, and i am
  > told that the array is "healthy" and/or "functional" upon bootup.
  > 
  > initially, after booting into ubuntu 8.10 with linux 2.6.27-14-generic,
  > the controller and thus the drives were not properly detected.
  > 
  > i then found a bug report[1] (you will see my puny plea for help there
  > as well), which directed me to [2].  after following the instructions
  > there, ubuntu was detecting the two disks i had attached to the 6121 as
  > separate disks, and not as one logical RAID-1 volume as i would assume.
  >
  > 1. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/335615
  > 2. http://wiki.debian.org/pata_marvell

  i have come across this[1] wiki page, and realized i should use softraid
  with my setup.  i never realized these built-in controllers were "fake"
  RAIDs.  sketchy manufacturers... ;-)

  so, i searched around, and followed the instructions at [2], up to
  creating the first array.  now i have /dev/md0.

  then, i jumped over to [3], since i want it to be encrypted, and started
  with step 1b, filling the device with random data.  that is still
  running, and will take about 4 days by my calculations to complete.
  then i will continue with that guide.

  in the meantime, if anyone has any tips, etc. i would appreciate it!

  thanks


  1. https://help.ubuntu.com/community/FakeRaidHowto
  2. http://www.rrcomputerconsulting.com/view.php?article_id=3#9
  3. http://www.saout.de/tikiwiki/tiki-index.php?page=EncryptedDeviceUsingLUKS
  -----BEGIN PGP SIGNATURE-----

  iEYEAREIAAYFAkqBtScACgkQXhfCJNu98qC1dQCgyqswemfCQLxncrLz34FcmJz+
  pRYAoOyhfVwGYJoGEBaAmrRz4sBWsyBh
  =k1k+
  -----END PGP SIGNATURE-----


  -- 
  ubuntu-users mailing list
  ubuntu-users at lists.ubuntu.com
  Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090812/152610d1/attachment.html>


More information about the ubuntu-users mailing list