- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- LVM and VxVM
- >
- Extending FS in rootvg
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
07-11-2010 11:09 PM
07-11-2010 11:09 PM
I am having an ia64 hp rx2620 Server with os HP-UX 11.23.It is having 2*300GB hdds.Around 80GB free PE's are available. Rootvg is not mirrored.I want to extend some of the file systems in rootvg such as /tmp,/opt, and /sapmnt/DBI.
Can anybody suggest how to get this done??
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-11-2010 11:15 PM
07-11-2010 11:15 PM
Re: Extending FS in rootvg
Hi ,
find out LV name from bdf output for /tmp , /opt and /sapmnt/DBI and extend it your desired size with lvextend -L
check whether you have online JFS installed ?
if yes ,
extend it with fsadm comand
if no , you need to unmount the filesystem and then extend it
regards!
johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-11-2010 11:40 PM
07-11-2010 11:40 PM
Re: Extending FS in rootvg
to find out online jfs installed or not
#swlist -l product |grep -i online
nad look for online jfs
extend fs using fsadm
#fsadm -F vxfs -b
eg ;
# fsadm -F vxfs -b 1024M /tmp
(the aboce command will increase /tmp to 1GB online>
regards!
johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-12-2010 12:03 AM
07-12-2010 12:03 AM
Re: Extending FS in rootvg
1)this is an itanium server- i think steps are somewht different from RISC type
2)need to extend the rootvg -- Extending rootvg is not like extending normal vg's..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-12-2010 12:12 AM
07-12-2010 12:12 AM
Re: Extending FS in rootvg
>>It is having 2*300GB hdds.Around 80GB free PE's are available
I guess 80GB is available on vg00 and currently you have only one disk in the vg00,
>>1)this is an itanium server- i think steps are somewht different from RISC type
except root vg mirroring , all vg operations are extactly same as PARISC..
2)need to extend the rootvg -- Extending rootvg is not like extending normal vg's..
Why you need to extend rootvg? as per your post , you have 80Gb free space on the vg00
regards!
johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-12-2010 12:18 AM
07-12-2010 12:18 AM
Re: Extending FS in rootvg
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 16
Open LV 16
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4465
VGDA 2
PE Size (Mbytes) 64
Total PE 4455
Alloc PE 3146
Free PE 1309
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
And how to do rootvg mirroring in Itanium server???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-12-2010 12:27 AM
07-12-2010 12:27 AM
Re: Extending FS in rootvg
yes, you are good to go for extending those Filesystems,(you have 80 GB free space on vg00)
check for online jfs to follow online extending steps ..
regarding mirroring root vg in IPF
see page 50 on http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf
regards!
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-12-2010 01:01 AM
07-12-2010 01:01 AM
Re: Extending FS in rootvg
For this example, the disk to be added is at hardware path 0/1/1/0.0x1.0x0, with device pecial files named /dev/disk/disk2 and /dev/rdisk/disk2.
1.Partition the disk using the idisk command and a partition description file.
1.Create a partition description file. For example:
# vi /tmp/idf
In this example, the partition description file contains:
3
EFI 500MB
HPUX 100%
HPSP 400MB
NOTE: The values in the example represent a boot disk with three partitions:
an EFI partition, an HP-UX partition, and an HPSP. Boot disks of earlier HP
Integrity servers might have an EFI partition of only 100 MB and might not
contain the HPSP partition.
2.Partition the disk using idisk and your partition description file:
# idisk -f /tmp/idf -w /dev/rdisk/disk2
3.To verify that your partitions are correctly laid out, run:
# idisk /dev/rdisk/disk2
4.Use the insf command with the -e option to create the device files for all the partitions.
For example:
# insf -e -H 0/1/1/0.0x1.0x0
You should now have the following device files for this disk:
/dev/[r]disk/disk2 (this refers to the entire disk) /dev/[r]disk/disk2_p1(this refers to the efi partition) /dev/[r]disk/disk2_p2(this will be the hp-ux partition) /dev/[r]disk/disk2_p3(this refers to the service partition)
5.Create a physical volume using pvcreate with the -B option. Be sure to use the device file
denoting the HPUX partition.
# pvcreate -B /dev/rdisk/disk2_p2
6.Add the physical volume to your existing root volume group using vgextend:
# vgextend vg00 /dev/disk/disk2_p2
7.Use the mkboot command to set up the boot area. Specify the -e and -l options to copy
EFI utilities to the EFI partition, and use the device special file for the entire disk:
# mkboot -e -l /dev/rdisk/disk2
8.Use the mkboot command to add an autoboot file to the disk boot area. If you expect to
boot from this disk only when you lose quorum, you can use the alternate string â hpux â lqâ to
disable quorum checking:
# mkboot -a "hpux" /dev/rdisk/disk2
9.Use the lvextend command to mirror each logical volume in vg00 (the root volume group) onto the specified physical volume. The logical volumes must be extended in the same order that they are configured on the original boot disk. Use the pvdisplay command with the -v option to determine the list of logical volumes and their order. For example:
# pvdisplay -v /dev/disk/disk0_p2 | grep 'current.*0000 $' 00000 current /dev/vg00/lvol1 00000 00010 current /dev/vg00/lvol2 00000 00138 current /dev/vg00/lvol3 00000 00151 current /dev/vg00/lvol4 00000 00158 current /dev/vg00/lvol5 00000 00159 current /dev/vg00/lvol6 00000 00271 current /dev/vg00/lvol7 00000 00408 current /dev/vg00/lvol8 00000
In this example, mirror the logical volumes as follows:
# lvextend â m 1 /dev/vg00/lvol1 /dev/disk/disk2_p2
The newly allocated mirrors are now being synchronized. This operation will take some time. Please wait ....
#lvextend â m 1 /dev/vg00/lvol2 /dev/disk/disk2_p2
The newly allocated mirrors are now being synchronized. This operation will take some time. Please wait ....
# lvextend â m 1 /dev/vg00/lvol3 /dev/disk/disk2_p2
The newly allocated mirrors are now being synchronized. This operation will take some time. Please wait ....
# lvextend â m 1 /dev/vg00/lvol4 /dev/disk/disk2_p2
The newly allocated mirrors are now being synchronized. This operation will take some time. Please wait ....
# lvextend â m 1 /dev/vg00/lvol5 /dev/disk/disk2_p2
The newly allocated mirrors are now being synchronized. This operation will take some time. Please wait ....
# lvextend â m 1 /dev/vg00/lvol6 /dev/disk/disk2_p2
The newly allocated mirrors are now being synchronized. This operation will take some time. Please wait ....
# lvextend â m 1 /dev/vg00/lvol7 /dev/disk/disk2_p2
The newly allocated mirrors are now being synchronized. This operation will take some time. Please wait ....
# lvextend â m 1 /dev/vg00/lvol8 /dev/disk/disk2_p2
The newly allocated mirrors are now being synchronized. This operation will take some time. Please wait ....
NOTE: If lvextend fails with following message:
m: illegal option
then HP MirrorDisk/UX is not installed.
10.Update the root/dump/boot volume group information:
# lvlnboot -r /dev/vg00
# lvlnboot -s /dev/vg00
# lvlnboot -d /dev/vg00
# lvlnboot -b /dev/vg00
11.Verify that the mirrored disk is displayed as a boot disk and that the boot, root, and swap logical volumes appear to be on both disks:
# lvlnboot -v /dev/vg00
12.Specify the mirror disk as the alternate boot path in nonvolatile memory:
# setboot â a 0/1/1/0.0x1.0x0
13.Add a line to /stand/bootconf for the new boot disk using vi or another text editor:
# vi /stand/bootconf
/dev/disk/disk2_p2
Rgds...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-12-2010 01:02 AM
07-12-2010 01:02 AM
Re: Extending FS in rootvg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-12-2010 01:10 AM
07-12-2010 01:10 AM
Re: Extending FS in rootvg
https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B2491BA
or if you have alliance One membership ,try this link
http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801?ciid=2908d7c682f02110d7c682f02110275d6e10RCRD
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP