I have a logical volume with snapshots enabled; I haven't done that with
the Linux LVM before. Previously I had no problems extending an LV.
Today I added LUNs into PVs, which were added to the volume group. I
attempted to extend the volume:
% sudo lvextend -l +100%FREE -n /dev/sanvg-01-depots/sanlv-01-depots
Snapshot origin volumes can be resized only while inactive: try
lvchange -an
Run `lvextend --help' for more information.
Based on the little I could find on the web, I tried unmounting the
snapshot that was mounted for backups. No change.
Am I supposed to use lvchange to deactivate the whole volume? I see no
way to deactivate the snapshots without deactivating the origin volume.
This is a key production server; I can't easily deactivate this volume.
If that's the normal path, I assume the only alternative would be:
1. remove the snapshots all together
2. extend the volume
3. recreate a snapshot
Is that correct?
Thanks,
Miles
--
Miles O'Neal
CAD Systems Engineer
Cirrus Logic | cirrus.com | 1.512.851.4659