This is no longer true for the very latest kernels. You might want to do google search for 'linux raid trim support'Jogie214 wrote: I've read that SSD's are not really the best choice for a raid using linux, since the raid array would leave no empty blocks on the device, also some metadata would wear down the cells rather fast. I haven't checked whether it's the truth
Ah, I understand now. I thought you have /usr on a separate RAID1 partition.Jogie214 wrote: the space inside the array is split into different volume groups. I'm not sure whether it would be possible or a good idea to build a raid from a LVM volume inside a raid array with an SDD.
Code: Select all
#!/bin/sh
cmd="rsync -vurlpog --delete"
for dir in /boot /proc /sys /dev /tmp /home /usr/portage /usr/distfiles /opt /alt-root; do
cmd="$cmd --exclude=$dir "
done
cmd="$cmd / /alt-root"
eval $cmd
[ -x /alt-root/boot ] ; mkdir /alt-root/boot
[ -x /alt-root/proc ] ; mkdir /alt-root/proc
[ -x /alt-root/sys ] ; mkdir /alt-root/sys
[ -x /alt-root/dev ] ; mkdir /alt-root/dev
[ -x /alt-root/temp ] ; mkdir /alt-root/temp
[ -x /alt-root/home ] ; mkdir /alt-root/home
[ -x /alt-root/usr/portage ] ; mkdir /alt-root/usr/portage
[ -x /alt-root/usr/distfiles ] ; mkdir /alt-root/usr/distfiles
[ -x /alt-root/opt ] ; mkdir /alt-root/opt
[ -x /alt-root/alt-root ] ; mkdir /alt-root/alt-root