Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Have anybody experienced removing hard drives from active LVM group, and put them back after a while? (By remove I mean physical remove or remove from VM configuration if you use virtualization)

Is there any chance that data will not be completely corrupt?

share|improve this question

closed as not a real question by Tom O'Connor, Magellan, Ward, rnxrx, Michael Hampton Oct 14 '12 at 20:59

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

In that very case you're talking bout NOT removing from active LVM — just by definition. And this would be weird in any case, so question is kinda pointless. – poige Apr 28 '12 at 11:13
What? I don't even... – Tom O'Connor Apr 28 '12 at 12:33
up vote 0 down vote accepted

in LVM this operation stable and no have chance to fail.

share|improve this answer
It should be so. But I have to know for sure. Because there some dirty blocks in buffers and so on. Also kernel and lvm itself probably have some tables\descriptors which could brake after this operation. – st0ne_c0ld Apr 28 '12 at 11:06
Ok, checked this by myself. When you remove physical devices from lvm group,volumes of this group become read-only. And (I do not understand why) the checksum of the files is the same even if I try to check it with one device missing in VG. – st0ne_c0ld Apr 28 '12 at 11:48
@st0ne_c0ld if you want remove and add, you can make export/import lvm – askovpen Apr 28 '12 at 11:55
I know about the "normal way". But some Friday evening "__it could happen". And it is better to know how exactly the system handle the situation... :) – st0ne_c0ld Apr 28 '12 at 12:17

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