Rename Logical Volumes Redhat 6 7

I had to rename a bunch of logical volumes and filesystems. This script is based on the lvrename command. It will go line by line of the fs file formated cat fs oldfs01a:newfs01b oldfs02a:newfs02b oldfs03a:newfs03b In my case the lvname and fs were were similar except for the last three characters. It will umount the […]