- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Increasing a logical volume problem
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
01-13-2005 07:38 AM
01-13-2005 07:38 AM
I needed to increase the size of /home from 2048
to 4096. Out of laziness I did it through sam.
Well, everything seem to have worked. But,when I do a lvdisplay -v /dev/vg00/lvol4 the LV Size shows as 4096 but when I do a bdf at the command line I am only shown 2048
So, now when I'm trying to download a couple of patches to my home directory I cannot because /home is still only 2GB instead of 4GB
What do I do now to get /home to 4GB?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2005 07:43 AM
01-13-2005 07:43 AM
Re: Increasing a logical volume problem
The first is extending the volume itself, the second is extending the file system.
Do a "man extendfs" for more info
HTH
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2005 07:44 AM
01-13-2005 07:44 AM
Solutionsam probably executed the lvextend command to extend the lv, but did not execute the fsadm/extendfs command since the filesystem was still mounted.
Do you have onlineJFS on the system. to verify
swlist |grep -i onlinejfs
grep vx /stand/system
if the grep command return vxadv in the list, that means you have onlinejfs installed and configured.
To increase the filesystem, first calulate the block size in MB.
# bc -l
4*1024*1024 --> for 4GB
4194304
So 4194304 is the block size in MB. to increase using fsadm online if you have onlineJFS, try
fsadm -b 4194304 /home
If you do not have onlineJFS, unmount /home and use extendfs to extend the filesystem size.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2005 07:45 AM
01-13-2005 07:45 AM
Re: Increasing a logical volume problem
A correction
read this,
To increase the filesystem, first calulate the block size in MB.
as
To increase the filesystem, first calulate the block size in KB.
Thanks
Sanjay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2005 09:14 AM
01-13-2005 09:14 AM
Re: Increasing a logical volume problem
From root with /home dismounted (shutdown 0 will put your system in single user and dismount all) do:
# extendfs /dev/vg00/rlvol4
Then return your syste to normal state with
# init 3 (or your initdefault, see /etc/inittab)
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2005 09:20 AM
01-13-2005 09:20 AM
Re: Increasing a logical volume problem
It surely supports lazyness which might not be the best thing, but with (quite)larger filesystems I find it less error-prone.
If the filesystem is completely full, You can't extend it immediately, You'll have to free some blocks for JFS to be able to put in that 'extended block map' (I don't know the correct name, sorry).
8KB should be enough, our DBAs tend to fill up their archivelog filesystems quite regularly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2005 06:23 PM
01-13-2005 06:23 PM
Re: Increasing a logical volume problem
Just do extendfs, u have to unmount the filesystem before doing this.If u have onlinejfs you can do it online.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2005 06:52 PM
01-13-2005 06:52 PM
Re: Increasing a logical volume problem
The exact target location werein the downloaded patch will seat is a filesystem (/home) not logical volume. But the filesystem seats on the logical Volume.
All you need to do is to extend the size of your filesystem.
Besides, when you run 'bdf or
mount -v'displays the size of the filesystem.
All the best.
Charles.