partitioning a RAID array with kernel 2.6.26
I'm running Debian Lenny (Stable) on my server and was upgrading the disks (from 250G IDE to 1T SATA). While I was at it, I thought I'd improve the partitioning too. The old disks have each RAID array on a separate partition but that isn't necessary on recent distributions (Ubuntu Lucid, Debian Squeeze, etc.).
I thought I try creating just two arrays and partitioning the arrays rather than the underlying disks. If nothing else, it makes resizing them substantially easier.
I created my two arrays (the first for /boot and the second for everything else) and partitioned the second array for / and /home. However I can't seem to get mkfs to format the partitions. It doesn't recognize /dev/md0p1, for example.
Does anyone know if this a problem with mkfs or with the 2.6.26 kernel? Could I format the partitions using a live CD and access them or is the 2.6.26 kernel incapable of recognizing partition tables in raid arrays?
Last edited by garydale; 09-05-2010 at 04:58 AM.
|