Proper way to remove an active / inactive LVM snapshot
- by user2622247
I have created a sample ruby script file for removing extra LVM snapshots from the system.
For removing LVM snapshot, we are using lvremove command. This command is working fine and we can remove snapshots from the system.
# sudo lvremove /dev/ops/dbbackup
lvremove -- do you really want to remove "/dev/ops/dbbackup"? [y/n]: y
Sometimes while…