- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- change lvol name
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
12-17-2003 04:30 AM
12-17-2003 04:30 AM
change lvol name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 04:36 AM
12-17-2003 04:36 AM
Re: change lvol name
I'm believe you'll have to lvremove/lvcreate.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 04:39 AM
12-17-2003 04:39 AM
Re: change lvol name
# umount file_system_name
# mkdir /new_name
# mount /dev/vgXX/lvol_name /new_name
If you really want to change the lvol name (eg: /dev/vg01/lvol1), which normally does not do much good, then you need to recreate the LV
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 04:51 AM
12-17-2003 04:51 AM
Re: change lvol name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 04:51 AM
12-17-2003 04:51 AM
Re: change lvol name
I haven't tried this, but I think it will work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 04:56 AM
12-17-2003 04:56 AM
Re: change lvol name
Im not sure I understand what you are after...
If you want to rename some lvol in a non vg00 group, I would choose a safe vgexport -m vgname.map -v
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 05:21 AM
12-17-2003 05:21 AM
Re: change lvol name
I agree with Clay - to a point.
IF all you want to change is an LV name, then why take the outage when you can just link (NOT symbolic) a new name to the old in the VG directory? Just remember to link the raw device as well.
Now, where I split from Clay is about VG names. Although you can do the same thing, the system will squawk any time you try to do anything with it because the link name won't be in the lvmtab file and because it's a dir, the link would have to be symbolic.
But this being said, I would still recommend that when you have a normal maintenance outage - get the name changed permanently & get rid of the links.
Rgds,
Jeff