Changes between Version 5 and Version 6 of decommission_kvm
- Timestamp:
- Jun 22, 2012, 12:06:19 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
decommission_kvm
v5 v6 25 25 == Ensure all sensitive data is overwritten == 26 26 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:27 For 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: 28 28 29 29 {{{ 30 $ dd if=/dev/zero of=/dev/mapper/VOLUMEGROUPNAME-LOGICALVOLUMENAME bs=1M30 $ pv --rate-limit=1m < /dev/zero > /dev/mapper/VOLUMEGROUPNAME-LOGICALVOLUMENAME 31 31 }}} 32 32