- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Expand volume with SAM "Increase Size"?
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
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-2004 09:19 AM
04-27-2004 09:19 AM
/dev/vg00/lvol10 35848192 32624784 3198568 91% /vol1
Looking at the "increase size" option in SAM. Is this the correct tool? What pitfalls should I be looking for? Any other methods that work better, or I should look into?
The volume is VxFS.
The OS is HPUX 11
Running on a a400
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2004 09:27 AM
04-27-2004 09:27 AM
SolutionUNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2004 09:33 AM
04-27-2004 09:33 AM
Re: Expand volume with SAM "Increase Size"?
I should have space on the drives. Should I check anything else?
Logical Volume: lvol10
Volume Group: vg00
Space Available in Volume Group (Mbytes): 33952
Current Logical Volume Size (Mbytes): 35008
New Size (Mbytes): TBR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2004 09:45 AM
04-27-2004 09:45 AM
Re: Expand volume with SAM "Increase Size"?
Sam uses lvextend
lvextend /dev/vg00/lvol10 -L
use a real disk.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2004 09:47 AM
04-27-2004 09:47 AM
Re: Expand volume with SAM "Increase Size"?
-Hazem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2004 09:50 AM
04-27-2004 09:50 AM
Re: Expand volume with SAM "Increase Size"?
Will be trying tonight, or tomorrow. I will get back and assign points.
Thanks
TBR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2004 09:56 AM
04-27-2004 09:56 AM
Re: Expand volume with SAM "Increase Size"?
Posted while you were posting.
What I will be doing.
SAM
-Disk and File System
--Logical Volumes
---Select (lvol10 vg00 VxFS 35008 1 /vol1)
-----Actions "Increase Size"
-----New size 45g
Do I need to do somthing else?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2004 10:40 AM
04-27-2004 10:40 AM
Re: Expand volume with SAM "Increase Size"?
I had to extend a volume about three weeks ago, and found that while SAM *says* it can do it, it was not actually able to because the drive was mounted and being used by others. As a result, I had to go right down to single-user mode before I could get it to work. Here are the notes I made for myself afterwards.
=======
The HP ESC has useful documents on how to go about allocating more disk space, but in short do the following:
- Boot into Single-User mode.
- Log into the system as root.
- Execute the command: "/sbin/lvextend -L
- Execute the command: "/sbin/extendfs -F [hfs|vxfs]
- Reboot the system.
The hfs/vxfs designation can be retrieved by looking in either /etc/fstab or /etc/checklist.
As an example, if I wanted to extend the /usr filesystem (which resides on /dev/vg00/lvol7) from 1024 to 2048 blocks, the commands would be:
#> /sbin/lvextend -L 2048 /dev/vg00/lvol7
#> /sbin/extendfs -F vxfs /dev/vg00/lvol7
========
If the SAM method doesn't work for you, this should help as a backup method. Hope it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2004 08:48 PM
04-27-2004 08:48 PM
Re: Expand volume with SAM "Increase Size"?
A short but useful info:
If you extend the volume using sam,It doesn,t prompt you onto what harddisk it will allocate the space.For better flexibility i wuold suggest doing on command prompt.This way you will know exactly whats going on the system as well,in case you need to troubleshoot if there were any error.Command promt steps,
1)check wether online JFS is installed
#swlist
a)If installed
#fsadm -v -F vxfs -b
NOTE:extending the filesystem not required in this scenario fsad will take care of it
b)If online JFS not installed
#umount /vol1
#lvextend -L
last argument /dev/dsk/c#t#d# is optional,helps u choose exact harddisk were the space ought to be allocated.
http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B9106-90008/B9106-90008_top.html&con=/hpux/onlinedocs/B9106-90008/00/02/210-con.html&toc=/hpux/onlinedocs/B9106-90008/00/02/210-toc.html&searchterms=lvextend&queryid=20040428-024350e
#extendfs /dev/vg00/rlvol10 http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B9106-90008/B9106-90008_top.html&con=/hpux/onlinedocs/B9106-90008/00/01/109-con.html&toc=/hpux/onlinedocs/B9106-90008/00/01/109-toc.html&searchterms=lvextend&queryid=20040428-024350e
#mount /vol1
Note:All http links are man pages of the respective commands.
regards
Senthil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2004 10:27 PM
04-27-2004 10:27 PM
Re: Expand volume with SAM "Increase Size"?
Your approach with SAM will extend the lvol and the file system. The only thing to watch out for is that the volume needs to be unmounted, so make sure /vol1 is not in use.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2004 12:20 PM
05-22-2004 12:20 PM
Re: Expand volume with SAM "Increase Size"?
Thanks for the help. SAM was able to expand the volume with little problem. The problem I did encounter with SAM as Travis suggested is the volume in use, demanding me to start in â single user modeâ . After messing around in single-user mode for a bit, I got the crutch back out, stopped everything using the volume, and SAM worked just great.
Donâ t really know the point system round this forum yet, so I ascribed points to all. Each post was helpful, and I appreciate everyoneâ s input. Itâ s a small question, but one I wanted backup fo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2006 08:03 AM
06-27-2006 08:03 AM
Re: Expand volume with SAM "Increase Size"?
I am facing the same situation as you describe here in this thread. When I check the mount point in SAM i get;
Logical Volume: lvol8
Volume Group: vgprod1
Space Available in Volume Group (Mbytes): 27540 --------
Current Logical Volume Size (Mbytes): 143360
So does this really mean that I have 27.5 GB available to add to the mount point?
I read the entire thread and saw that ultimately you did use SAM in the single user mode. The mount point I am working with is very rarely in use. So do you think I will be able to increase the size during normal operations?
Also I am hooked into an EVA5000 and all the disk are in a RAID 1 configuration. Should I have any concern about this or will SAM take care of the RAID?
I know this was an old issue for you, but it is all new to me.
Thanks in advance for any help you or anyone else can offer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2006 08:23 AM
06-27-2006 08:23 AM
Re: Expand volume with SAM "Increase Size"?
please open your own thread.
Own question - own thread (anywhere in the internet).
You should provide a "vgdisplay -v" for the questionable VG too.
Please provide also if you have online JFS installed.
BTW, SAM doesn't care about the RAID level in the EVA, it is handled like a disk.
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!