- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mirrored disk problem
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-20-2005 02:46 AM
тАО04-20-2005 02:46 AM
mirrored disk problem
Primary Boot /dev/dsk/c2t2d0 (0/0/2/0.2) and Mirror Boot /dev/dsk/c1t2d0 (0/0/1/1.2)
"ioscan -fnC disk" output:
c1t2d0 - NO_HW
I have removed this disk and put in (0/0/1/1.0).
Now "ioscan -fnC disk" output:
c1t0d0 - CLAIMED
How can i check disk integrity, if:
dd if=/dev/rdsk/c1t0d0 of=/dev/null bs=1024
don't out any message?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2005 02:52 AM
тАО04-20-2005 02:52 AM
Re: mirrored disk problem
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2005 03:00 AM
тАО04-20-2005 03:00 AM
Re: mirrored disk problem
If still no success then you may have a controller problem (at 0/0/2/0...)
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2005 03:03 AM
тАО04-20-2005 03:03 AM
Re: mirrored disk problem
remove disk:
# lvreduce -m 0 lv_path pv_path
This for all lvs
# vgreduce /dev/vg00 /dev/dsk/c1t2d0
then take out the disk.
mirror to the new disk:
http://www5.itrc.hp.com/service/iv/node.do?admit=552267591+1108810758895+28353475&node=prodITRC/WW_Start/N1|16|11
But you have removed the disk without removeing the disk from the volume group then you will have to remove it by force:
Remove the missing pv:
# vgreduce -f /dev/vg00
PV with key 1 sucessfully deleted from vg /dev/vg00
Move the existing lvmtab:
mv /etc/lvmtab /etc/lvmtab.old
Now create a new lvmtab:
# vgscan -v
Create a new vg01.conf
# vgcfgbackup vg01
and then start the mirroring :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2005 06:03 AM
тАО04-20-2005 06:03 AM
Re: mirrored disk problem
You removed the disk from one path and put it to other PATH. Now as earlier clarified you will have to manually mirror it. Integrity comes later only after mirror, so far it is same as you put it ( With old contents which might not be consistent).
But the simplest thing to do is to put back it in original slot again and see if it get sensed with "ioscan -fnC disk".
Still for checking integrity of the mirrored Logical volumes do -
#lvdisplay -v /dev/vg00/lvol* |grep -i stale|more
( All Extents which are not synced will be displayed)
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2005 03:08 PM
тАО04-20-2005 03:08 PM
Re: mirrored disk problem
Make the area for LIF and boot utilities
# pvcreate -B /dev/rdsk/c1t0d0
Extend the Vg00 (Volume Group)
#vgextend /dev/vg00 /dev/dsk/c1t0d0
Add the boot utilities
#mkboot /dev/dsk/c1t0d0
Add the new hardware path for added hard disk
#mkboot -a "hpux -lq (;0) /stand/vmunix" /dev/dsk/c1t0d0
Execute the mirroring by using lvextend command.
#lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t0d0
#lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c1t0d0
#lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c1t0d0
#lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c1t0d0
#lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/c1t0d0
#lvextend -m 1 /dev/vg00/lvol6 /dev/dsk/c1t0d0
#lvextend -m 1 /dev/vg00/lvol7 /dev/dsk/c1t0d0
#lvextend -m 1 /dev/vg00/lvol8 /dev/dsk/c1t0d0
And other lv is so
Update BDRA of boot disk in root volume group
#lvlnboot -r lvol1 /dev/vg00
#lvlnboot -s lvol2 /dev/vg00
Verify the status and result of mirroring
#lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c2t2d0 (0/0/2/0.2.0) -- Boot Disk
/dev/dsk/c1t0d0 (0/0/1/1.2.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c2t2d0
/dev/dsk/c1t0d0
Root: lvol3 on: /dev/dsk/c2t2d0
/dev/dsk/c1t0d0
Swap: lvol2 on: /dev/dsk/c2t2d0
/dev/dsk/c1t0d0
Dump: lvol2 on: /dev/dsk/c2t2d0, 0
HTH
tienna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2005 09:49 PM
тАО04-20-2005 09:49 PM
Re: mirrored disk problem
Try :
# diskinfo /dev/rdsk/c1t0d0
if this don't shows the good size of the disk you may replace it !!!
Stf ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-20-2005 12:19 AM
тАО05-20-2005 12:19 AM