- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Adding a new disk for mirroring
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
07-06-2008 11:27 PM
07-06-2008 11:27 PM
Adding a new disk for mirroring
In my existing setup of 11.23 I have a disk of 300 GB on which a filesystem exists (CRITICAL DATA), I have decided to mirror this to another disk after adding the new disk of same capacity. Are my steps correct after recognising the disk to implement a disk mirror?
1. pvcreate -f /dev/rdsk/NEWDISK
2. vgextend /dev/vg01 /dev/dsk/NEWDISK
3. lvextend -m 1 /dev/vg01/lvol1 /dev/dsk/NEWDISK
Appreciate a quick reply , just wanna be sure to avoid :(.....
Thanks
Vijay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2008 11:33 PM
07-06-2008 11:33 PM
Re: Adding a new disk for mirroring
Leave "-f" away in step 1, this is more safe.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2008 11:34 PM
07-06-2008 11:34 PM
Re: Adding a new disk for mirroring
If you have mirror/ux installed, your procedure will work.
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
07-10-2008 03:56 AM
07-10-2008 03:56 AM
Re: Adding a new disk for mirroring
Your Steps are correct, but if you have more lvol you can use for loop otherwise you have to do lvextend for all lvol
e.g
for i in /dev/vg01/lvol*
do
lvextend -m 1 /dev/vg01/$i /dev/dsk/NEWDISK
done
Regards
Sanjeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2008 05:04 AM
07-10-2008 05:04 AM
Re: Adding a new disk for mirroring
YOur process will work. I tend to not use the -f option unless I have no choice. You don't want to force an operation unless you absolutley have to.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2008 05:48 AM
07-10-2008 05:48 AM
Re: Adding a new disk for mirroring
Your process is OK. You can leave -f because your secondary disk is new. If you use -f no problem only force it to create physical volume.
Thanks
Khairul
Bangladesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2008 05:51 AM
07-10-2008 05:51 AM