- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Building another volume or partition of 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
08-03-2005 02:34 AM
08-03-2005 02:34 AM
Building another volume or partition of space
Thank you,
Damian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2005 02:41 AM
08-03-2005 02:41 AM
Re: Building another volume or partition of space
Free space in a VG (can be viewed vy vgdisplay) can be shared only between the LVs under same VG .
If you feel that you have enough free space in a VG , you may considering freeing up PV(disk) by using pvmove command.pvmove command can migrate LE used in that PV to the destination PV which you specify .(Note that the destination PV should be in same VG and should have free PE , check by pvdisplay)
Once al the LE from a PV are migrated then do vgreduce and remove the PV and add the PV to the VG you desire by vgextend.
Thanks,
BL.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2005 02:42 AM
08-03-2005 02:42 AM
Re: Building another volume or partition of space
You can reduce filesystems/lvols on-line, only if you have On-Line JFS installed in your system. Otherwise that's not safe to reduce filesystems/lvols, even if you do it off-line.
The alternative is to make a backup of the filesystem, recreate it with a smaller size and then restore data from backup!
Do you have On-Line JFS installed? You may check using:
swlist -l product|grep -i onlinejfs
Enjoy :)
Pedro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2005 02:45 AM
08-03-2005 02:45 AM
Re: Building another volume or partition of space
Any empty PV's in a vg can be reduced with no issue (use pvdisplay -v and lvdisplay -v to verify)
If you have on line JFS you should be able to reduce existing lvols in size. BE VERY careful nd make sure uou have good backups, because there is possibility of data corruption
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2005 02:49 AM
08-03-2005 02:49 AM
Re: Building another volume or partition of space
1.
I'd like to ask You to not mix productive and test data on the same volume group (also: disks), while everything might be fine, it's still just asking for trouble; rather get one or two additional 18-36GB disks for the test environment.
2. the procedure will differ depending on how to space You want to recycle is allocated.
The best way would to look for filesystems You no longer need and wipe them completely.
Reducing filesystems is not safe in most cases. it may be safe if You run a very current version of hp-ux, normally it isn't.
(more specifically: newest fsadm, mkfs and lvm patches, filesystem definitely has to be vxfs version 4 or 5 *and* must not be extremely fragmented)
You shouldn't even try it if it's Your database filesystems where You want to gather the space, or at least not without scheduling downtime for a full restore plus the time for problems. (You can risk a bit, but You need to plan for it.)
It's doable, and I'll gladly help You to get what You want, but when You do the math You'll see that new hardware for the test db is a lot cheaper for Your company than You working all night to fix a small unplanned issue.
If it's a private/testing system anyhow:
For my test installs of Oracle/whatever I just use two firewire harddrives which are nfs-exported from a well-performing server.
The performance is far better than that of the (old) scsi hardware I have to use for critical data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2005 03:02 AM
08-03-2005 03:02 AM
Re: Building another volume or partition of space
Thanks for all your suggestions, and I'll let you know when we get some new disks in there.
Thanks!
Damian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2005 03:30 AM
08-03-2005 03:30 AM
Re: Building another volume or partition of space
fsadm -b "reduced size in KB" /mountpoint
swlist | grep -i jfs to see of you have online jfs
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000067342554
will explain in detail.
Run backups before doing any changes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2005 05:41 AM
08-03-2005 05:41 AM
Re: Building another volume or partition of space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2005 07:08 PM
08-03-2005 07:08 PM
Re: Building another volume or partition of space
1.backup your data on the large space vg.
2.backup your data on the small space vg.
3.get the unused pv of the large vg.
4.move pv of the large vg.
5.add pv to your current vg.
6.create new lv .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2005 07:24 PM
08-03-2005 07:24 PM
Re: Building another volume or partition of space
Following command will give you total free space available in all the disks. If you can manage with multiple LV's of different sizes rather than one huge LV, I think you can create multiple LVs in the free spaces of different VG's if available.
#pvdisplay -v /dev/dsk/* |grep free |wc -l
This will display only free physical extents.
Apart from this you can also have free disks available as well.
Also post "strings /etc/lvmtab" & "ls -l /dev/dsk/*"
HTH,
Devender