HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- More Partition Info
Operating System - HP-UX
1833796
Members
4419
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
03-18-2004 04:00 AM
03-18-2004 04:00 AM
More Partition Info
Hello,
I asked on an earlier post how I would resize a partition but now I have another question to ask. How do I find out how much space I have available to extend the partition? Can I just reduce another partition by a few hundred megabytes and then extend the other one and it will automatically pick up the extra unpartitioned space?
Thanks,
Ted
I asked on an earlier post how I would resize a partition but now I have another question to ask. How do I find out how much space I have available to extend the partition? Can I just reduce another partition by a few hundred megabytes and then extend the other one and it will automatically pick up the extra unpartitioned space?
Thanks,
Ted
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2004 04:08 AM
03-18-2004 04:08 AM
Re: More Partition Info
The two main commands you want to look at are:
vgdisplay -v /dev/vg00 (for example)
lvdisplay -v /dev/vg00/lvol1 (for example)
Reducing another logical volume to free up more space is not a good idea, you can end up losing information.
However, it can be done. What I ended up doing when I needed to reduce space on the volume to add to another volume was I tar'd up all the contents in that file system, backed it up, reduced it, then restored the information back again.
That would be the only way to make sure you preserve the contents when reducing the file system.
-Hazem
vgdisplay -v /dev/vg00 (for example)
lvdisplay -v /dev/vg00/lvol1 (for example)
Reducing another logical volume to free up more space is not a good idea, you can end up losing information.
However, it can be done. What I ended up doing when I needed to reduce space on the volume to add to another volume was I tar'd up all the contents in that file system, backed it up, reduced it, then restored the information back again.
That would be the only way to make sure you preserve the contents when reducing the file system.
-Hazem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2004 01:57 AM
03-19-2004 01:57 AM
Re: More Partition Info
Ted,
You also asked earlier if you could do it all through sam. The answer is yes. All of the information you are looking for is in sam.
If you do not have On-Line JFS, from sam you can also boot into single user mode and use sam.
Dave
You also asked earlier if you could do it all through sam. The answer is yes. All of the information you are looking for is in sam.
If you do not have On-Line JFS, from sam you can also boot into single user mode and use sam.
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2004 02:24 AM
03-19-2004 02:24 AM
Re: More Partition Info
if you do a vgdisplay {vgname} that will show you how much space you have left.
# vgdisplay vg00
Look for the following lines.
PE Size 4
Free PE 550
by multipling those you get the amount of free space in that vg. in the example above thats 2.2Gb
However in my example you probably really only have 1.1Gb because vg00 is typically mirrored to 2 disks and you would only use half of that so that you could mirror your LV to the other disk.
So you must keep mirroring in mind if you are mirroring your LV's.
I would not not recommend reducing one to increase another.
# vgdisplay vg00
Look for the following lines.
PE Size 4
Free PE 550
by multipling those you get the amount of free space in that vg. in the example above thats 2.2Gb
However in my example you probably really only have 1.1Gb because vg00 is typically mirrored to 2 disks and you would only use half of that so that you could mirror your LV to the other disk.
So you must keep mirroring in mind if you are mirroring your LV's.
I would not not recommend reducing one to increase another.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP