On Fri, 9 Oct 1998, chrisj wrote:
> I need to use the linear disk module to increase the size of my usr partition.
> The problem is that I cannot find any documentation on how to set it up other
> than compiling it in to the kernel. Does anyone know where I cna find
> information or provide me with some.
/etc/raidtab:
raiddev /dev/md0
raid-level linear
nr-raid-disks 2
chunk-size 32
persistent-superblock 1
device /dev/sda2
raid-disk 0
device /dev/sdb2
raid-disk 1
then:
mkraid /dev/md0
and the array is running, you can just do a:
mke2fs /dev/md0
If you have enabled RAID autorun and marked the partitions as type 0xfe
with fdisk, then it will always be run by the kernel. If not, then use:
raidstart /dev/md0
in your rc scripts. Probably you know this, if you have a working /usr
_now_, you cannot do the above without backing up stuff first, and
restoring afterwards.
thats all.
-- mingo