- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Use SAM for mirrorring ?
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
тАО06-01-2004 01:05 AM
тАО06-01-2004 01:05 AM
We have HP MirrorDisk/UX software. Can I use SAM to create the mirror copy on the other 18GB disc ? If so, could you please explain the steps ? Or do I have to using the HP UX commands itself ? Then ,could you give me those commands in order please.
Also does it matter , if after doing the steps that you suggest, I create other logical volumes in the same volume group ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2004 01:07 AM
тАО06-01-2004 01:07 AM
Re: Use SAM for mirrorring ?
The command however is pretty simple:
lvextend -m 1 /dev/vg00/lvol## /dev/dsk/c1t2d0
the /dev/dsk entry for the second disk.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2004 01:10 AM
тАО06-01-2004 01:10 AM
Re: Use SAM for mirrorring ?
The command however is pretty simple:
lvextend -m 1 /dev/vg00/lvol## /dev/dsk/c1t2d0
the /dev/dsk entry for the second disk.
ADD in: You must first extend volume group vg00 to include the second disk, if this has not been done already.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2004 01:12 AM
тАО06-01-2004 01:12 AM
Re: Use SAM for mirrorring ?
do this :
1. pvcreate -f /dev/rdsk/cXtXdX ( to delete
all info in the new disk )
2. vgextend vg00 /dev/dsk/cXtXdX (add the
disk to the vg00 )
3. lvextend -m 1 /dev/vg00/lvolX ( this
will do the mirror )
try less to use SAM for lvm issue , it is much easier to do in on command line
eran maor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2004 06:18 PM
тАО06-01-2004 06:18 PM
Re: Use SAM for mirrorring ?
Since this is a boot disk use pvcreate -B
to make the mirrored disk bootable
pvcreate -B /dev/rdsk/cXtYdZ
where cXtYdZ is the device file of the secondary disk
2/ vgextend /dev/vg00 /dev/dsk/cXtYdZ
3/ mkboot /dev/rdsk/cXtYdZ
mkboot -a "hpux" /dev/rdsk/cXtYdZ
4/pvdisplay -v /dev/dsk/cxtydz
where cxtydz is the disk to be mirrored
(To check the order of the LVs on the original disk )
Run the command in the same order in which the vols appear in the primary disk. lvol2 is normally not mirrored as this is used as swap
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/cXtYdZ
lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/cXtYdZ
lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/cXtYdZ
.
.
.
pvdisplay -v /dev/dsk/cXtYdZ
(To make sure they are in proper order on the new disk)
lvlnboot -r /dev/vg00/lvol3 /dev/vg00
lvlnboot -b /dev/vg00/lvol1 /dev/vg00
lvlnboot -s /dev/vg00/lvol2 /dev/vg00
lvlnboot -d /dev/vg00/lvol2 /dev/vg00
lvlnboot -v ( check output again)
The o/p should be like the following
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/cxtydz
/dev/dsk/cXtYdZ
Boot: lvol1 on: /dev/dsk/cxtydz
/dev/dsk/cXtYdZ
Root: lvol3 on: /dev/dsk/cxtydz
/dev/dsk/cXtYdZ
Swap: lvol2 on: /dev/dsk/cxtydz
Dump: lvol2 on: /dev/dsk/cxtydz, 0
You can create other lvs in the vg00 after mirroring so long space is available in the vg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2004 06:30 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2004 09:45 PM
тАО06-01-2004 09:45 PM