- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Bad disk in lvmtab
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
тАО04-27-2006 07:24 AM
тАО04-27-2006 07:24 AM
tell me which option is good.
A.
once the disk is replaced..
go to hpux -lm
vgcfgrestore -n /dev/vg00 /dev/rdsk/c6t0d0
vgchange -a y vg00
shutdown -r -y 0
once in multiuser mode
vgextend and continue to mirror
B.
Before replacing the disk..
take to hpux -lm mode
vgexport -m
mkdir, mknod and vgimport <> good disk
Then shutdown and replace the disk and take to multiuser mode and mirror.
Question:
1.which option is better A or B?
2.Also can i have apps/DB's up while i do the mirror. The client is looking at minimum downtime and questions "If sun can do the mirror while apps are UP why not HP"?
This machine runs 11.11
Thanks in advance
Joe
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2006 07:31 AM
тАО04-27-2006 07:31 AM
Re: Bad disk in lvmtab
I suggest that you review the various scenarios here:
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
Yes, you can recreate mirrors while users are using your applications. They may experience some performance degradation, but there is no problem doing this, otherwise.
Since you mention vg00 replacement and then speak of applications and databases, I have to point out that I hope your vg00 is a pristine implementation of only the operating system and not a mixture of operating system logical volumes *and* applications/database. If it is, you make upgrades and potential recovery much more difficult.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2006 05:41 PM
тАО04-27-2006 05:41 PM
Re: Bad disk in lvmtab
Stick to the proposed pdf and You'll be fine; ask us when any questions come up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2006 06:16 PM
тАО04-27-2006 06:16 PM
Re: Bad disk in lvmtab
You can do it online .
If the disk it hotswap , let the CE to swap it online.
Then you can floow this steps:
1. Check in ioscan if it shows CLAIMED.
# ioscan -fnC disk
2. ok , proceed to remirror the disk.
# vgdisplay -v /dev/vg00
(If the 2nd disk shows as unavailable)
move lvmtab and pvcreate it .
# mv /etc/lvmtab /etc/lvmtab.ok
# pvcreate -B /dev/rdsk/c?t?d?
move the lvmtab back
# mv /etc/lvmtab.ok /etc/lvmtab
3. # vgcfgrestore -n /dev/vg00 /dev/rdsk/c?t?d?
4. # vgchange -a y /dev/vg00
5. # mkboot /dev/rdsk/c?t?d?
# mkboot -a "hpux -lq" /dev/rdsk/c?t?d?
6. vgsync vg00
Resyncronizing ....
wait till it completes.
7. Check with :
# lvlnboot -v and pvdisplay , vgdisplay.
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2006 06:19 PM
тАО04-27-2006 06:19 PM
Re: Bad disk in lvmtab
Also check out the document : RootDiskMirrir.pdf .
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2006 05:51 AM
тАО04-28-2006 05:51 AM
Re: Bad disk in lvmtab
Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2006 06:10 AM
тАО04-28-2006 06:10 AM
SolutionYes, Everything can be done on online , in this case ...
# ioscan -fnC disk
# pvcreate -fB /dev/rdsk/cxtxd0
# mkboot -l /dev/rdsk/cxtxd0
# mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/cxtxd0
# lifcp /dev/rdsk/cxtxd0:AUTO -
# vgextend /dev/vg00 /dev/dsk/cxtxd0
bdf
for i in 1 2 3 4 5 6 7 8 ;do
lvextend -m 1 /dev/vg00/lvol$i /dev/dsk/cxtxd0
done
#lvlnboot ├в R
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2006 06:58 AM
тАО04-28-2006 06:58 AM
Re: Bad disk in lvmtab
Just in case this is an old K-Class and you talk about internal disks, which are not hot-swappable.
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!