- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Adding disk to VG00
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
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
08-19-2007 11:01 AM
08-19-2007 11:01 AM
1. pvcreate /dev/rdsk/c0t5d0 (is -B required? this disk will not have bootable volumes i guess)
2. vgextend vg00 /dev/dsk/c0t5d0
if we add this disk to VG00 will that portion of the disk be free and unused? Please help me understand this.
Thanks
Joe
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2007 12:00 PM
08-19-2007 12:00 PM
Re: Adding disk to VG00
It's not possible to tell you how much of this new disk will be used because you didn't bother to indicate the sizes of these two disks nor the max_pe's value display for vg00. In general, if the additional disk is no larger than the other disks/LUN's which make up the VG, then all of the new disk will be available. If the new disk is larger in capacity than the others in the VG, then (unless max_pe's was explicitly increased above the default value) only the capacity up to the size of the largest other disks in the VG will be available.
Note: This disk cannot be used to extend /stand, primary swap, or / because these LVOL's MUST be on the boot disk and MUST be contiguously allocated bit LVOL's like /usr, /opt, /home, and /var can be extended and do not have to located on the boot disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2007 12:06 PM
08-19-2007 12:06 PM
Re: Adding disk to VG00
Thanks. this disk is 2gb. the one which vg00 currently uses is 8gb. thanks again.
Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2007 12:12 PM
08-19-2007 12:12 PM
Re: Adding disk to VG00
Also ran into something strange...
strings /etc/lvmtab
/dev/vg00
/dev/dsk/c0t8d0
sd12:root> pvcreate /dev/rdsk/c0t5d0
pvcreate: The physical volume already belongs to a volume group
sd12:root> strings /etc/lvmtab
/dev/vg00
/dev/dsk/c0t8d0
dont see any other VG's
Thanks
Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2007 01:14 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2007 01:14 PM
08-19-2007 01:14 PM
Re: Adding disk to VG00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2007 01:20 PM
08-19-2007 01:20 PM
Re: Adding disk to VG00
please run vgdisplay -v vg00, see c0t5d0 is belongs to vg00 ? Do you plan to wipe off c0t5d0
from /etc/lvmtab output you only have c0t8d0
1. pvcreate -f /dev/rdsk/c0t5d0
2. vgextend vg00 /dev/dsk/c0t5d0
use -f option
This option will force a volume group to be
created with a physical volume which has
alternate block(s) already allocated, (i.e.
this physical volume was not initialized
using pvcreate -f.) This option should be
used with extreme caution. If the volume
group to be created has a different physical
extent size, the alternate block(s) might be
inside the user data area. Potential data
corruption could occur.
WK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2007 04:05 PM
08-19-2007 04:05 PM
Re: Adding disk to VG00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2007 04:55 PM
08-19-2007 04:55 PM
Re: Adding disk to VG00
It is very simple do the ioscan -fnCdisk
verify the new disk path
then
#pvcreate -f /dev/rdsk/cxtxdx [new disk path]
then run -
#strings /etc/lvmtab
check the vg00 how much disks are currentely configured then simply
#vgextend vg00 /dev/dsk/cxtxdx [new disk path]
Then check with
vgdisplay -v /dev/vg00 | more
weather the new disk is added or not.
Thanks,
Avinash