Editing OpenSuse Build Service/Installation
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 50: | Line 50: | ||
<source lang='bash'> | <source lang='bash'> | ||
lvcreate -L 10G VG_data -n fe_root | lvcreate -L 10G VG_data -n fe_root | ||
+ | mkfs -text3 /dev/VG_data/fe_root | ||
lvcreate -L 2G VG_data -n fe_swap | lvcreate -L 2G VG_data -n fe_swap | ||
mkswap /dev/VG_data/fe_swap | mkswap /dev/VG_data/fe_swap | ||
lvcreate -L 10G VG_data -n be_root | lvcreate -L 10G VG_data -n be_root | ||
+ | mkfs -text3 /dev/VG_data/be_root | ||
lvcreate -L 2G VG_data -n be_swap | lvcreate -L 2G VG_data -n be_swap | ||
mkswap /dev/VG_data/be_swap | mkswap /dev/VG_data/be_swap | ||
lvcreate -L 10G VG_data -n w1_root | lvcreate -L 10G VG_data -n w1_root | ||
+ | mkfs -text3 /dev/VG_data/w1_root | ||
lvcreate -L 2G VG_data -n w1_swap | lvcreate -L 2G VG_data -n w1_swap | ||
mkswap /dev/VG_data/w1_swap | mkswap /dev/VG_data/w1_swap | ||
Line 89: | Line 92: | ||
Copy to each of the VM root disks | Copy to each of the VM root disks | ||
<source lang='bash'> | <source lang='bash'> | ||
- | |||
mount /dev/VG_data/fe_root /mnt/lvm | mount /dev/VG_data/fe_root /mnt/lvm | ||
rsync -HAXa /data/11.2min/image-root/ /mnt/lvm/ | rsync -HAXa /data/11.2min/image-root/ /mnt/lvm/ | ||
Line 96: | Line 98: | ||
umount /mnt/lvm | umount /mnt/lvm | ||
- | |||
mount /dev/VG_data/be_root /mnt/lvm | mount /dev/VG_data/be_root /mnt/lvm | ||
rsync -HAXa /data/11.2min/image-root/ /mnt/lvm/ | rsync -HAXa /data/11.2min/image-root/ /mnt/lvm/ | ||
Line 103: | Line 104: | ||
umount /mnt/lvm | umount /mnt/lvm | ||
- | |||
mount /dev/VG_data/w1_root /mnt/lvm | mount /dev/VG_data/w1_root /mnt/lvm | ||
rsync -HAXa /data/11.2min/image-root/ /mnt/lvm/ | rsync -HAXa /data/11.2min/image-root/ /mnt/lvm/ |
Learn more about Contributing to the wiki.