start todocommands.sh
---------------------
vr aug 19 19:26:35 CEST 2016
1. sudo vgextend mydell /dev/sdb4
vr aug 19 19:26:36 CEST 2016
2. sudo lvcreate -L 6G -s -n mysnap /dev/mapper/mydell-boot
vr aug 19 19:26:41 CEST 2016
3. python myarchive2.py /dev/mapper/mydell-mysnap backup-boot 4 4 2000
Archive will be split into volumes of 2097152000 bytes (1.95 GB)
Statistics for filesystem 0
* files successfully processed:....regfiles=311, directories=7, symlinks=0, hardlinks=0, specials=0
* files with errors:...............regfiles=0, directories=0, symlinks=0, hardlinks=0, specials=0
vr aug 19 19:26:47 CEST 2016
4. sudo lvremove -vf /dev/mapper/mydell-boot
    Archiving volume group "mydell" metadata (seqno 626).
    Removing snapshot volume mydell/mysnap.
    Loading mydell-boot table (254:4)
    Loading mydell-mysnap table (254:8)
    mydell/mysnap already not monitored.
    Suspending mydell-boot (254:4) with device flush
    Suspending mydell-mysnap (254:8) with device flush
    Suspending mydell-boot-real (254:6) with device flush
    Suspending mydell-mysnap-cow (254:7) with device flush
    activation/volume_list configuration setting not defined: Checking only host tags for mydell/mysnap.
    Resuming mydell-mysnap-cow (254:7)
    Resuming mydell-boot-real (254:6)
    Resuming mydell-mysnap (254:8)
    Removing mydell-mysnap-cow (254:7)
    Resuming mydell-boot (254:4)
    Removing mydell-boot-real (254:6)
    Removing mydell-mysnap (254:8)
    Releasing logical volume "mysnap"
    Creating volume group backup "/etc/lvm/backup/mydell" (seqno 628).
    Device dm-4 (254:4) appears to be mounted on /boot.
  Logical volume mydell/boot contains a filesystem in use.
vr aug 19 19:26:49 CEST 2016
5. sudo lvcreate -L 6G -s -n mysnap /dev/mapper/mydell-root
vr aug 19 19:26:53 CEST 2016
6. python myarchive2.py /dev/mapper/mydell-mysnap backup-root 4 4 2000
Archive will be split into volumes of 2097152000 bytes (1.95 GB)
Statistics for filesystem 0
* files successfully processed:....regfiles=214469, directories=20438, symlinks=53314, hardlinks=29, specials=45
* files with errors:...............regfiles=0, directories=0, symlinks=0, hardlinks=0, specials=0
vr aug 19 19:50:36 CEST 2016
7. sudo lvremove -vf /dev/mapper/mydell-root
    Archiving volume group "mydell" metadata (seqno 630).
    Removing snapshot volume mydell/mysnap.
    Loading mydell-root table (254:0)
    Loading mydell-mysnap table (254:8)
    Not monitoring mydell/mysnap
    Suspending mydell-root (254:0) with device flush
    Suspending mydell-mysnap (254:8) with device flush
    Suspending mydell-root-real (254:6) with device flush
    Suspending mydell-mysnap-cow (254:7) with device flush
    activation/volume_list configuration setting not defined: Checking only host tags for mydell/mysnap.
    Resuming mydell-mysnap-cow (254:7)
    Resuming mydell-root-real (254:6)
    Resuming mydell-mysnap (254:8)
    Removing mydell-mysnap-cow (254:7)
    Resuming mydell-root (254:0)
    Removing mydell-root-real (254:6)
    Removing mydell-mysnap (254:8)
    Releasing logical volume "mysnap"
    Creating volume group backup "/etc/lvm/backup/mydell" (seqno 632).
    Device dm-0 (254:0) appears to be mounted on /.
  Logical volume mydell/root contains a filesystem in use.
vr aug 19 19:50:38 CEST 2016
8. sudo lvcreate -L 6G -s -n mysnap /dev/mapper/mydell-home
vr aug 19 19:50:42 CEST 2016
9. python myarchive2.py /dev/mapper/mydell-mysnap backup-home 4 4 2000
Archive will be split into volumes of 2097152000 bytes (1.95 GB)
Statistics for filesystem 0
* files successfully processed:....regfiles=190054, directories=11101, symlinks=501, hardlinks=6, specials=30
* files with errors:...............regfiles=0, directories=0, symlinks=0, hardlinks=0, specials=0
vr aug 19 20:16:35 CEST 2016
10. sudo lvremove -vf /dev/mapper/mydell-home
    Archiving volume group "mydell" metadata (seqno 634).
    Removing snapshot volume mydell/mysnap.
    Loading mydell-home table (254:1)
    Loading mydell-mysnap table (254:8)
    Not monitoring mydell/mysnap
    Suspending mydell-home (254:1) with device flush
    Suspending mydell-mysnap (254:8) with device flush
    Suspending mydell-home-real (254:6) with device flush
    Suspending mydell-mysnap-cow (254:7) with device flush
    activation/volume_list configuration setting not defined: Checking only host tags for mydell/mysnap.
    Resuming mydell-mysnap-cow (254:7)
    Resuming mydell-home-real (254:6)
    Resuming mydell-mysnap (254:8)
    Removing mydell-mysnap-cow (254:7)
    Resuming mydell-home (254:1)
    Removing mydell-home-real (254:6)
    Removing mydell-mysnap (254:8)
    Releasing logical volume "mysnap"
    Creating volume group backup "/etc/lvm/backup/mydell" (seqno 636).
    Device dm-1 (254:1) appears to be mounted on /home.
  Logical volume mydell/home contains a filesystem in use.
