Re: [FAQ-answer] Re: soft RAID5 + journalled FS + power failure =problems ?

2000-01-16 Thread Stephen C. Tweedie

Hi,

Chris Wedgwood writes:

 > > This may affect data which was not being written at the time of the
 > > crash.  Only raid 5 is affected.
 > 
 > Long term -- if you journal to something outside the RAID5 array (ie.
 > to raid-1 protected log disks) then you should be safe against this
 > type of failure?

Indeed.  The jfs journaling layer in ext3 is a completely generic
block device journaling layer which could be used for such a purpose
(and raid/LVM journaling is one of the reasons it was designed this
way).

--Stephen



Re: [FAQ-answer] Re: soft RAID5 + journalled FS + power failure =problems ?

2000-01-16 Thread Stephen C. Tweedie

Hi,

Benno Senoner writes:

 > wow, really good idea to journal to a RAID1 array !
 > 
 > do you think it is possible to to the following:
 > 
 > - N disks holding a soft RAID5  array.
 > - reserve a small partition on at least 2 disks of the array to hold a RAID1
 > array.
 > - keep the journal on this partition.

Yes.  My jfs code will eventually support this.  The main thing it is
missing right now is the ability to journal multiple devices to a
single journal: the on-disk structure is already designed with that in
mind but the code does not yet support it.

--Stephen