On Sun, Nov 18, 2007 at 04:32:58AM +0530, Siju George wrote: > On Nov 17, 2007 12:04 AM, Marco Peereboom <[EMAIL PROTECTED]> wrote: > > I'll take this as the documentation isn't good enough. Can you point me > > to the area that isn't clear? > > > > Thanks for the offer Marco. > I currently use RAIDFRAME for Raid 1 > A few doubts that remain after I have read the man page is. > > 1) Is it possible to run "/" from a Softraid volume?
Yes you can. The real issue is where do you load your kernel from. Also all the recovery pieces are not in place and I would therefore not use it for this just yet. > > 2) "Currently the RAID 1 support does not have the ability to recover a failed > chunk." > > Does this mean If I have two chunks on two different hard disks and if > one disk fails I need to > > a) copy the data from the working disk to some where > b) get a new disk and re create RAID 1 as I did in the begining and > copy back the data to the RAID 1 volume? The procedure, albeit ugly, at this point is to boot into a single user environment and dd the correct disk on top of the failed disk. Then use bioctl to assemble the disks with force (-C force). This obviously sucks and I will make this much more transparent in the future. > > 3) "The RAID 1 discipline does not initialize the mirror upon creation." > > So what should be done manually to initialize the mirror? Nothing. Initializing a RAID set is mostly silly. The only reason to do it is to read all sectors and when one of them is bad it can be remapped either by the drive or by some higher layer. This is nice of course but surely not critical. See the data you want to read has been written before. If it hasn't you don't know or care what is in it. I will eventually do some sort of initialize the RAID set but that'll be an extension of to rebuild. They are virtually the same function and should be treated as such. > > Also if the system suffers a power loss will the system boot up only > after parity is checked? Right now it won't do that yet. Again that is a function of the rebuild that does not exist yet. > > Thank you so much > Most of your questions are around rebuild or derivatives. This does not exist yet. My current push is to get softraid working on all arches so that it could get re-enabled. The rebuild stuff comes after that.