- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HPUX 11.31 IA64 - adding mirror disk to vg00 does ...
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
11-15-2010 04:28 AM
11-15-2010 04:28 AM
I've done a DVD based install which has vg00 setup and configured.
I want to add the second disk to vg00 for mirrorview disk mirroring (installed)
I've created an idisk partition file containing
3
EFI 100MB
HPSP 400MB
HPUX 100%
(based on the standards / defaults) - there must be a simple way to generate this file from the existing disk.
I've put this partition table to the second disk with
idisk -wf /tmp/partitionfile /dev/rdsk/c3t0d0
which worked great.
created the new partition device files with
insf -e -C disk
populated the efi and lif data with
mkboot -e -l /dev/rdsk/c3t0d0
verified lif data with
lifls -l /dev/rdsk/c3t0d0s1
which looked ok
added the auto boot info with
mkboot -a "boot vmunix" /dev/dsk/c3t0d0
put the efi boot data to partition 1on with
efi_cp cp -d /dev/rdsk/c3t0d0s1 -u /EFI/HPUX/AUTO
made it a physical volume
pvcreate -f -B /dev/rdsk/c3t0d0s2
added it to vg00
vgextend vg00 /dev/dsk/c3t0d0s2
now here is where it is interesting,
when I tried to mirror lvol1 I got an error of not enough free space.
when I do a vgdisplay -v vg00 I see both disks in vg00
(note the install added the first disk as /dev/disk/disk2_p2 - I've referenced the second disk as /dev/dsk/c3t0d0s2 - but I've also tried it as /dev/disk/disk3_p2 with no difference)
however the ammount of PE free has not gone up (explaining why I can't mirror the logical volume)
if I use vgreduce to remove the second disk, the PE doesn't change (obviously as it wasn't added int he first place)
What's going on ? why is the available PE not going up when I add the second disk to the volume group ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2010 04:42 AM
11-15-2010 04:42 AM
SolutionAs per your statement above you havr followed the following order for the partition file?
EFI 100MB
HPSP 400MB
HPUX 100%
Can you check the diskinfo output for /dev/rdsk/cxtxdxs1 s2 and s3?
For me this looks like a mistake in partitioning and the disk structure should be
as below.
3
EFI 100MB
HPUX 100%
HPSP 400MB
Can you check this and let me know?
Thanks & Regards
Jayakrishnan G Naik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2010 04:47 AM
11-15-2010 04:47 AM
Re: HPUX 11.31 IA64 - adding mirror disk to vg00 does not increase PE
# diskinfo /dev/rdsk/c3t0d0s1
SCSI describe of /dev/rdsk/c3t0d0s1:
vendor: HP
product id: EH0146FARWD
type: direct access
size: 102400 Kbytes
bytes per sector: 512
# diskinfo /dev/rdsk/c3t0d0s2
SCSI describe of /dev/rdsk/c3t0d0s2:
vendor: HP
product id: EH0146FARWD
type: direct access
size: 409568 Kbytes
bytes per sector: 512
# diskinfo /dev/rdsk/c3t0d0s3
SCSI describe of /dev/rdsk/c3t0d0s3:
vendor: HP
product id: EH0146FARWD
type: direct access
size: 142862336 Kbytes
bytes per sector: 512
partition 3 is the big data partition, not 2 as it should be.
I'll recreate this, great spot and thank you very much.
have some points for good eyes and common sense.
Matt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2010 04:51 AM
11-15-2010 04:51 AM
Re: HPUX 11.31 IA64 - adding mirror disk to vg00 does not increase PE
The order is sytem partition, O.S partition and HPSP partition as standard integrity boot disk structures. Don't know if it works jumbled up. And are you sure you executed an lifls on an itanium box??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2010 09:23 PM
11-15-2010 09:23 PM
Re: HPUX 11.31 IA64 - adding mirror disk to vg00 does not increase PE
HPUX 11.31,EFI partision should be 500MB
follow below procedure
cat >> /tmp/idf
3
EFI 500MB
HPUX 100%
HPSP 450MB
EOF<<
Write the EFI information on new disk.
idisk -wf /tmp/idf /dev/rdsk/cxtxdx -->(new disk)
Verify the partition information.
idisk /dev/rdsk/cxtxdx
Create device files for the new disk.
insf -eC disk
make the disk as bootable.
mkboot -e -l /dev/rdsk/cxtxdx
Update the auto file information.
efi_cp -d /dev/rdsk/cxtxdxs1 -u /EFI/HPUX/AUTO /tmp/auto (your primary disk)
efi_cp -d /dev/rdsk/cxtxdxs1 /tmp/auto /EFI/HPUX/AUTO (New disk)
Create the lvm structure in the cxtxdxs2 slice
pvcreate -fB /dev/rdsk/cxtxdxs2
Add the disk in to vg00
vgextend /dev/vg00 /dev/dsk/cxtxdxs2
Mirror the lv's
Update the BDRA
lvlnboot -R /dev/vg00
Add the new disk entry in to /stand/bootconf
l /dev/dsk/cxtxdxs2
Add the new disk path as alternate boot path
setboot -a