- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: mirroring the volume group
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
тАО02-12-2011 10:49 PM
тАО02-12-2011 10:49 PM
Can any one tell me the steps.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-12-2011 10:54 PM
тАО02-12-2011 10:54 PM
Re: mirroring the volume group
AFAIK lvols are mirrored no the VGs
secondly whats the machine model PA /IA ?
is this the root vg ?,send vgdisplay -v /dev/vgname output
uname -a , model , post the output so that
people can help.
Thanks
Manix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-12-2011 11:43 PM
тАО02-12-2011 11:43 PM
Re: mirroring the volume group
The below is my output:
# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 1064960 291648 767280 28% /
/dev/vg00/lvol1 1835008 127328 1694448 7% /stand
/dev/vg00/lvol8 15728640 13592392 2120144 87% /var
/dev/vg00/lvol7 8159232 3132304 4987664 39% /usr
/dev/vg00/lvol4 10485760 2920488 7506280 28% /tmp
/dev/vg00/lvol6 9633792 6422384 3186416 67% /opt
/dev/vg00/lvol5 3145728 906808 2221464 29% /home
/dev/dbvg/lvoldata 13107200 6308090 6374172 50% /var/opt/eloquence/8.1/data
/dev/dbvg/lvollog 6815744 4210411 2442507 63% /var/opt/eloquence/8.1/log
/dev/vg00/lvolfwlog
4194304 17705 3915567 0% /var/opt/eloquence/8.1/fwlog
# uname -a
HP-UX dmocoi B.11.23 U ia64 2031643528 unlimited-user license
# vgdisplay -v dbvg
--- Volume groups ---
VG Name /dev/dbvg
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 2
Open LV 2
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 17405
VGDA 2
PE Size (Mbytes) 256
Total PE 271
Alloc PE 76
Free PE 195
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/dbvg/lvoldata
LV Status available/syncd
LV Size (Mbytes) 12800
Current LE 50
Allocated PE 50
Used PV 1
LV Name /dev/dbvg/lvollog
LV Status available/syncd
LV Size (Mbytes) 6656
Current LE 26
Allocated PE 26
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c3t3d0
PV Status available
Total PE 271
Free PE 195
Autoswitch On
Proactive Polling On
Now i want to mirror the /dev/dbvg and their respective lvols.
Please let me know the procedure.
Thanks in advance!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2011 12:08 AM
тАО02-13-2011 12:08 AM
Solution>>Now i want to mirror the /dev/dbvg and their respective lvols.
So /dev/dbvg is not a boot VG & you just have one PV there ,so add a new PV ( of same size if possible ) then mirror the lvols.
--- Physical volumes ---
PV Name /dev/dsk/c3t3d0
PV Status available
steps for you:-
1) pvcreate /dev/rdsk/cxtxdx ( new disk)
2) vgextend /dev/dbvg /dev/dsk/cxtxdx
3) lvextend -m 1 /dev/dbvg/lvolname /dev/dsk/cxtxdx
( it will by default extend on new disk if it`s the only other disk)
Hope this helps.
Thanks
Manix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2011 01:10 AM
тАО02-13-2011 01:10 AM
Re: mirroring the volume group
i got a clear view on that :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2011 12:55 PM
тАО02-13-2011 12:55 PM
Re: mirroring the volume group
MIRRORRING IS DONE AT LV LEVEL AND NOT AT VG LEVEL WITH THE LVM DISK PARTITIONING APPROACH USING HPUX.
Just a thought.... However, although the subject of your question was quiet perplexing at first, the command that came into mind included in LVM v2 if I remember right is vgmove. However, that would not be "mirroring" but "migration" . :)
Regards
Ismail Azad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2011 08:55 PM
тАО02-13-2011 08:55 PM
Re: mirroring the volume group
U need to do LV mirror in following way:
Data mirroring is provided by an additionnal purchasable software product called MirrorDisk/UX.
Note: the following example is using the volume group vg01 and the logical volume lvhome
To add a mirror to an existing logical volume:
lvextend -m 1 /dev/vg01/lvhome
This will add 1 mirror (2 copies of the filesystem).
To add 2 mirrors (3 copies of the filesystem) use -m 2 instead.
To create a new logical volume of 200M with 1 mirror:
lvcreate -m 1 -L 200 /dev/vg01
Rgds-Kranti