- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: mirroring root disks [two]
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
09-18-2001 12:04 PM
09-18-2001 12:04 PM
mirroring root disks [two]
Just wondering about catches when employing mirroring when we have following scenario:
present configuration:
disk C - primary disk with /dev/vg00, external disk in jamacian enclosure
disk D - mirror disk, external disk on Jamaican enclosure
new/required configuration:
disk A - primary disk with /dev/vg00, internal disk
disk B - second disk wherein we want to extend /var, /opt, and /usr filesystem, internal disk , /dev/vg00
disk C - mirror of disk A
disk D - mirror of disk B
the catch is that /var, /opt and /usr would be extended from disk A to disk B. the question is can we have mirroring between A--C and B--D?
Also is it worth relocating /usr, /opt and /var entired on Disk B?
So gurus, guide us.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2001 12:10 PM
09-18-2001 12:10 PM
Re: mirroring root disks [two]
I assume you mean that /var, /opt and /usr would be moved to disk B. This can be done with the pvmove command. What you're trying to do can be done. You'd have to add disk A and B to the VG and then pvmove and lvextend -m 1 away.
As for whether its advisable or not, I'm not sure I see any benefit.
I would move /var/adm/sw and /var/adm/crash to different filesystems and I would also try to split up swap amonst as many disks as possible however.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2001 12:13 PM
09-18-2001 12:13 PM
Re: mirroring root disks [two]
The answer is yes; you can mirror that way. You didn't mention what kind of server you have but as a general rule, I tend to avoid internal disks unless they are hot-swap. It partially defeats the purpose of mirroring if you have to shutdown to replace disks. As for moving your filesystems, I would be tempted to tell you to put them in another volume group. Remember, only /stand, /, and primary swap must be on the boot disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2001 12:23 PM
09-18-2001 12:23 PM
Re: mirroring root disks [two]
Thanks for the information. here's additional information. It's a N class server,9000 series, 4500. Also has MC Service Guard.
I am aware about pvmove command but the question if I extend /var, /opt and /usr on Disk B then would mirroring work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2001 12:27 PM
09-18-2001 12:27 PM
Re: mirroring root disks [two]
Btw, pvmove basically mirrors the extent onto the destination PV and the removes the extent from the source PV...sort of like mirroring and then breaking the mirror.
Just an FYI.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2001 12:32 PM
09-18-2001 12:32 PM
Re: mirroring root disks [two]
what are the sizes of these disks?
Are you doing this change to accomodate for increase in filesystem sizes?
MC-SG won't prevent you from doing this.
But if disk size is tight and you cannot increase the size of the disk in the jamaica drives, then i would suggest moving /var/adm/crash, /opt, /usr/local to disk B. Yes mirroring would still work just fine.
-Regards
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2001 12:33 PM
09-18-2001 12:33 PM
Re: mirroring root disks [two]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2001 12:38 PM
09-18-2001 12:38 PM
Re: mirroring root disks [two]
Looks like things are promising and we would be on track. Looking to replies I feel that we should move /var, /opt and /usr from bootable disk A to disk B and then mirror, making it a clean configuration.
Thanks for all the replies. Still won't mind more information on do's and don'ts.
Regards,
Bimal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2001 12:46 PM
09-18-2001 12:46 PM
Re: mirroring root disks [two]
Do you have any other filesystem in vg00 on the root disk right now. 8GB disks and you are planning to move /usr, /var and /opt, these are the filesystems that need most space anyway
Just curious what else is filling up the space?
-Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2001 08:16 AM
09-20-2001 08:16 AM
Re: mirroring root disks [two]
******* Prepare disk A to be a boot disk *******
pvcreate -B disk A
mkboot /dev/rdsk/diskA
mkboot -a "hpux -lq" /dev/rdsk/diskA
******* Copy data onto disks A & B in an ordered way *******
vgextend vg00 onto disks A & B
lvextend -m 2 lvol[1-5] onto disk A (/stand, swap&dump, /, /home, /tmp)
lvextend -m 2 lvol[6-8] onto disk B (/usr, /var & /opt)
lvlnboot -R
******* Take data out of disk C and re-prepare it to be a boot disk *******
lvreduce -m 1 lvol[1-8] from diskC
mkboot /dev/rdsk/diskC
mkboot -a "hpux -lq" /dev/rdsk/diskC
******* Up to this point you'd be keeping one of the mirror copies in diskD *******
lvreduce -m 0 lvol[1-8] from disk D
******* Now, do the final mirroring *******
lvextend -m 1 lvol[1-5] onto diskC
lvextend -m 1 lvol[6-8] onto diskD
lvlnboot -R
******* Remember to change primary and alternate boot paths in N4000 PDC *******
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2001 06:18 AM
09-21-2001 06:18 AM
Re: mirroring root disks [two]
Thanks a lot for help. I would be try the procedure and would post the results [with steps].
Cheers,
bimal