- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Extending LV in HP-UX 11.20 ia64 problems
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
02-13-2002 06:38 AM
02-13-2002 06:38 AM
Extending LV in HP-UX 11.20 ia64 problems
ia64 machine and installed HP-UX 11.20. /home is way too small. /home appears to be in the rootvg but we cannot appear to increase its size with lvextend. We can't even run vgdisplay:
# /sbin/vgdisplay
vgdisplay: /etc/lvmtab: No such file or directory
vgdisplay: No volume group name could be read from "/etc/lvmtab".
The SAM interface just says can't extend this filesystem because it is the wrong filesystem type - something like vfs-lite.
Any ideas?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 06:41 AM
02-13-2002 06:41 AM
Re: Extending LV in HP-UX 11.20 ia64 problems
nancy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 06:43 AM
02-13-2002 06:43 AM
Re: Extending LV in HP-UX 11.20 ia64 problems
Run bdf and see where exactly /home is located.
Then run vgdisplay -v /dev/vgname ( By the output of bdf command)
The run lvdisplay -v /dev/vgname/lvolname
Strings /etc/lvmtab will show you the list lvols
If you only free extents left then you can extend the logical volume.
Goodluck,
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 06:44 AM
02-13-2002 06:44 AM
Re: Extending LV in HP-UX 11.20 ia64 problems
Check for the file - /etc/lvmtab. Rename it and then run a 'vgscan -a'. That will restore your lvmtab file, if it is currupted.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 06:44 AM
02-13-2002 06:44 AM
Re: Extending LV in HP-UX 11.20 ia64 problems
what does vgscan do?
after running vgscan do you have an /etc/lvmtab file?
It sounds like you have a very trimmed down version of the OS. Cab you post the output from swlist as an attachment?
You can't extend Filesystems while they are mounted, unless you have purchased ONlineJFS.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 06:45 AM
02-13-2002 06:45 AM
Re: Extending LV in HP-UX 11.20 ia64 problems
if the lvmtab is not there just create it with vgscan .
if you have online JFS you need just to increate the logical voulme with lvextnd and then fsadm -b to increase the size of the file system .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 06:46 AM
02-13-2002 06:46 AM
Re: Extending LV in HP-UX 11.20 ia64 problems
# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vx/dsk/rootdg/rootvol
204800 75826 120974 39% /
/dev/vx/dsk/rootdg/standvol
307200 34246 255952 12% /stand
/dev/vx/dsk/rootdg/varvol
2578896 101790 2322330 4% /var
/dev/vx/dsk/rootdg/usrvol
1182658 899161 265818 77% /usr
/dev/vx/dsk/rootdg/tmpvol
204800 61057 135401 31% /tmp
/dev/vx/dsk/rootdg/optvol
324245 219418 98305 69% /opt
/dev/vx/dsk/rootdg/homevol
20480 12554 7686 62% /home
# vgdisplay -v /dev/vx/dsk/rootdg/homevol
vgdisplay: /etc/lvmtab: No such file or directory
vgdisplay: No volume group name could be read from "/etc/lvmtab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 06:47 AM
02-13-2002 06:47 AM
Re: Extending LV in HP-UX 11.20 ia64 problems
nancy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 06:48 AM
02-13-2002 06:48 AM
Re: Extending LV in HP-UX 11.20 ia64 problems
# vgscan -a
Creating "/etc/lvmtab".
vgscan: Physical volume "/dev/dsk/c0t1d0" is not a block special file.
Couldn't stat physical volume "/dev/dsk/c0t0d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c0t1d0":
Invalid argument
Physical Volume "/dev/dsk/c2t0d0" contains no LVM information
Physical Volume "/dev/dsk/c2t1d0" contains no LVM information
Physical Volume "/dev/dsk/c2t2d0" contains no LVM information
Physical Volume "/dev/dsk/c2t3d0" contains no LVM information
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 06:49 AM
02-13-2002 06:49 AM
Re: Extending LV in HP-UX 11.20 ia64 problems
as you can see all your file system are belong to vxvm and not to lvm to you need to work with the interface of the vxvm to define to unit for the /home .
i m surry that i cant give you a guide line of to do it with vxvm but i will check it out and try to find the rigth answer.
11.20 - nice one
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 06:51 AM
02-13-2002 06:51 AM
Re: Extending LV in HP-UX 11.20 ia64 problems
nancy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 07:00 AM
02-13-2002 07:00 AM
Re: Extending LV in HP-UX 11.20 ia64 problems
IA64 True Veritas
The VERITAS name for JFS is VxFS-Lite and the VERITAS name for OnLineJFS is VxFS-Full
the sam has changed for the adjusted commands so use the vgscan -v first then try again.
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 07:04 AM
02-13-2002 07:04 AM
Re: Extending LV in HP-UX 11.20 ia64 problems
try to ask some pepole if the 11.20 is avlib. in hp computer and heard that it is on the itanoum ( think that it is like this ) .
i will advise you to go to this link to get all the info that you need .
http://www.docs.hp.com/hpux/os/11iV1.5/index.html
here you will see the menual for it .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 07:04 AM
02-13-2002 07:04 AM
Re: Extending LV in HP-UX 11.20 ia64 problems
***********************************
How to grow a volume and file system.
TechNote ID: 187220 Last Updated: February 08 2000 01:15 AM GMT
Caution! The information in this TechNote is based upon certain assumptions, including product, operating system and platform versions. You can review this information in the TechNote Summary portion of this document.
This document (187220) is provided subject to the disclaimer at the end of this document.
--------------------------------------------
Symptom:
How to grow a volume and file system.
Solution:
1) Determine the device name with df -k command:
#df -k
Filesystem kbytes used avail capacity Mounted on
/dev/vx/dsk/rootvol 4030518 1201027 2789186 31% /
/dev/vx/dsk/usr 962134 404374 500032 45% /usr
/proc 0 0 0 0% /proc
fd 0 0 0 0% /dev/fd
/dev/vx/dsk/opt 2877758 443170 2377033 16% /opt
swap 371456 272 371184 1% /tmp
/dev/vx/dsk/datadg/mail 3445728 3132232 313496 81% /mail
2) Determine the file system type with fstyp command:
fstyp
also
fstyp /dev/vx/dsk/
#fstyp /dev/vx/dsk/datadg/mail
vxfs
3) To grow 2g volume and file system to 5g, use the vxresize command:
vxresize -F
#vxresize -F vxfs -g rootdg mail 5g
note:
*************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 07:10 AM
02-13-2002 07:10 AM
Re: Extending LV in HP-UX 11.20 ia64 problems
$ ./vxresize -F vxfs -g rootdg homevol 1g
vxvm:vxresize: ERROR: Cannot resize volume homevol (file system type VXFS_LITE)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 07:11 AM
02-13-2002 07:11 AM
Re: Extending LV in HP-UX 11.20 ia64 problems
You have to umount /home first.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 07:14 AM
02-13-2002 07:14 AM
Re: Extending LV in HP-UX 11.20 ia64 problems
You may need to 'umount' the file system first, before changing the size !
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 07:18 AM
02-13-2002 07:18 AM
Re: Extending LV in HP-UX 11.20 ia64 problems
I have never come across vxfs (until now).
umount /home
./vxresize -F vxfs -g rootdg homevol 1g
result:
# df -k
/home (/dev/vx/dsk/rootdg/homevol) : 984096 total allocated Kb
971294 free allocated Kb
12802 used allocated Kb
1 % allocation used
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 07:18 AM
02-13-2002 07:18 AM
Re: Extending LV in HP-UX 11.20 ia64 problems
http://docs.hp.com/hpux/onlinedocs/B7961-90019/B7961-90019.html
Once there click on 'Volume Manager Commands' and then have a look at the 'vxassist' command. It sounds like this may be what you want.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 07:21 AM
02-13-2002 07:21 AM
Re: Extending LV in HP-UX 11.20 ia64 problems
VERITAS Volume Manager 3.1 Administrator's Guide
http://docs.hp.com/hpux/onlinedocs/B7961-90018/B7961-90018.html
Once there go down to 'Volume Tasks' and then 'Resizing a Volume'
With HP-UX 11.20 (11i v1.5) VxVM is what is used. You really need to read up and familiarize yourself with this as it is a bit different from what you are used to with LVM.