- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mirroring disks.
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
06-06-2008 06:07 AM
06-06-2008 06:07 AM
Mirroring disks.
Here I go. I have a local disk (c2t2d0), that I need to mirror to a san disk c14t0d0). Here is the pvdisplay from both:
# pvdisplay -v /dev/dsk/c2t2d0 | more
--- Physical volumes ---
PV Name /dev/dsk/c2t2d0
VG Name /dev/vg01
PV Status available
Allocatable yes
VGDA 2
Cur LV 5
PE Size (Mbytes) 4
Total PE 4340
Free PE 15
Allocated PE 4325
Stale PE 0
IO Timeout (Seconds) default
Autoswitch On
Proactive Polling On
AND
pvdisplay -v /dev/dsk/c14t0d0 | more
--- Physical volumes ---
PV Name /dev/dsk/c14t0d0
VG Name /dev/vg01
PV Status available
Allocatable yes
VGDA 2
Cur LV 0
PE Size (Mbytes) 4
Total PE 4342
Free PE 4342
Allocated PE 0
Stale PE 0
IO Timeout (Seconds) default
Autoswitch On
Proactive Polling On
when attempting to mirror c2t2d0 to c14t0d0. It errors out with:
# lvextend -m 1 /dev/vg01/lvol1 /dev/dsk/c14t0d0
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
lvextend: Couldn't re-synchronize stale partitions of the logical volume:
Device offline/Powerfailed
lvextend: Couldn't resynchronize logical volume "/dev/vg01/lvol1".
But I KNOW this is a good disk, and it has power. the lvol I am mirroring goes to a available/Stale state until I run a lvreduce and break the mirror. Thoughs? Any help would be appreciated. I do not know what else to check.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2008 06:09 AM
06-06-2008 06:09 AM
Re: Mirroring disks.
diskinfo /dev/rdsk/c14t0d0
SCSI describe of /dev/rdsk/c14t0d0:
vendor: HP
product id: A6189A
type: direct access
size: 51200 Kbytes
bytes per sector: 512
Look at the size of the disk compared to the pvdisplay above. Make any sense to anyone?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2008 06:11 AM
06-06-2008 06:11 AM
Re: Mirroring disks.
# vgdisplay -v /dev/vg01
--- Volume groups ---
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 5
Open LV 5
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4342
VGDA 4
PE Size (Mbytes) 4
Total PE 8682
Alloc PE 4325
Free PE 4357
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg01/lvol1
LV Status available/syncd
LV Size (Mbytes) 4000
Current LE 1000
Allocated PE 1000
Used PV 1
LV Name /dev/vg01/lvol2
LV Status available/syncd
LV Size (Mbytes) 9800
Current LE 2450
Allocated PE 2450
Used PV 1
LV Name /dev/vg01/lvol3
LV Status available/syncd
LV Size (Mbytes) 2000
Current LE 500
Allocated PE 500
Used PV 1
LV Name /dev/vg01/lvol4
LV Status available/syncd
LV Size (Mbytes) 500
Current LE 125
Allocated PE 125
Used PV 1
LV Name /dev/vg01/lvol5
LV Status available/syncd
LV Size (Mbytes) 1000
Current LE 250
Allocated PE 250
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c2t2d0
PV Status available
Total PE 4340
Free PE 15
Autoswitch On
Proactive Polling On
PV Name /dev/dsk/c14t0d0
PV Status available
Total PE 4342
Free PE 4342
Autoswitch On
Proactive Polling On
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2008 06:36 AM
06-06-2008 06:36 AM
Re: Mirroring disks.
Could you run an ioscan ( ioscan -fnCdisk ) and check the status of both the disks involved?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2008 06:53 AM
06-06-2008 06:53 AM
Re: Mirroring disks.
disk 1 0/0/2/0.2.0 sdisk CLAIMED DEVICE FUJITSU MAJ3182MC
/dev/dsk/c2t2d0 /dev/rdsk/c2t2d0
AND
disk 143 0/3/0/0.1.28.39.0.0.0 sdisk CLAIMED DEVICE HP A6189A
/dev/dsk/c14t0d0 /dev/rdsk/c14t0d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2008 06:59 AM
06-06-2008 06:59 AM
Re: Mirroring disks.
# dd if=/dev/dsk/c14t0d0 of=/dev/null bs=1024
51200+0 records in
51200+0 records out
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2008 07:09 AM
06-06-2008 07:09 AM
Re: Mirroring disks.
Also do
# lvdisplay -v /dev/vg01/lvol*|grep stale
You may also check syslog for related entries and the status of the VA7400
# armdsp -a
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
06-06-2008 07:44 AM
06-06-2008 07:44 AM
Re: Mirroring disks.
I already have all of that. Everything looks good. dd is the same for local disk. NONE of my lvols are stale. They are all available/Synched. ARMDSP shows optimal.
I FOUND THE ISSUE. I am a moron. It is the 50meg lun used as a gatekeeper for the san. I am stupid. Sorry to bother everyone.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2008 07:46 AM
06-06-2008 07:46 AM