- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mirrordisk after the fact
Operating System - HP-UX
1753613
Members
5953
Online
108797
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
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
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
04-29-2010 12:44 PM
04-29-2010 12:44 PM
I was finally able to purchase the mirrordisk for my HP11.23 server, I need to set up mirroring on the volume groups but I dont know if I will loose data currently on these vg's.
I need to set up root plus all other mirrors.
How would I do this?
Would I loose existing data already on the mounted disks?
------------------------
/dev/vg00/lvol3 3072000 331648 2718968 11% /
/dev/vg00/lvol1 1776056 58592 1539856 4% /stand
/dev/vg01/lvol3 6963200 2745832 4184776 40% /var
/dev/vg03/lvol4 4096000 1692566 2271767 43% /var/care
/dev/vg00/lvol5 6656000 1760552 4857216 27% /usr
/dev/vg00/lvol4 4096000 312054 3548078 8% /tmp
/dev/vg01/lvol2 6656000 3935256 2699536 59% /opt
/dev/vg03/lvol3 8192000 2952241 4912311 38% /opt/app/oracle
/dev/vgdb4/lvol1 17408000 7803238 9004470 46% /opt/app/oracle/oradata/db4
/dev/vgdb3/lvol1 17408000 4496520 12104517 27% /opt/app/oracle/oradata/acdb/db3
/dev/vgdb2/lvol1 17408000 6073584 10626339 36% /opt/app/oracle/oradata/db2
/dev/vgdb1/lvol1 17408000 3849879 12719374 23% /opt/app/oracle/oradata/db1
/dev/vgbkup/lvol1 53248000 8441301 42006317 17% /opt/app/oracle/backup
/dev/vgdb5/lvol1 3072000 3072000 0 100% /opt/app/oracle/archivelog
/dev/vg03/lvol2 3072000 1276427 1683365 43% /opt/care
/dev/vg01/lvol1 4096000 172632 3892776 4% /home
/dev/vg03/lvol1 1024000 370202 612987 38% /etc/care
---------------------------
--------------------------+ |
0/0/1/1.0.0 1 Unused -- 17366 HP 18.2GMAN3184MC ^ |
0/0/1/1.2.0 1 LVM vg00 17366 HP 18.2GMAN3184MC |
0/0/2/0.0.0 1 Unused -- 17366 HP 18.2GMAP3367NC |
0/0/2/0.2.0 1 LVM vg01 17366 HP 18.2GMAN3184MC |
0/0/2/1.2.0 1 Unused -- 3314 HP DVD-ROM 3 |
0/10/0/0.0.0 1 Unused -- 17366 HP 18.2GMAN3184MC |
0/10/0/0.1.0 1 LVM vg03 17366 HP 18.2GMAN3184MC |
0/10/0/0.15.0 1 -- -- -- HP Surestore Disk |
0/10/0/0.2.0 1 Unused -- 17366 HP 18.2GMAN3184MC |
0/10/0/0.3.0 1 LVM vgdb1 17366 HP 18.2GMAP3367NC v |
I need to set up root plus all other mirrors.
How would I do this?
Would I loose existing data already on the mounted disks?
------------------------
/dev/vg00/lvol3 3072000 331648 2718968 11% /
/dev/vg00/lvol1 1776056 58592 1539856 4% /stand
/dev/vg01/lvol3 6963200 2745832 4184776 40% /var
/dev/vg03/lvol4 4096000 1692566 2271767 43% /var/care
/dev/vg00/lvol5 6656000 1760552 4857216 27% /usr
/dev/vg00/lvol4 4096000 312054 3548078 8% /tmp
/dev/vg01/lvol2 6656000 3935256 2699536 59% /opt
/dev/vg03/lvol3 8192000 2952241 4912311 38% /opt/app/oracle
/dev/vgdb4/lvol1 17408000 7803238 9004470 46% /opt/app/oracle/oradata/db4
/dev/vgdb3/lvol1 17408000 4496520 12104517 27% /opt/app/oracle/oradata/acdb/db3
/dev/vgdb2/lvol1 17408000 6073584 10626339 36% /opt/app/oracle/oradata/db2
/dev/vgdb1/lvol1 17408000 3849879 12719374 23% /opt/app/oracle/oradata/db1
/dev/vgbkup/lvol1 53248000 8441301 42006317 17% /opt/app/oracle/backup
/dev/vgdb5/lvol1 3072000 3072000 0 100% /opt/app/oracle/archivelog
/dev/vg03/lvol2 3072000 1276427 1683365 43% /opt/care
/dev/vg01/lvol1 4096000 172632 3892776 4% /home
/dev/vg03/lvol1 1024000 370202 612987 38% /etc/care
---------------------------
--------------------------+ |
0/0/1/1.0.0 1 Unused -- 17366 HP 18.2GMAN3184MC ^ |
0/0/1/1.2.0 1 LVM vg00 17366 HP 18.2GMAN3184MC |
0/0/2/0.0.0 1 Unused -- 17366 HP 18.2GMAP3367NC |
0/0/2/0.2.0 1 LVM vg01 17366 HP 18.2GMAN3184MC |
0/0/2/1.2.0 1 Unused -- 3314 HP DVD-ROM 3 |
0/10/0/0.0.0 1 Unused -- 17366 HP 18.2GMAN3184MC |
0/10/0/0.1.0 1 LVM vg03 17366 HP 18.2GMAN3184MC |
0/10/0/0.15.0 1 -- -- -- HP Surestore Disk |
0/10/0/0.2.0 1 Unused -- 17366 HP 18.2GMAN3184MC |
0/10/0/0.3.0 1 LVM vgdb1 17366 HP 18.2GMAP3367NC v |
Solved! Go to Solution.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2010 01:15 PM
04-29-2010 01:15 PM
Solution
Hi Ratzie:
You simply need to 'pvcreate' an available physical volume and then 'vgextend' it into the volume group. LVM mirroring works at the *logical volume* level, so you simply 'lvextend -m 1' each logical volume that you want to mirror. There is no downtime and you will *not* lose any data in the filesystems housed in the logical volumes.
You can take a look at the mirror procedures in the document below. For the boot disk, some slight prepartory differences exist for Itanium versus PA-RISC servers. See appendix-D in:
When Good Disks Go Bad: Dealing with Disk Failures under LVM (September 2008)
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf
Regards!
...JRF...
You simply need to 'pvcreate' an available physical volume and then 'vgextend' it into the volume group. LVM mirroring works at the *logical volume* level, so you simply 'lvextend -m 1' each logical volume that you want to mirror. There is no downtime and you will *not* lose any data in the filesystems housed in the logical volumes.
You can take a look at the mirror procedures in the document below. For the boot disk, some slight prepartory differences exist for Itanium versus PA-RISC servers. See appendix-D in:
When Good Disks Go Bad: Dealing with Disk Failures under LVM (September 2008)
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf
Regards!
...JRF...
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