I have a lv(logical volume) which is a original source of another snapshot. And I wanna extend the lv with command 'lvextend' and the first try failed with error:
Snapshot origin volumes can be resized only while inactive
So I tried the second way with a command sequence.
1. unmount [mount_path]
2. deactive the device with command(lvchange -an [device_path])
3. lvextend [device_path]
then I get the error:
LV [device_namr] has open snapshot [snapshot_name]: not deactivating
What should I do, how can I extend a lv with snapshot exists?
You must deactivate your snapshot too, with command:
lvchange -an [snapshot_path]
and when both of volume and snapshot are inactive, you can extend your volume.