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-22-2003 01:40 AM
12-22-2003 01:40 AM
I have just carried out a lvsplit -s 2212 /dev/vg01/lvol_u06_0512
However, it has named the split copy as lvol_u06_05122212. Is there anyway of renaming this lvol within LVM ??
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 01:44 AM
12-22-2003 01:44 AM
Re: lvsplit
From the man page for lvsplit:
"If the -s option is specified, the new logical volume name has the
form lv_pathsuffix. If -s is not specified, suffix defaults to b, as
in lv_pathb."
So, the name lvol_u06_05122212 is exactly what should have resulted.
I don't believe you can rename the lvol without going through some sort of vgexport/vgimport scenario and massaging the lvol names during the import.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 01:48 AM
12-22-2003 01:48 AM
SolutionYes you can simply do it by renaming BOTH /dev/vg01/lvol_u06_05122212 and /dev/vg01/rlvol_u06_05122212. Just use 'mv' but check first that they are not mounted. This can be done even with vg activated. Renaming a vg is harder because it needs the export/import.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 01:49 AM
12-22-2003 01:49 AM
Re: lvsplit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 01:53 AM
12-22-2003 01:53 AM
Re: lvsplit
Just make sure you get the character device and the blcok device and its corresponding character device.
I usually use the mv command.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 01:56 AM
12-22-2003 01:56 AM
Re: lvsplit
You can merge the lvol again
#lvmerge /dev/vg01/lvol_u06_0512 /dev/vg01/2212
(/usr/sbin/lvmerge [-A autobackup] dest_lv_path src_lv_path )
and redo the lvsplit with the name you want specified.
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 01:59 AM
12-22-2003 01:59 AM
Re: lvsplit
Bruno
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2003 02:03 AM
12-23-2003 02:03 AM
Re: lvsplit
JL