- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Extend vg00 and mirror disk (11.23)
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
тАО11-17-2010 02:38 AM
тАО11-17-2010 02:38 AM
Extend vg00 and mirror disk (11.23)
I have a rx3600 server with hpux 11.23.
I have a vg00 with two mirrored disks that I want to expand.
discs are 72GB and I have two 72GB disks for enlargement.
How I can join the new disks in the mirror and extend the vg00?
Thanks,
Jesus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2010 03:27 AM
тАО11-17-2010 03:27 AM
Re: Extend vg00 and mirror disk (11.23)
For data and applicatins you should create a new VG.
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2010 03:58 AM
тАО11-17-2010 03:58 AM
Re: Extend vg00 and mirror disk (11.23)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2010 04:34 AM
тАО11-17-2010 04:34 AM
Re: Extend vg00 and mirror disk (11.23)
Data should be kept in other than root vg is the best practice. But you can add new discs in to vg00.
# pvcreate /dev/rdsk/c2t1d0
Physical volume "/dev/rdsk/c2t1d0" has been successfully created.
[rx26-185]/
# vgextend /dev/vg00 /dev/dsk/c2t1d0
Volume group "/dev/vg00" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
# lvcreate -n test /dev/vg00
Logical volume "/dev/vg00/test" has been successfully created with
character device "/dev/vg00/rtest".
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
# lvextend -L 1000M /dev/vg00/test /dev/dsk/c2t1d0
Warning: rounding up logical volume size to extent boundary at size "1024" MB.
Logical volume "/dev/vg00/test" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
[rx26-185]/
# newfs -F vxfs /dev/vg00/rtest
version 6 layout
1048576 sectors, 1048576 blocks of size 1024, log size 16384 blocks
largefiles supported
[rx26-185]/
# mkdir /test
[rx26-185]/
# mount /dev/vg00/test /test
[rx26-185]/
# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 1048576 314584 728264 30% /
/dev/vg00/lvol1 2064384 316456 1734368 15% /stand
/dev/vg00/lvol8 8388608 717968 7610864 9% /var
/dev/vg00/lvol7 8388608 3037448 5309400 36% /usr
/dev/vg00/lvol4 524288 21688 498808 4% /tmp
/dev/vg00/lvol6 8388608 4459608 3898336 53% /opt
/dev/vg00/lvol5 131072 5792 124312 4% /home
DevFS 3 3 0 100% /dev/deviceFileSystem
/dev/vg00/test 1048576 17338 966793 2% /test
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2010 04:45 AM
тАО11-17-2010 04:45 AM
Re: Extend vg00 and mirror disk (11.23)
Please analyse why you need a vg00 which spanned in multiple disks.
1. This increase the failure of vg00/ hence boot failure, as the number of disks increases , probability of failure increses.
2. This makes the administration more complicated.
3. Analyse which filesystem is using more space, assign mount points to the large directories which doent need for booting.
=================================
To extend the VG
1. pvcreate raw disk file
2. vgextend vg00 blockfile1 blockfile2
3. lvcreate/lvextend as required.
4. create/extend the filesystem (fsadm,newfs,extendfs)
6. mirror the LV
==> if the disks are in different controller, consider LVM PVG while creating the mirror.
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2010 06:19 AM
тАО11-17-2010 06:19 AM
Re: Extend vg00 and mirror disk (11.23)
I hope you trying for spanned volumes. In similar scenario I may try another trick
I will go for 2 146 G disks and will mirror
it from existing mirror to a 2 disk mirror
and and reduce one of the 72 G pv and then the add the next 146 disk and mirror and at last remove the 72GB disk left.
I may plan down time for doing this and complete this task.
I don't recommend to use spanned volumes for root vg as the chances of failures are more. Still I have seen them in few servers.
Thanks & Regards
Jayakrishnan G Naik