- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem to mirror a boot disk with LVM with HP-UX ...
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-12-2004 09:41 PM
09-12-2004 09:41 PM
I'm try to mirror the boot disk with LVM.
I use the excellent documentation provide by Bernhard Mueller in another thread.
But the boot disk has three partitions instead two in the doc. I give in attached file the description of my partition table. My question is how to recreate the third partition with the same size of the original one.
Thanks in advance.
Francois.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2004 09:58 PM
09-12-2004 09:58 PM
Solutionfor the (now typical) three partition layout of itanium boot disks use a partitionfile that looks like:
-----------------
3
EFI 500MB
HPUX 100%
HPSP 400MB
-----------------
then use:
idisk -wf
use diskinfo on the slices s1 and s3 device files of your current boot disk to find out the size; I *think* the about is what HP uses in default installs.
Regards
Bernhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2004 10:12 PM
09-12-2004 10:12 PM
Re: Problem to mirror a boot disk with LVM with HP-UX 11iv2 (IPF)
I had exactly the same idea. But the result is not exactly the same compare with original boot disk. There is a difference of 10 PE between the two layout disk.
I'am trying to give the size in MB for the HPUX partition.
Regards, Francois.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2004 10:26 PM
09-12-2004 10:26 PM
Re: Problem to mirror a boot disk with LVM with HP-UX 11iv2 (IPF)
3
EFI 500MB
HPUX 33824MB
HPSP 400MB
and now I reduced to one PE the difference between the two disk layout :
--- Physical volumes ---
PV Name /dev/dsk/c2t1d0s2
PV Status available
Total PE 4228
Free PE 257
Autoswitch On
PV Name /dev/dsk/c2t0d0s2
PV Status available
Total PE 4227
Free PE 4227
Autoswitch On
Is somebody knows a command to create the partition file from the original boot disk ?
Regards, Françoi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2004 11:11 PM
09-12-2004 11:11 PM
Re: Problem to mirror a boot disk with LVM with HP-UX 11iv2 (IPF)
could you tells us what ioscan -fnkCdisk says.
and also what sizes diskinfo tells you about
/dev/rdsk/c2t1d0
/dev/rdsk/c2t1d0s1
/dev/rdsk/c2t1d0s2
/dev/rdsk/c2t1d0s3
and similar for c2t0###
Regards,
Bernha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2004 12:08 AM
09-13-2004 12:08 AM
Re: Problem to mirror a boot disk with LVM with HP-UX 11iv2 (IPF)
bye the way: as an additional step for mirroring a boot disk with a service partition (s3) you should copy this partition to the mirror disk as well using dd, i.e.
dd if=/dev/rdsk/c2t1d0s3 of=/dev/rdsk/c2t0d0s3 bs=1024k
Regards,
Bernhar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2004 02:23 AM
09-13-2004 02:23 AM
Re: Problem to mirror a boot disk with LVM with HP-UX 11iv2 (IPF)
I succeeded the creation of the layout disk of the mirrored disk in term of sizes but not in good order. Here is the partition file I used :
3
EFI 500MB
HPSP 400MB
HPUX 100%
In this case, I use the partition s3 instead s2 with the mirrored disk. I'm not totaly satisfied with this solution.
I join in the attached file the informations you asked me.
Regards, Francois.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2004 02:27 AM
09-13-2004 02:27 AM
Re: Problem to mirror a boot disk with LVM with HP-UX 11iv2 (IPF)
# efi_ls -d /dev/rdsk/c2t1d0s3
FileName Last Modified Size
total space 418598912 bytes, free space 418578432 bytes
#
Regards, Francois.