- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: stale mirror
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
01-10-2007 03:01 AM
01-10-2007 03:01 AM
stale mirror
I am removing the diskb, that will cause for a stale mirror error.
Now that I am presenting the same disk back thro' a different device id.
I did a vgscan, which will bring the new disk under the same vg.
Now that I wanted to start the mirror back.
Can someone explain the proceudre.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2007 03:05 AM
01-10-2007 03:05 AM
Re: stale mirror
IE: lvextend -m 1 /dev/vgxx/lvolx /fullpath/diska /newpath/diskb
Do the above for each logical volume that you want to mirror.
To verify, type lvdisplay -v /dev/vgxx/lvolx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2007 03:13 AM
01-10-2007 03:13 AM
Re: stale mirror
a very useful manual which you will find mentioned again and again.
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
Covers most topics.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2007 07:49 AM
01-10-2007 07:49 AM
Re: stale mirror
The luns are presented from two different storages (EVA5000). The luns are mirrored from the host using LVM.
There was a devicepath change for the lun presented from the second storage. The earliner device path for the physical disk was /dev/dsk/c39t0d0 and the new device path is /dev/dsk/c40t0d0.
Now that the lvdisplay shows a stale status for the luns for which the device path has changed.
I tried removing the /etc/lvmtab and performed a vgscan - that brought the new disk into the same VG, obviously its still showing stale.
I also performed a vgcfgrestore to the new device which failed saying as per the /etc/lvmconf/vg.conf, the new disk doesnt belong to this vg.
I was trying to execute the below action, but the first and second step failed as the old device path is not available
lvreduce -m 0 /dev/vg01/d01 /dev/dsk/c39t0d0
vgreduce /dev/vg01 /dev/dsk/c39t0d0
Please can you explain the proceudre to remove the mirrored copy when the
old disk is not available or if its available thro' a new path.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2007 08:11 AM
01-10-2007 08:11 AM
Re: stale mirror
So long as the logical volume is not in a volume group mounted in shared mode, lvreduce will work.
lvsplit would too.
BTW, the EVA is much better at mirroring than the OS. Its better to use the disk storage unit and take this i/o and cpu expendiature off the system.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com