- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to create new lvm on running plate form
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
04-27-2007 10:21 PM
04-27-2007 10:21 PM
# bdf
Filesystem kbytesused avail %used Mounted on
/dev/vg00/lvol3 2048000 1248120 793752 61% /
/dev/vg00/lvol1 1012152 70384 840552 8% /stand
/dev/vg00/lvol8 7176192 966112 6162008 14% /var
/dev/vg00/lvol7 5128192 1659992 3441160 33% /usr
/dev/vg00/lvol930670848 29560061 1053186 97% /u01
/dev/vg00/lvol4 4096000 3568712 523392 87% /tmp
/dev/vg00/lvol6 5128192 2207712 2897688 43% /opt
/dev/vg00/lvol5 10240000 4667520 5528976 46% /home
#
i am new hp ux user , kindly help me. basically my all datafiles are on this partition.
Pls. help me.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2007 03:49 AM
04-28-2007 03:49 AM
Re: how to create new lvm on running plate form
# vgdisplay
This can be used to calculate amount of free space available in the volume group.
later If free space is avaiilable and you need to extend the LV mounted on /u01it can be extended
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2007 05:25 AM
04-28-2007 05:25 AM
Re: how to create new lvm on running plate form
A better thing to do would be move the datafiles out of vg00 and into a VG of its own. Also plan on distributing the datafiles over separate I/O channels in order to load-balance the I/O to your datafiles otherwise you will be creating hot spots and running into performance bottlenecks.
~hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2007 06:39 AM
04-28-2007 06:39 AM
Re: how to create new lvm on running plate form
do not extend the vdisk on the EVA - HP-UX 11i v1 and 11i v2 cannot handle this - only 11i v3.
Create a new vdisk on the EVA, create a PV and add this to your VG. Now you can extend the LVOL and the filesystem on it.
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
04-28-2007 06:25 PM
04-28-2007 06:25 PM
Re: how to create new lvm on running plate form
Check the vgdisplay output for free space.
if so extend the logical volume and extend the file system.
Before extending umount the filesystem if its not on onlineJFS
lvextend -L totalsize Logicalvolume name
extendfs -F FS_type lv_name(raw device)
Otherwise presend new vdisk from EVA then create pv, extend your vg, extend your logical volume, then extend the file system.
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2007 08:54 PM
04-28-2007 08:54 PM
Re: how to create new lvm on running plate form
the vgdisplay output is..
# vgdisplay
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 9
Open LV 9
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4384
VGDA 4
PE Size (Mbytes) 16
Total PE 8748
Alloc PE 8748
Free PE 0
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vglock".
VG Name /dev/vg_rac
VG Write Access read/write
VG Status available, shared, client
Max LV 255
Cur LV 20
Open LV 19
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 25599
VGDA 2
PE Size (Mbytes) 4
Total PE 25596
Alloc PE 2468
Free PE 23128
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
#
but now i am a bit confused whether should i try to extend on this volume or should i create a new PV .Pls. help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2007 10:39 PM
04-28-2007 10:39 PM
SolutionThis is your issue:
/dev/vg00/lvol9 30670848 29560061 1053186 97% /u01
/u01 is 97%
Your vgdisplay output says you don't have any free physical extents left on vg00:
#vgdisplay vg00|grep "Free PE"
Free PE 0
That means you do not have any free space left on the vg00. You have to add new disk to vg00 from EVA (keep in mind the other forum members' inputs above reg. the new disk)
After the new disk is seen on the system you have to do:
#pvcreate
e.g.pvcreate /dev/rdsk/c3t1d3 (be careful when you select the disk name)
#vgextend /dev/vg00
e.g. vgextend /dev/vg00 /dev/dsk/c3t1d3 (just dsk)
#lvextend -L
e.g. lvextend -L 37696 /dev/vg00/lvol9
(extending the lvol9 to 37696MBytes)
#fsadm -b "newsizeMB" /u01 (if you have online jfs - you can use fsadm)
e.g.(fsadm -b 37696M /u01)
otherwise
#umount /u01
#extendfs /dev/vg00/rlvol9
Then mount
#mount /dev/vg00/lvol9 /home
If you are scary, make a backup of the data before you do the above. If you can do all full ignite backup it is more better.
Regards,
Rasheed Tamton
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2007 05:47 PM
04-29-2007 05:47 PM
Re: how to create new lvm on running plate form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2007 12:27 AM
04-30-2007 12:27 AM
Re: how to create new lvm on running plate form
Suppose the logical volume is having mirror policy and adding one disk to the VG00 will not help..
The lvdisplay output is required and needs to be checked for strict policy
Using the VG00 for large data is not advisable
The best option is to move out the data files to some other LV in a diff vg
I have implemented a simple plan with this issue
============
1. Create a new LV in some other VG where there is enough space.
2. Mount the LV temporarily in a mount point
3. add it in /etc/fstab file.
3. Now move the data in /u01 to the newly created mount point
4. rename the the mount point in /etc/fstab which you have added now to /u01 and comment out the previous entry for /u01 file system (if present)
5. Run command mount /u01
Hope this helps out.
But lvdisplay command output is also needed to ensure a feasible solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2007 01:02 AM
04-30-2007 01:02 AM
Re: how to create new lvm on running plate form
lvdisplay -v /dev/vg00/lvol9
to verify if there is a mirror ....
swlist -l product |grep -i online
to verify if there is a Online JFS product ...
i'm wait your command result ....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2007 08:52 AM
04-30-2007 08:52 AM
Re: how to create new lvm on running plate form
Looks like the form has answer your questions. My question is why do you have Oracle on the VG00. We always put application in its own volume group (vg01).
sp,