Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

lvreduce problem

Posted on 1997-01-12
1
Medium Priority
?
518 Views
Last Modified: 2013-12-16
I am trying to reduce the size of a logical volume, but lvreduce keeps giving me errors.  I have rebooted to single-user mode, but am told that data will be lost.  What is the proper procedure for reducing the size of a logical volume in HPUX 10.20?
0
Comment
Question by:SAGEM
1 Comment
 

Accepted Solution

by:
dcarrigan earned 200 total points
ID: 1811770
The LVM has no way to know which extents it manages contain useful data. Thus, if you reduce the size of the LV you could be removing extents which are actually part of the filesystem that was created on the LV. If you have no useful data on the LV, go ahead and change the size and then create a new filesystem. If you do have useful data, back up the filesystem, change the size of the LV, create a new filesystem, and restore the backed up data.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses
Course of the Month9 days, 20 hours left to enroll

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question