- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How do I recover disk space after lvremove without...
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
Discussions
Discussions
Forums
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
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
тАО12-02-2003 12:18 AM
тАО12-02-2003 12:18 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2003 12:26 AM
тАО12-02-2003 12:26 AM
Re: How do I recover disk space after lvremove without lvreduce
did you want to remove the logical volume? then you do not need to lvreduce, and you should have all disk space available, vgdisplay should tell you so.
Or did you *not* want to remove the logical volume but only reduce the size or mirroring of an lvol?
Regards,
Bernhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2003 12:26 AM
тАО12-02-2003 12:26 AM
Re: How do I recover disk space after lvremove without lvreduce
Could you give us the commands you have used ?
Kind regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2003 12:42 AM
тАО12-02-2003 12:42 AM
Re: How do I recover disk space after lvremove without lvreduce
lvremove -f /dev/vg01/u03
this logical volume was 12754 extents
However when I run vgdisplay on vg01 it shows only 2331 extents free, the same as before I removed the volume ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2003 12:46 AM
тАО12-02-2003 12:46 AM
Re: How do I recover disk space after lvremove without lvreduce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2003 12:47 AM
тАО12-02-2003 12:47 AM
Re: How do I recover disk space after lvremove without lvreduce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2003 12:52 AM
тАО12-02-2003 12:52 AM
Re: How do I recover disk space after lvremove without lvreduce
if you use -f you are not asked for confirmation, however, if the lvol has a mounted filesystem or the raw volume is in use you lvreduce will give an appropriate error message an *not* remove the lvol.
So in fact, pls run
ll /dev/vg01 an post the result
then run lvdisplay /dev/vg01/u3 and post the result
Regards,
Bernhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2003 01:00 AM
тАО12-02-2003 01:00 AM
Re: How do I recover disk space after lvremove without lvreduce
vgdisplay -v vg01
If space is not released, then it must be allocated to some lvol... let's find to which cXtYdZ disks belonged that lvol, and then issue a
pvdisplay -v /dev/rdsk/cXtYdZ | more
The result should show wheter the lvol still allocates the PE or not...
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2003 01:36 AM
тАО12-02-2003 01:36 AM
Re: How do I recover disk space after lvremove without lvreduce
26739 current ??? 08326
26740 current ??? 08327
26741 current ??? 08328
26742 current ??? 08329
26743 current ??? 08330
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2003 01:48 AM
тАО12-02-2003 01:48 AM
Solutioncheck this thread
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=279029
Regards,
Bernhard