vr aug 19 20:16:38 CEST 2016
11. sudo lvcreate -L 6G -s -n mysnap /dev/mapper/mydell-data
vr aug 19 20:16:42 CEST 2016
12. python myarchive2.py /dev/mapper/mydell-mysnap backup-data 4 4 2000
Archive will be split into volumes of 2097152000 bytes (1.95 GB)
Statistics for filesystem 0
* files successfully processed:....regfiles=53300, directories=9055, symlinks=49, hardlinks=1, specials=0
* files with errors:...............regfiles=0, directories=0, symlinks=0, hardlinks=0, specials=0
vr aug 19 20:30:30 CEST 2016
13. sudo lvremove -vf /dev/mapper/mydell-data
    Archiving volume group "mydell" metadata (seqno 638).
    Removing snapshot volume mydell/mysnap.
    Loading mydell-data table (254:2)
    Loading mydell-mysnap table (254:8)
    Not monitoring mydell/mysnap
    Suspending mydell-data (254:2) with device flush
    Suspending mydell-mysnap (254:8) with device flush
    Suspending mydell-data-real (254:6) with device flush
    Suspending mydell-mysnap-cow (254:7) with device flush
    activation/volume_list configuration setting not defined: Checking only host tags for mydell/mysnap.
    Resuming mydell-mysnap-cow (254:7)
    Resuming mydell-data-real (254:6)
    Resuming mydell-mysnap (254:8)
    Removing mydell-mysnap-cow (254:7)
    Resuming mydell-data (254:2)
    Removing mydell-data-real (254:6)
    Removing mydell-mysnap (254:8)
    Releasing logical volume "mysnap"
    Creating volume group backup "/etc/lvm/backup/mydell" (seqno 640).
    Device dm-2 (254:2) appears to be mounted on /data.
  Logical volume mydell/data contains a filesystem in use.
vr aug 19 20:30:33 CEST 2016
14. sudo vgreduce mydell /dev/sdb4
vr aug 19 20:30:35 CEST 2016
-rw-r--r--+ 1 root root   72791607 aug 19 19:26 backup-boot-201608191926.fsa
-rw-r--r--+ 1 root root 2097056129 aug 19 20:18 backup-data-201608192016.f01
-rw-r--r--+ 1 root root 2096948364 aug 19 20:19 backup-data-201608192016.f02
-rw-r--r--+ 1 root root 2097103875 aug 19 20:20 backup-data-201608192016.f03
-rw-r--r--+ 1 root root 2097093910 aug 19 20:21 backup-data-201608192016.f04
-rw-r--r--+ 1 root root 2096946069 aug 19 20:22 backup-data-201608192016.f05
-rw-r--r--+ 1 root root 2096950831 aug 19 20:22 backup-data-201608192016.f06
-rw-r--r--+ 1 root root 2097018338 aug 19 20:23 backup-data-201608192016.f07
-rw-r--r--+ 1 root root 2097089812 aug 19 20:24 backup-data-201608192016.f08
-rw-r--r--+ 1 root root 2097086191 aug 19 20:25 backup-data-201608192016.f09
-rw-r--r--+ 1 root root 2096924833 aug 19 20:26 backup-data-201608192016.f10
-rw-r--r--+ 1 root root 2097024093 aug 19 20:27 backup-data-201608192016.f11
-rw-r--r--+ 1 root root 2096942119 aug 19 20:28 backup-data-201608192016.f12
-rw-r--r--+ 1 root root 2097051918 aug 19 20:29 backup-data-201608192016.f13
-rw-r--r--+ 1 root root 2002680377 aug 19 20:30 backup-data-201608192016.f14
-rw-r--r--+ 1 root root 2096977950 aug 19 20:17 backup-data-201608192016.fsa
-rw-r--r--+ 1 root root 2097001175 aug 19 20:03 backup-home-201608191950.f01
-rw-r--r--+ 1 root root 2097090775 aug 19 20:05 backup-home-201608191950.f02
-rw-r--r--+ 1 root root 2096891192 aug 19 20:06 backup-home-201608191950.f03
-rw-r--r--+ 1 root root 2008025101 aug 19 20:16 backup-home-201608191950.f04
-rw-r--r--+ 1 root root 2097069798 aug 19 20:02 backup-home-201608191950.fsa
-rw-r--r--+ 1 root root 2097032738 aug 19 19:42 backup-root-201608191926.f01
-rw-r--r--+ 1 root root  985850829 aug 19 19:50 backup-root-201608191926.f02
-rw-r--r--+ 1 root root 2097095450 aug 19 19:29 backup-root-201608191926.fsa
-rw-rw-rw-+ 1 root root       6616 aug 19 20:30 todocommands_20160819
15. Quit
vr aug 19 20:30:37 CEST 2016
Einde
-----

Laatst gewijzigd: vrijdag 19 augustus 2016 21:06
Copyright 2015 - Franz Ulenaers (email : franz.ulenaers@telenet.be)