HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Changing lvol names
Operating System - HP-UX
1836636
Members
1945
Online
110102
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2003 04:20 PM
04-10-2003 04:20 PM
Changing lvol names
Hi:
I just installed 11.0 on a nclass, but i found after the succesfull installation that the bdf output has the wrong lvol names. The mount points are all correct. Only the root(lvol3) swap(lvol2) and /stand are OK. I need to rename all the other lvol's. Is there a way to do it w/o affecting anything on the installation? Please advise.
Thanks
Sai.
I just installed 11.0 on a nclass, but i found after the succesfull installation that the bdf output has the wrong lvol names. The mount points are all correct. Only the root(lvol3) swap(lvol2) and /stand are OK. I need to rename all the other lvol's. Is there a way to do it w/o affecting anything on the installation? Please advise.
Thanks
Sai.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2003 04:49 PM
04-10-2003 04:49 PM
Re: Changing lvol names
I would be somewhat leary of changing the LV names for VG00. What is wrong with the names? As long as they mount correctly I wouldn't worry too much about them.
Anyway, if you must change them, I would do so from either single-user mode or LVM maintenance.
Here is a procedure that could work for you:
cd /dev/vg00
mv lvol1 newlvname1
mv rlvol1 rnewlvnmae1
mv lvol2 newlvname2
mv rlvol2 rnewlvname2
mv lvol3 newlvname3
mv rlvol3 rnewlvname3
etc...until you get them all done. Make sure you mv both the lvol and rlvol to their new names.
vgchange -a y /dev/vg00
mount -a
This SHOULD work, BUT I take no responsibility if you somehow mess up your VG00.
I would make ABSOLUTELY SURE you have a good make_tape_recovery tape (or 2) before you do this.
Anyway, if you must change them, I would do so from either single-user mode or LVM maintenance.
Here is a procedure that could work for you:
cd /dev/vg00
mv lvol1 newlvname1
mv rlvol1 rnewlvnmae1
mv lvol2 newlvname2
mv rlvol2 rnewlvname2
mv lvol3 newlvname3
mv rlvol3 rnewlvname3
etc...until you get them all done. Make sure you mv both the lvol and rlvol to their new names.
vgchange -a y /dev/vg00
mount -a
This SHOULD work, BUT I take no responsibility if you somehow mess up your VG00.
I would make ABSOLUTELY SURE you have a good make_tape_recovery tape (or 2) before you do this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2003 05:05 PM
04-10-2003 05:05 PM
Re: Changing lvol names
Hi,
Just to add to Patrick's advice, you might also need to edit your /etc/fstab file to reflect the changes in the logical volume names, so that they get mounted in the right places. You might also have to worry about /etc/lvmtab.
Another way to do it would be to use Ignite to make a system backup and then reload the system.
Probably the easy way is just to live with it. I never worry about the lvol names in vg00 as long as everything is there.
JP
Just to add to Patrick's advice, you might also need to edit your /etc/fstab file to reflect the changes in the logical volume names, so that they get mounted in the right places. You might also have to worry about /etc/lvmtab.
Another way to do it would be to use Ignite to make a system backup and then reload the system.
Probably the easy way is just to live with it. I never worry about the lvol names in vg00 as long as everything is there.
JP
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP