- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Externd to mirror disk
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-01-2005 09:24 PM
06-01-2005 09:24 PM
i want to extend vg01 with an secon disk to mirror all lvol´s from vg01 to the mirror disk.
Please look at the attached file.
Perhaps the mirror disk should be: 0/2/1/0.8.0
Is it possible to use sam ?
Thanks
Ra
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2005 10:00 PM
06-01-2005 10:00 PM
Re: Externd to mirror disk
u may like to refer to this doc:
http://www2.itrc.hp.com/service/cki/docDisplay.do?hpweb_printable=true&docLocale=en_US&docId=200000072951433
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2005 10:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2005 10:41 PM
06-01-2005 10:41 PM
Re: Externd to mirror disk
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2005 07:33 PM
06-02-2005 07:33 PM
Re: Externd to mirror disk
Follow steps below. SAM can be used for this but do not provide some special features like keeping all PE's on second disk itself. Meaning that if your first disk has some free extents then your existing lvols will be mirroed in those PE's and once all those are utilized, the second disk will be used for mirroring causing two copies of one LE's on same disk and causing problems in case that disk fails. This can be very well controlled by commands.
1 Find the device file for spare disk by
#ioscan -fnC disk
& confirm by
#diskinfo /dev/rdsk/cxtydz
2. Extend you VG to the new disk
#vgextend vg01 /dev/dsk/cxtydz
3. Mirror your lvols to second disk
#lvextend -m 1 /dev/vg01/lvol1 /dev/dsk/cxtydz
Repeat for all lvols in vg01.
Note that your new disk should be of the size of atleast equal or more than the size of all lvols in total.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2005 07:53 PM
06-02-2005 07:53 PM
Re: Externd to mirror disk
Go into sam, disks and filesystems, logical volumes. Highlight the LV you want to check, click actions, more information.
To my relief, it shows that all my mirrored lvols are on two discs. But this does raise an interesting point: software that mirrors an lvol on the same disc is the kind of product I would expect from Microsoft, not HP. Any comment from HP?
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2005 10:23 PM
06-02-2005 10:23 PM
Re: Externd to mirror disk
You just need the device file of the new disk & the device file of the VG.
HTH
#!/usr/bin/sh
echo "Please give me the device file of the data disk in the form
/dev/dsk/cXtYdZ..."
read DISK
RDISK=$(ioscan -fnkC disk |grep $DISK |awk '{print $2}')
pvcreate $RDISK
echo "Please give me the devie file of the volume group in the form
/dev/vgname..."
read VG
vgextend $VG $DISK
echo "How many copies will this be? (1/2)"
read COPIES
for LVOLS in $(vgdisplay -v /dev/vg00 |grep 'LV Name' |awk '{print $3}')
do lvextend -m $COPIES $LVOLS $DISK
done
echo "Your data disk has now been mirrored, please verify...."
exit 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2005 11:59 PM
06-23-2005 11:59 PM
Re: Externd to mirror disk
sam -> discs and filesystems -> logical volumes -> actions -> modify.
Right at the bottom is mirroring policy. Just make sure separate discs is selected.
Mark