Changes between Version 34 and Version 35 of install_kvm
- Timestamp:
- Feb 5, 2012, 4:53:32 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
install_kvm
v34 v35 44 44 * Press enter to start the install. Confirm the disk format. 45 45 * Afer installation, Login with root and no password 46 * The preseed file will leave all leftover space on the disk in a logical volume called "delete". You can remove this logical volume (so the extra space is available to enlarge other logical volumes):with:46 * The preseed file will leave all leftover space on the disk in a logical volume called "delete". You can remove this logical volume with: 47 47 {{{ 48 48 lvremove vg_<guestname>0/delete 49 49 }}} 50 Replace <guestname> with the name of the server, e.g.:50 * Replace <guestname> with the name of the server, e.g.: 51 51 {{{ 52 52 lvremove vg_hay0/delete 53 }}} 54 * To create one or more new volumes from the remaining free space 55 {{{ 56 lvcreate --size <size> -n <logical-volume-name> vg_<guestname>0 57 }}} 58 E.g. 59 {{{ 60 lvcreate --size 80G -n home vg_goldman0 61 lvcreate --size 10G -n var.lib.mysql vg_goldman0 62 }}} 63 * Edit fstab with the mount point(s) for the new logical volume(s) 64 {{{ 65 /dev/mapper/vg_<guestname>0-<logical-volume-name> <mount point> <type> <options> <dump> <pass> 66 }}} 67 E.g. 68 {{{ 69 /dev/mapper/vg_goldman0-home /home ext3 defaults,relatime,nosuid,nodev 0 2 70 /dev/mapper/vg_goldman0-var.lib.mysql /var/lib/mysql ext3 defaults,relatime 0 2 71 }}} 72 * Mount the new logical volume(s). This will test the syntax of fstab to ensure successful mount(s) on the next reboot. 73 {{{ 74 mount <mount point> 75 }}} 76 E.g. 77 {{{ 78 mount /home 79 mount /var/lib/mysql 53 80 }}} 54 81 * Set the root password. Generate one locally with pwgen.