Changes between Version 34 and Version 35 of install_kvm


Ignore:
Timestamp:
Feb 4, 2012, 11:53:32 PM (8 years ago)
Author:
Joseph
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • install_kvm

    v34 v35  
    4444 * Press enter to start the install. Confirm the disk format.
    4545 * 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:
    4747{{{
    4848lvremove vg_<guestname>0/delete
    4949}}}
    50  Replace <guestname> with the name of the server, e.g.:
     50 * Replace <guestname> with the name of the server, e.g.:
    5151{{{
    5252lvremove vg_hay0/delete
     53}}}
     54 * To create one or more new volumes from the remaining free space
     55{{{
     56lvcreate --size <size> -n <logical-volume-name> vg_<guestname>0
     57}}}
     58 E.g.
     59{{{
     60lvcreate --size 80G -n home vg_goldman0
     61lvcreate --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{{{
     74mount <mount point>
     75}}}
     76 E.g.
     77{{{
     78mount /home
     79mount /var/lib/mysql
    5380}}}
    5481 * Set the root password. Generate one locally with pwgen.