- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvreduce on hpux 10.20
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
06-07-2002 02:57 PM
06-07-2002 02:57 PM
lvreduce on hpux 10.20
I have a problem in hp-ux release 10.20 .on my HP K380 server
I made a mistake when I choose to lvextand my logical volume on my volume
group in fact I just needed to make a vgextand .
The file system allways have the same size.
So, now I need to make a lvreduce without erasing data on this file system
in this logical volume.
My question is :
is it possible to make a lvreduce on a logical volume after we make a
lvextand without loose any data in the file system,if we don't increase in
the same time
the size of this file system?
Please somebody can help me?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2002 03:52 PM
06-07-2002 03:52 PM
Re: lvreduce on hpux 10.20
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2002 03:53 PM
06-07-2002 03:53 PM
Re: lvreduce on hpux 10.20
After you're done just lvreduce it to it's original size (you MUST be sure what was the LV size before it was extended).
# lvreduce -L
For example .. if the original size of your LV (lvol3 in vg02) is 800MB, you would ..
# lvreduce -L 800 /dev/vg02/lvol3
When you run lvreduce it'll prompt for a yes/no confirmation, proceed with "yes". Check it afterwards ..
# vgdisplay -v vg02 | more
Assumption made :- the LV is not mirrored.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2002 08:05 PM
06-07-2002 08:05 PM
Re: lvreduce on hpux 10.20
As long as you have not run extendfs you dont have a problem.
You can do a lvreduce
#lvreduce -L 500 /dev/vg02/lvol2
500MB is the orignial size of fs.
Pls backup the data since sometimes there is a possibilty that a data loss can occur.
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2002 12:27 AM
06-10-2002 12:27 AM
Re: lvreduce on hpux 10.20
OK.. By mistake U have increased the FS? Right? Now Just checkup where U are
#bdf |grep
Here FS is the file system which U are trying to reduce.
If the size is old size (means the original size), then U can very well decrease the lvol size. If Fs size is new size (means inceased size) then U will have to back up the data and proceed with lvreduce.
Best of luck
Shahul