- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mirroring root drive
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-08-2001 11:56 AM
11-08-2001 11:56 AM
Commands used:
pvcreate -B /dev/rdsk/c2t11d0 (9.1GB drive)
mkboot /dev/rdsk/c2t11d0
mkboot -a "hpux -lq" /dev/rdsk/c2t11d0
vgextend /dev/vg00 /dev/dsk/c2t11d0
I get the following response on my vgextend command:
vgextend: Not enough physical extents per physical volume.
Need: 2170, Have: 2000.
Volume group "/dev/vg00" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
Not sure why it thinks that there are only 2000 PE's on this drive.
If I do a vgdisplay -v vg03 on another drive that is the exact same drive as c2t11d0 (the one I'm trying to mirror to) it shows this:
--- Physical volumes ---
PV Name /dev/dsk/c2t9d0
PV Status available
Total PE 2170
Free PE 170
It shows Total PE's are 2170, why aren't there 2170 total PE's on the drive (c2t11d0) I'm trying to mirror to?
Any help would be greatly appreciate.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2001 12:06 PM
11-08-2001 12:06 PM
Re: mirroring root drive
You have discovered an LVM feature. You are limited to the number of Physical Extents/Drive that were allocated when the Volume Group was created. If you had started with the 9GB drive there would have been no problem. Your could do a make tape recovery and recreate your system or load from scratch on your 9GB drive and then mirror. Ideally, you would mirror to identical disks but this is not necessary it just keeps you out of trouble.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2001 12:11 PM
11-08-2001 12:11 PM
Re: mirroring root drive
PV Name /dev/dsk/c0t9d0
VG Name /dev/vg00
PV Status available
Allocatable yes
VGDA 2
Cur LV 8
PE Size (Mbytes) 4
Total PE 2169
Free PE 845
Allocated PE 1324
Stale PE 0
IO Timeout (Seconds) default
Autoswitch On
What does yours show?
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2001 12:11 PM
11-08-2001 12:11 PM
Re: mirroring root drive
I suppose you created vg00 with a 4 GB drive and now you are trying to add a 9Gb drive.
When you created vg00 you set a MAX PE in the vg00 volume group. can you give us the complete output of
vgdisplay -v vg00
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2001 12:15 PM
11-08-2001 12:15 PM
SolutionThis error indicates that the new disk has a larger number of physical extents than the value of 'max_pe' (see "man vgcreate" that was set or chosen when the volume group was originally created.
If you do a 'vgdisplay /dev/vg00' and look at the "Max PE per PV" value you will see it is 2000 in your case. This is the limit, and your new disk exceeds this number of PE.
Your new disk has probably been added to the volume group, but you will not be able to utilize extents on it that exist beyond the original volume group limit of 2000.
Unfortunately, the only way to alter parameters like 'max_pe' is to recreate the volume group from scratch, which for vg00, would mean an Ignite cold-install as the safest, sane approach.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2001 02:26 PM
11-08-2001 02:26 PM
Re: mirroring root drive
If you add a disk to volume group it must be of equal size or smaller. You cannot add a 9Gb to a VG that was created with a 4GB. When a VG is constructed is is built around the 4Gb disk.
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2001 07:21 AM
11-09-2001 07:21 AM
Re: mirroring root drive
henrcc # strings /etc/lvmtab
/dev/vg02
/dev/dsk/c2t8d0
/dev/dsk/c2t12d0
/dev/vg00
/dev/dsk/c0t5d0
/dev/dsk/c2t11d0 - NEED TO REMOVE THIS!
/dev/vg01
/dev/dsk/c0t6d0
/dev/dsk/c2t15d0
/dev/vg03
/dev/dsk/c2t9d0
/dev/dsk/c2t13d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2001 07:33 AM
11-09-2001 07:33 AM
Re: mirroring root drive
If you have already mirrored (do an lvdisplay to find out) any logical volumes. You need to do an lvreduce -m 0 /dev/vg00/lvoln /dev/dsk/c2t11d0 for lvol.
Then do a vgreduce /dev/vg00 /dev/dsk/c2t11d0.
Man lvreduce and vgreduce for details before your do this.
Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2001 07:38 AM
11-09-2001 07:38 AM
Re: mirroring root drive
vgreduce vg00
should remove unused disk(s) from the volum group
regards,
Thierry