- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to extend lvol using space from unused lvol
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
08-27-2010 11:44 PM
08-27-2010 11:44 PM
I want to extend /dev/vg00/lvol5 using space from /dev/vg00/lvol4 which is unused. vg00 is using only one physical volume which is /dev/dsk/c2t0d0. How should I do it?
Regards,
Robert Peregrin
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2010 01:41 AM
08-28-2010 01:41 AM
Solutionwhat is the FS mounted on /dev/vg00/lvol4.
have you online JFS?
if you have free space in VG this straight forward adnd have online JFS
a) lvextend -L
b) fsadm -b
there are various way to do the same.
take a backup of /dev/vg00/lvol4.
if so you have
1)do a defrag on the FS:
fsadm -dD -eE /dev/vg00/lvol4
Reduce the FS:
2) fsadm -b
if that is successful,
3) lvreduce -L
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2010 01:42 AM
08-28-2010 01:42 AM
Re: How to extend lvol using space from unused lvol
what is the FS mounted on /dev/vg00/lvol5.
have you online JFS?
if you have free space in VG this straight forward adnd have online JFS
a) lvextend -L
b) fsadm -b
there are various way to do the same.
take a backup of /dev/vg00/lvol4.
if so you have
1)do a defrag on the FS:
fsadm -dD -eE /dev/vg00/lvol4
Reduce the FS:
2) fsadm -b
if that is successful,
3) lvreduce -L
follow this by:
a) lvextend -L
b) fsadm -b
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2010 02:06 AM
08-28-2010 02:06 AM
Re: How to extend lvol using space from unused lvol
lvol5 is used for /opt and lvol4 is used for /home.
Do I have to reboot the machine after the changes you suggested?
Regards,
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2010 02:18 AM
08-29-2010 02:18 AM
Re: How to extend lvol using space from unused lvol
No reboot is not required, this is all online activity.
Regards,
Ali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2010 03:16 AM
08-30-2010 03:16 AM
Re: How to extend lvol using space from unused lvol
One more question. I have VxFS in the 2 logical volumes that I will work with. JFS is equivalent to VxFS in HPUXX right? If yes, then the procedure you provided should apply to the file system I have on the server.
Regards,
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2010 04:47 AM
08-30-2010 04:47 AM
Re: How to extend lvol using space from unused lvol
if you have online jfs then use the folowing
fsadm -b
lvreduce -L
if not then,
umount the FS
use extendfs , go through the man page
lvreduce -L
mount the FS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2010 12:03 AM
10-03-2010 12:03 AM
Re: How to extend lvol using space from unused lvol
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2010 12:04 AM
10-03-2010 12:04 AM