- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Unmirror the disk in hp-ux 11i
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
Discussions
Discussions
Forums
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
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 08:08 AM
тАО12-22-2003 08:08 AM
Unmirror the disk in hp-ux 11i
I am not quite sure what the steps are to unmirror it and later I have to create another volume.
Your help is appreciated.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2003 08:09 AM
тАО12-22-2003 08:09 AM
Re: Unmirror the disk in hp-ux 11i
lvsplit /dev/vg01/lvol16
Thats it.
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 08:11 AM
тАО12-22-2003 08:11 AM
Re: Unmirror the disk in hp-ux 11i
# lvreduce -m 0 /dev/vgXX/lvol_name /dev/dsk/disk_device_file
Specify the disk you want to be free.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2003 08:26 AM
тАО12-22-2003 08:26 AM
Re: Unmirror the disk in hp-ux 11i
If you need to split the mirror for e.g. backup i would go for the lvsplit. If you need the second disk for other purpuses i would go for lvreduce. In the second option you need to get the disk out of all the lvols before you can free it with vgreduce /dev/vgname /dev/dsk/c?t?d?
Hope this helps,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2003 10:12 PM
тАО12-22-2003 10:12 PM
Re: Unmirror the disk in hp-ux 11i
the best way is
#lvreduce -m 0 /dev/vgxx/lvolyy
volume group name and lvol name depend on your system.
Regards
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2003 01:42 AM
тАО12-23-2003 01:42 AM
Re: Unmirror the disk in hp-ux 11i
Is it possible that I can split my 2nd disk in such way that one logical volume will use as a back up and bring up system when 1st disk crashes and other logical volume can be used to create other file sytems etc.
if that is true then please help me with chain of commands.
Also I would like to undestand - how to get the disk out of all the lvols before free it with vgreduce.
I thought vgreduce /dev/vgname /dev/dsk/c?t?d takes out disk from all the vols.
Please help me clear my confusion.
Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2003 01:49 AM
тАО12-23-2003 01:49 AM
Re: Unmirror the disk in hp-ux 11i
Now, to answer your second question -- You must first reduce *ALL* LVOLs off of this disk.
# lvreduce -m 0 /dev/vg??/lvol? /dev/dsk/c?t?d?
You must do the above command for *ALL* LVOLs on that disk.
Only then will you be able to vgreduce the disk out of the VG.
# vgreduce /dev/vg?? /dev/dsk/c?t?d?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2003 03:33 AM
тАО12-23-2003 03:33 AM
Re: Unmirror the disk in hp-ux 11i
ANother question is -How do find out if I already lvreduce some vols and do not remember which ones.
Any kind of list commnad for that?
Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2003 04:08 AM
тАО12-23-2003 04:08 AM
Re: Unmirror the disk in hp-ux 11i
volumes. so that vgreduce can be proceeded.
Also how to check if unmirroring went OK after doing lvreduce and vgreducce by some command and not by briniging up the system by mirrored disk.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2003 04:18 AM
тАО12-23-2003 04:18 AM
Re: Unmirror the disk in hp-ux 11i
# pvdisplay -v /dev/dsk/c?t?d?