← Back to team overview

touch-packages team mailing list archive

[Bug 1424114] [NEW] lvm snapshot is not being autoextended

 

Public bug reported:

After setting auto extend threshold and rebooting, lvm snapshots are not
being auto extended.

Steps to recreate:
1. Using Ubuntu 14.04 LTS
2. Set snapshot_autoextend_threshold to less than 100
# grep autoext /etc/lvm/lvm.conf 
    snapshot_autoextend_threshold = 50
    snapshot_autoextend_percent = 20
3. Reboot server to have lvm reread lvm.conf
4. Create a snapshot of a mounted logical volume
# lvcreate -s /dev/testVG/testLV -L 1G -n testLVsnap
5. Make modifications to mounted logical volume
6. List logical volumes and snapshots
# lvs
  LV         VG     Attr      LSize  Pool Origin Data%  Move Log Copy%  Convert
  testLV     testVG owi-aos-- 10.00g                                           
  testLVsnap testVG swi-a-s--  1.00g      testLV  95.04

What I expected to have happened:
Once Data% of snapshot reached the snapshot_autoextend_threshold, the snapshot logical volume should have been auto extended.

** Affects: lvm2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: lvm snapshot

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lvm2 in Ubuntu.
https://bugs.launchpad.net/bugs/1424114

Title:
  lvm snapshot is not being autoextended

Status in lvm2 package in Ubuntu:
  New

Bug description:
  After setting auto extend threshold and rebooting, lvm snapshots are
  not being auto extended.

  Steps to recreate:
  1. Using Ubuntu 14.04 LTS
  2. Set snapshot_autoextend_threshold to less than 100
  # grep autoext /etc/lvm/lvm.conf 
      snapshot_autoextend_threshold = 50
      snapshot_autoextend_percent = 20
  3. Reboot server to have lvm reread lvm.conf
  4. Create a snapshot of a mounted logical volume
  # lvcreate -s /dev/testVG/testLV -L 1G -n testLVsnap
  5. Make modifications to mounted logical volume
  6. List logical volumes and snapshots
  # lvs
    LV         VG     Attr      LSize  Pool Origin Data%  Move Log Copy%  Convert
    testLV     testVG owi-aos-- 10.00g                                           
    testLVsnap testVG swi-a-s--  1.00g      testLV  95.04

  What I expected to have happened:
  Once Data% of snapshot reached the snapshot_autoextend_threshold, the snapshot logical volume should have been auto extended.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1424114/+subscriptions


Follow ups

References