- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Logical Volume Space
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-09-2007 08:10 AM
02-09-2007 08:10 AM
Logical Volume Space
I need some removing some space from one logical volume and adding it to another logical volume with my HP-UX box.
For example:
/dev/vg00/lvol3 is full
/dev/vg00/lvol4 is half full
Hence I need to extend the logical volume of lvol3 to share the remaining space in lvol4.
Can someone provide me the steps involved?
Thanks in advance,
GBR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2007 08:17 AM
02-09-2007 08:17 AM
Re: Logical Volume Space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2007 08:17 AM
02-09-2007 08:17 AM
Re: Logical Volume Space
Ignite-UX can be used to resize the root filesystem. This will require downtime.
If you have root mirrored, it would be possible to resize and keep it contiguous... sorry, but I don't have enough time to put down the step by step process to do it. In a nutshell it would involve reducing lvol4 mirror from primary, reduce root mirr from alt. extend root, reduce lvol4 filesystem/lvol, then mirror them back.
depending on your confort level, ignite is the easy way to go.
hope this helps,
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2007 08:19 AM
02-09-2007 08:19 AM
Re: Logical Volume Space
Reducing the size of a filesystem before 11.11 was almost guaranteed to corrupt the filesystem.
1) Use fsadm -F nfs -b to specify a smaller size for the filesystem on lvol4.
2) Use lvreduce to reduce the size of lvol4.
3) Use lvextend to increase the size of lvol3.
4) Use fsadm -F nfs -b to specify a larger size for lvol3.
It would be wise to backup both filesystem first.
If you don't have OnlineJFS or at 11.0 or less then you must backup. Umount lvol4. lvremove lvol4. lvcreate lvol4 at a smaller size. Run newfs on lvol4; mount lvol4; and restore from backup. You can then umount lvol3; lvextend lvol3; extendfs lvol3; and mount lvol3.
All of these commands are documented in the man pages.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2007 08:22 AM
02-09-2007 08:22 AM
Re: Logical Volume Space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2007 09:29 AM
02-11-2007 09:29 AM
Re: Logical Volume Space
lvol3 and lvol4 were hypothetical. Say I'm not working with the root directory.
It is safe to use the VERITAS Enterprise Manager GUI?
And how do I know if I have OnlineJFS?
You help is much appreciated, thanks,
GBR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2007 11:11 AM
02-11-2007 11:11 AM
Re: Logical Volume Space
swlist -l product |grep -i jfs
It is not safe to reduce the size of a logical volume online as you might lose data, however increasing the size online is perfectly ok.
If you have to decrease size of a LV then recoomended way is to take backup of LV then reduce and restore back after that...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2007 12:01 AM
06-12-2007 12:01 AM