- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: root disk partitioning 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
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
тАО04-04-2011 11:28 PM
тАО04-04-2011 11:28 PM
Re: root disk partitioning for mirroring
I believe it is better to mirror partition 1 and 3. What's your opnion?
How to mirror part 1 & 3? is it possible through lvm mirror.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2011 12:23 AM
тАО04-05-2011 12:23 AM
Re: root disk partitioning for mirroring
No, these are not under LVM control. To mirror these partitions, you can use dd like this:
# dd if=/dev/dsk/c0t0d0s1 of=/dev/dsk/c1t0d0s1
# dd if=/dev/dsk/c0t0d0s3 of=/dev/dsk/c1t0d0s3
This will create a verbatim copy of these partitions to your second disk.
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2011 01:09 AM
тАО04-05-2011 01:09 AM
Re: root disk partitioning for mirroring
No need to copy the EFI partion to mirror disk. You copy only the contents of the HPSP partition; that also if the diagnostics have been installed to the original system disk. To see if the diagnostics are installed on the original boot disk; use
# /usr/sbin/efi_ls -d /dev/rdsk/c0t0d0s3
If present, copy them with the Viktor Balogh's command.
Note: dd command may fail to copy the HPSP partition if the sizes of both primary HPSP and alternate HPSP partitions are not the same. If dd command fails with I/O error, then the alternate way is to copy them to HPSP partition from Offline Diagnostics and Utilities CD-ROM.
Rgds...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2011 01:33 AM
тАО04-05-2011 01:33 AM
Re: root disk partitioning for mirroring
EFI:
#/usr/sbin/diskinfo -b /dev/rdsk/c0t0d0s1 | awk '{print $1 / (1024)}'
HPUX:
#usr/sbin/diskinfo -b /dev/rdsk/c0t0d0s2 | awk '{print $1 / (1024)}'
HPSP:
#usr/sbin/diskinfo -b /dev/rdsk/c0t0d0s3 | awk '{print $1 / (1024)}'
Each will give you the value in MB
Rgds...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2011 04:24 AM
тАО04-05-2011 04:24 AM
Re: root disk partitioning for mirroring
But there is not really a need to do this.
If the mirroring procedure is correctly done, both disks are bootable.
Just make sure the second disk is listed in
/stand/bootconf
because if a patch is updating the OS loader it will update both disks then.
Don't worry about partition 3 - if you ever need a **current** tool, you need the current CD anyway.
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!
- « Previous
-
- 1
- 2
- Next »