Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Does resizing a logical volume with lvextend and e2resize destroy data already on the volume?

See also this related unanswered question and some examples of the process: Can I resize the root partition without uninstalling and reinstalling Linux (or losing data)?

share|improve this question
    
What's "unanswered" about the related question? What would be the point of e2resize if it destroyed data? –  Mat Oct 24 '12 at 10:51
    
@Mat: The question explains how to resize, not whether data is preserved or not. I agree that it would be more useful to preserve data but computers being what they are, there may be circumstances in which data is not preserved. Well worth understanding fully if production data is at stake. –  Thomas Bratt Oct 24 '12 at 17:59
add comment

1 Answer

Resizing logical volumes will not destroy your data. See the following link https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Logical_Volume_Manager_Administration/index.html

share|improve this answer
    
+1: Great reference, thanks! –  Thomas Bratt Oct 24 '12 at 18:04
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.