[mythtv-users] RAID: full disk or partition (was: Question re: available SATA ports and linux software RAID)

Robin Hill myth at robinhill.me.uk
Tue Apr 26 08:46:16 UTC 2011


On Tue Apr 26, 2011 at 12:23:04PM +1000, Jean-Yves Avenard wrote:

> On 26 April 2011 09:04, Kevin Ross <kevin at familyross.net> wrote:
> 
> > same as the end of the device, then when the computer boots up, when it
> > tries to autodetect raid partitions, it will see a superblock on
> > /dev/sdX, and will stop looking for /dev/sdX1, but the one for /dev/sdX
> > will be invalid.  This caused me lots of grief until I figured out what
> > was going on.  After that, I just shrunk the partition by 8 blocks, and
> > everything was happy.
> 
> I guess it all depends what type of partition you set. The mdadm FAQ
> clearly states not to use the auto-detect RAID type. So this shouldn't
> be a problem.
> 
> I have used full disk size partitions forever and never saw a problem.
> 
It also depends on the RAID metadata format you use - the newer format
(1.0, 1.1 or 1.2) doesn't suffer from this issue anyway (but yes,
switching away from auto-assembly is definitely recommended anyway).

Cheers,
    Robin
-- 
     ___        
    ( ' }     |       Robin Hill        <myth at robinhill.me.uk>  |
   / / )      | Little Jim says ....                            |
  // !!       |      "He fallen in de water !!"                 |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://www.mythtv.org/pipermail/mythtv-users/attachments/20110426/eb54718b/attachment.bin 


More information about the mythtv-users mailing list