- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Increasing size of LV
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-17-2002 08:16 AM
01-17-2002 08:16 AM
I am having problems increasing the size of a logical volume and it is giving me the error:
LV cannot be extended until the file system is able to umount.
Any help in getting this done will be very helpful.
Dee.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2002 08:21 AM
01-17-2002 08:21 AM
Re: Increasing size of LV
Unless you have a purchaseable product from HP called OnlineJFS you cannot extend an Lvol unless you unmount it, eg. /opt or ./var. If its an lvol in VG00 you will need to reboot in single user mode to do this. If its in another VG then you can try to umount it first, then lvextend it, then extendfs it, and remount it and youre done.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2002 08:21 AM
01-17-2002 08:21 AM
Re: Increasing size of LV
This is the usual process for extending a logical volume.
1. Unmount the file system.
#umount /filesystem
2. Extend the logical volume
#lvextend -L new_size /dev/vg??/lvol?
3. Extend the file system on the lvol
#extendfs /dev/vg??/lvol?
4. mount the lvol back
#mount /dev/vg??/lvol? /filesystem
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2002 08:22 AM
01-17-2002 08:22 AM
Re: Increasing size of LV
Unless you have Online JFS, then you *do* need to unmount a filesystem to increase its size.
You can verify that you have Online JFS by doing:
# swlist|grep -i onlinejfs
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2002 08:22 AM
01-17-2002 08:22 AM
SolutionDo you have OnlineJFS, I am assuming not.
Here is the process (this was in the doc I attached to your earlier post)
IV) How to increase the size of a logical volume without online JFS
(advanced JFS).
Note: the following example is using the volume group vg01 and the
logical volume lvhome
Note: Increasing the root filesystem (/) is not feasible
1) lvextend -L 240 /dev/vg01/lvhome
The new total size will be 240M.
2) umount /home
Note: If the filesystem is in use, it is impossible to unmount it.
Therefore stop all the processes (applications) that use the
filesystem then unmount it.
Processes that use /usr and /var cannot be all stopped,
the only solution is to reboot in single user mode.
3) extendfs -F vxfs /dev/vg01/rlvhome
4) mount /dev/vg01/lvhome /home
This is the process with onlineJFS
Extending a logical volume
lvextend ???L 770 /dev/vg00/lvol7
fsadm ???F vxfs ???b 770M /usr
GL,
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2002 08:23 AM
01-17-2002 08:23 AM
Re: Increasing size of LV
extendfd /filesystem
then you can re-mount it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2002 08:24 AM
01-17-2002 08:24 AM
Re: Increasing size of LV
Try this:
1)umount the file system
2)lvextend -L new size (in MB) lvname
3)newfs -F filesystem_type rlvname
4)mount file system
You need to unmount the file system before you extend it.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2002 08:25 AM
01-17-2002 08:25 AM
Re: Increasing size of LV
Since you don't have onlineJFS follow these steps to extend LV
1. Verify there is sufficient space in the volume group
vgdisplay -v /dev/vgxx look for Free PE (4Mb physical extents).
If the lvol is not in vg00:
2 umount /dev/vgxx/lvolx
3. lvextend -L size_Mb /dev/vgxx/lvolx
4. extendfs /dev/vgxx/rlvolx
5. mount /dev/vgxx/lvolx
USA...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2002 08:48 AM
01-17-2002 08:48 AM
Re: Increasing size of LV
Dee.