Changes between Version 5 and Version 6 of decommission_kvm


Ignore:
Timestamp:
Jun 21, 2012, 8:06:19 PM (7 years ago)
Author:
Ben Dean-Kawamura
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • decommission_kvm

    v5 v6  
    2525== Ensure all sensitive data is overwritten ==
    2626
    27 For this step, login as `GUESTNAME@HOSTNAME.mayfirst.org` to ensure that you do not overwrite data for other guests.  Here we'll issue a dd command that writes zeros across the entire logical volume.  The command is:
     27For this step, login as `GUESTNAME@HOSTNAME.mayfirst.org` to ensure that you do not overwrite data for other guests.  We want to zero out all bytes on the logic volume to avoid this.  However, be careful: doing this at full-speed can cause guests on the hosts to stop responding.  Use the pv command to limit the IO rate.  You may need to use apt-get to install pv on the host.  The command is:
    2828
    2929{{{
    30 $ dd if=/dev/zero of=/dev/mapper/VOLUMEGROUPNAME-LOGICALVOLUMENAME bs=1M
     30$ pv --rate-limit=1m < /dev/zero > /dev/mapper/VOLUMEGROUPNAME-LOGICALVOLUMENAME
    3131}}}
    3232