- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mirror a common Disk
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
тАО07-16-2007 12:30 AM
тАО07-16-2007 12:30 AM
In the third disk there is the application and I've attempted to set up mirror on the fourth disk, but when I taked off the third disk to test the mirror, I couldn't mount the logical volumes of the application. Follow the commands that I've executed:
1 - pvcreate -f /dev/rdsk/cXtYdZ (fourth disk)
2 - vgextend /dev/vg01 /dev/dsk/cXtYdZ
3 - for lv in 10 11 12
>do
>lvextend -m 1 /dev/vg01/lvol$lv /dev/dsk/cXtYdZ
>done
4 - vgcfgbackup /dev/vg01
All commands were completed successfully.
Please Help me!!!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2007 12:34 AM
тАО07-16-2007 12:34 AM
Re: Mirror a common Disk
If you want to have multiple mirror then go for Vxvm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2007 12:35 AM
тАО07-16-2007 12:35 AM
Re: Mirror a common Disk
You don't mirror a disk.
You mirror a logical volume.
example
lvol2 (part of vg01)
lvextend -m 1 /dev/vg02/lvol2 /dev/dsk/c1t2d1
Now its mirrored.
You don't have to umount, you don't have to remount. You don't change /etc/fstab. You are done.
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
тАО07-16-2007 12:35 AM
тАО07-16-2007 12:35 AM
Re: Mirror a common Disk
Did you use the quorum mode?
You have to do this, because your VG01 has <=50% off all disks.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2007 12:36 AM
тАО07-16-2007 12:36 AM
SolutionIt may so have happened that since you have only 2 disks in the vg01 out of which after you removed one disk, the quorum was not met for the vg01 and hence it was deactivated - if so you can activate it using vgchange -q n /dev/vg01
and then try mounting the volumes after doing a fsck first.
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2007 01:00 AM
тАО07-16-2007 01:00 AM
Re: Mirror a common Disk
I think that your solution can solve my problem....I will try to use this command and then I will post the solution and give your points...
Thank you!!!!
Gustavo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2007 01:06 AM
тАО07-16-2007 01:06 AM
Re: Mirror a common Disk
But if you shutdown your system, remove the disk and boot, the vg will not be activated without the quorum override setting.
You can force this by booting
ISL> hpux -lq
or use the vgchange command later as mentioned above.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2007 02:12 PM
тАО07-16-2007 02:12 PM
Re: Mirror a common Disk
Hopefully you have found your issue with help of the previous responses. If not take a look at this document. It is a great reference guide! Every once in a while I will screw something up and I take a quick look at this to help me figure out what I did or didn't do.
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2007 07:59 AM
тАО07-22-2007 07:59 AM
Re: Mirror a common Disk
Your solution solved my problem...
But I still have a question..
I have two disk in Mirror and suppose that the Main Disk has failed and I start using the mirror disk...My question is..when I replace the Bad Disk for a Good Disk what I need to do to synchronize the disks??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2007 06:29 PM
тАО07-22-2007 06:29 PM
Re: Mirror a common Disk
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!