Preserve Existing RAID1 HDDs with LVM2
n43w79
n43w79 at gmail.com
Tue Dec 8 19:24:31 CET 2015
Hello,
I am trying to re-install but to preserve the existing /dev/sd{a,b} as follows with fatal error:
# <type> <mountpoint> <size> <fs type> <mount options>
disk_config disk1 preserve_always:all
primary - 128 - -
primary - 1024 - -
primary - 0- - -
disk_config disk2 sameas:disk1
#Software raid1
disk_config raid preserve_always:all
raid1 /boot disk1.1,disk2.1 ext2 rw,errors=remount-ro
raid1 swap disk1.2,disk2.2 swap rw
raid1 - disk1.3,disk2.3 - -
# define volume groups
disk_config lvm preserve_always:all
vg vg0 md2
vg0-root / 20G ext3 rw,errors=remount-ro
vg0-tmp /tmp 1024 ext3 rw
vg0-home /home 190G ext3 rw,nosuid createopts="-m 1" tuneopts="-c 0 -i 0"
vg0-var /var 20G ext3 rw
vg0-www /var/www 20G ext3 rw
vg0-usr /usr 20G ext3 rw
vg0-srv /srv 20G ext3 rw
===End===
Can anyone help?
Kwon
More information about the linux-fai
mailing list