- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- DRD clone and MirrorDisk/UX under HPUX
Operating System - HP-UX
1753740
Members
3679
Online
108799
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО05-12-2011 10:58 PM
тАО05-12-2011 10:58 PM
Hello evry one,
on a Itanium with HP-UX V 3 I have two disks allocated to vg00 and the disks are mirrored, i want to remove the mirrored disk withou altering the operating system and replace it with a drd clone because i have already a physical mirrored disk.
this is my configuration:
#vgdisplay -v vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 10
Open LV 10
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4353
VGDA 4
PE Size (Mbytes) 32
Total PE 8690
Alloc PE 7806
Free PE 884
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0
VG Max Size 2228736m
VG Max Extents 69648
--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 1792
Current LE 56
Allocated PE 112
Used PV 2
LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 8192
Current LE 256
Allocated PE 512
Used PV 1
LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 1024
Current LE 32
Allocated PE 64
Used PV 2
LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 128
Allocated PE 256
Used PV 2
LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 128
Current LE 4
Allocated PE 8
Used PV 2
LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 10336
Current LE 323
Allocated PE 646
Used PV 2
LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 5632
Current LE 176
Allocated PE 352
Used PV 2
LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 8704
Current LE 272
Allocated PE 544
Used PV 2
LV Name /dev/vg00/lvswap
LV Status available/syncd
LV Size (Mbytes) 16384
Current LE 512
Allocated PE 512
Used PV 1
LV Name /dev/vg00/lvbackup
LV Status available/syncd
LV Size (Mbytes) 153600
Current LE 4800
Allocated PE 4800
Used PV 2
--- Physical volumes ---
PV Name /dev/disk/disk2_p2
PV Status available
Total PE 4343
Free PE 0
Autoswitch On
Proactive Polling On
PV Name /dev/dsk/c2t0d0s2
PV Status available
Total PE 4347
Free PE 884
Autoswitch On
Proactive Polling On
#lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/disk/disk2_p2 -- Boot Disk
/dev/dsk/c2t0d0s2 -- Boot Disk
Boot: lvol1 on: /dev/disk/disk2_p2
/dev/dsk/c2t0d0s2
Root: lvol3 on: /dev/disk/disk2_p2
/dev/dsk/c2t0d0s2
Swap: lvol2 on: /dev/disk/disk2_p2
Dump: lvol2 on: /dev/disk/disk2_p2, 0
#setboot
Primary bootpath : 0/4/1/0.0xbb443e5fb4b1c55.0x0 (/dev/rdisk/disk2)
HA Alternate bootpath : 0/4/1/0.0x5000c5001cb2629d.0x0 (/dev/rdisk/disk3)
Alternate bootpath : 0/4/2/0 (LAN Interface)
Autoboot is ON (enabled)
Hyperthreading : ON
: ON (next boot)
on a Itanium with HP-UX V 3 I have two disks allocated to vg00 and the disks are mirrored, i want to remove the mirrored disk withou altering the operating system and replace it with a drd clone because i have already a physical mirrored disk.
this is my configuration:
#vgdisplay -v vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 10
Open LV 10
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4353
VGDA 4
PE Size (Mbytes) 32
Total PE 8690
Alloc PE 7806
Free PE 884
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0
VG Max Size 2228736m
VG Max Extents 69648
--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 1792
Current LE 56
Allocated PE 112
Used PV 2
LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 8192
Current LE 256
Allocated PE 512
Used PV 1
LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 1024
Current LE 32
Allocated PE 64
Used PV 2
LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 128
Allocated PE 256
Used PV 2
LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 128
Current LE 4
Allocated PE 8
Used PV 2
LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 10336
Current LE 323
Allocated PE 646
Used PV 2
LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 5632
Current LE 176
Allocated PE 352
Used PV 2
LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 8704
Current LE 272
Allocated PE 544
Used PV 2
LV Name /dev/vg00/lvswap
LV Status available/syncd
LV Size (Mbytes) 16384
Current LE 512
Allocated PE 512
Used PV 1
LV Name /dev/vg00/lvbackup
LV Status available/syncd
LV Size (Mbytes) 153600
Current LE 4800
Allocated PE 4800
Used PV 2
--- Physical volumes ---
PV Name /dev/disk/disk2_p2
PV Status available
Total PE 4343
Free PE 0
Autoswitch On
Proactive Polling On
PV Name /dev/dsk/c2t0d0s2
PV Status available
Total PE 4347
Free PE 884
Autoswitch On
Proactive Polling On
#lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/disk/disk2_p2 -- Boot Disk
/dev/dsk/c2t0d0s2 -- Boot Disk
Boot: lvol1 on: /dev/disk/disk2_p2
/dev/dsk/c2t0d0s2
Root: lvol3 on: /dev/disk/disk2_p2
/dev/dsk/c2t0d0s2
Swap: lvol2 on: /dev/disk/disk2_p2
Dump: lvol2 on: /dev/disk/disk2_p2, 0
#setboot
Primary bootpath : 0/4/1/0.0xbb443e5fb4b1c55.0x0 (/dev/rdisk/disk2)
HA Alternate bootpath : 0/4/1/0.0x5000c5001cb2629d.0x0 (/dev/rdisk/disk3)
Alternate bootpath : 0/4/2/0 (LAN Interface)
Autoboot is ON (enabled)
Hyperthreading : ON
: ON (next boot)
Solved! Go to Solution.
- Tags:
- DRD
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2011 02:11 AM
тАО05-13-2011 02:11 AM
Re: DRD clone and MirrorDisk/UX under HPUX
You can reduce the mirror with "lvreduce -m 0 ..." and then you can use this procedure:
http://www.hpuxtips.es/?q=node/146
I hope it's what you want.
Regards
http://www.hpuxtips.es/?q=node/146
I hope it's what you want.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2011 04:15 PM
тАО05-18-2011 04:15 PM
Solution
1. reduce the mirrored Lvs:
# for i in lvol1 lvol2 lvol3 lvol4 lvol5 lvol6 lvol7 lvol8
> do lvreduce -m 0 /dev/vg00/$i /dev/dsk/c2t0d0s2
> done
2. reduce vg:
vgreduce /dev/vg00 /dev/dsk/c2t0d0s2
3.lvlnboot -R
Edit the /stand/boot.conf and remove the entries for the disk /dev/dsk/c2t0d0s2
Procedure for DRD cloning.
==========================
Ensure DRD software is installed.
1.- Clone the root disk.
root@sheldon:/ # drd clone -x overwrite=true -v -t /dev/dsk/c2t0d0s2
2.- Mount the image.
root@sheldon:/ # drd mount
3.Check the mount by displaying the drd00 volume group.
root@sheldon:/ # vgdisplay drd00
# for i in lvol1 lvol2 lvol3 lvol4 lvol5 lvol6 lvol7 lvol8
> do lvreduce -m 0 /dev/vg00/$i /dev/dsk/c2t0d0s2
> done
2. reduce vg:
vgreduce /dev/vg00 /dev/dsk/c2t0d0s2
3.lvlnboot -R
Edit the /stand/boot.conf and remove the entries for the disk /dev/dsk/c2t0d0s2
Procedure for DRD cloning.
==========================
Ensure DRD software is installed.
1.- Clone the root disk.
root@sheldon:/ # drd clone -x overwrite=true -v -t /dev/dsk/c2t0d0s2
2.- Mount the image.
root@sheldon:/ # drd mount
3.Check the mount by displaying the drd00 volume group.
root@sheldon:/ # vgdisplay drd00
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP