Solved

lvreduce problem

Posted on 1997-01-12
1
487 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 100 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

746 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now