Debian / Ubuntu access RAID LVM harddisk

sudo su

apt-get install mdadm
mdadm --assemble --scan

apt-get install lvm2
#lvmdiskscan
vgchange -a y

root@ubuntu:/home/ubuntu# ls -l /dev/mapper/
total 0
crw------- 1 root root 10, 59 2011-02-25 11:03 control
lrwxrwxrwx 1 root root 7 2011-02-25 11:08 vg00-foo--data -> ../dm-0
lrwxrwxrwx 1 root root 7 2011-02-25 11:08 vg00-foo--swap -> ../dm-1

mount /dev/mapper/vg00-foo--data /mnt/

echo md >> /etc/modules
echo lvm >> /etc/modules
echo raid1 >> /etc/modules
update-initramfs -k all -u