Description of problem:
It looks like the autobackup flag is always set to "n" whether the
checkbox on the create VG dialog is checked or not. I added a debug
print in CommandHandler.py before the vgcreate command (~line 95) to
print out the value of autobackup_arg before the command is executed.
Then created two volumes: one with the autobackup box checked and one
without. Both times the autobackup_arg was 'n'.
Point 2: The man page for vgcreate states that autobackup is on by
default. So once this is working the box should be checked by default
to be consistent with default command line behavior.
Another strange note about this flag (and this is LVM-specific, not
the GUI) is that whether you run with '-A y' or '-A n' the VG backup
text file gets updated in /etc/lvm/backup/VGname when you make a
change to the VG. If I understand this correctly LVM is running
autobackup=y even when you specify you don't want it.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Fixed in 0.9.4-1.0 by removing checkbox. LVM2 pkg maintainer wishes
that the option to NOT backup metadata is never presented to the user.
Verified in system-config-lvm-0.9.6-1.0 that:
- On new VG creation the Autobackup checkbox is not available
- For each VG the backup is in fact on. Check /etc/lvm/backup/VGname.