Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I can cd to the dir and list the files there:
/dev/mapper
[root@sky mapper]# ls
control VolGroup00-LogVol02 VolGroup00-LogVol05
VolGroup00-LogVol00 VolGroup00-LogVol03 VolGroup00-LogVol06
VolGroup00-LogVol01 VolGroup00-LogVol04 VolGroup00-LogVol07
I will try this but how come the full path did not work according to man and help on the lvrename it should have worked.
That seemed to work
lvrename -v VolGroup00 LogVol07 rvg_tsom
Checking for existing volume group "VolGroup00"
Archiving volume group "VolGroup00" metadata (seqno 9).
Writing out updated volume group
Creating volume group backup "/etc/lvm/backup/VolGroup00" (seqno 10).
Found volume group "VolGroup00"
Found volume group "VolGroup00"
Loading VolGroup00-LogVol07 table
Suppressed VolGroup00-LogVol07 identical table reload.
Suspending VolGroup00-LogVol07 (253:5) without device flush
Found volume group "VolGroup00"
Loading VolGroup00-LogVol07 table
Suppressed VolGroup00-LogVol07 identical table reload.
Renaming VolGroup00-LogVol07 (253:5) to VolGroup00-rvg_tsom
Resuming VolGroup00-rvg_tsom (253:5)
Renamed "LogVol07" to "rvg_tsom" in volume group "VolGroup00"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.