[mythtv-users] OT: follies with RAID

Yan Seiner yan at seiner.com
Mon Feb 9 14:54:35 UTC 2009


So my myth backend has a RAID-6 array for some other files.

Yesterday I noticed that I made a bonehead error in setting it up:

md10 : active raid6 sdd[2] sdg1[0] sdk1[5] sde1[4] sdh1[3] sdj1[1]
      1562834944 blocks level 6, 64k chunk, algorithm 2 [6/6] [UUUUUU]

Note that sdd is the raw drive, not a partition.

selene:/data/home/yan#  /sbin/fdisk -l /dev/sdd

Disk /dev/sdd: 400.0 GB, 400087375360 bytes
255 heads, 63 sectors/track, 48641 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/sdd doesn't contain a valid partition table

As opposed to

selene:/data/home/yan#  /sbin/fdisk -l /dev/sdg

Disk /dev/sdg: 400.0 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000315f4

   Device Boot      Start         End      Blocks   Id  System
/dev/sdg1               1       48641   390708801   fd  Linux raid 
autodetect


How do I go about fixing this?

--Yan




More information about the mythtv-users mailing list