<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:'times new roman', 'new york', times, serif;font-size:12pt;color:#000000;"><div>Hello, </div><div><br></div><div>What happens to an lvm mirror if the disk log is lost ? </div><div><br></div><div>I am having a hard time understanding Linux lvm ; I created a mirror for my home system, two same-sized drives. I decided to go for a mirror because I have too much space and I thought with the rash of failed hard drives I've had recently, having a mirror would be ideal. I had already installed my linux system, and I already had my /home filesystem in a single stripe/disk lv anyway, all I had to do was to add the other disk and lvcovert. But it wouldn't work, saying I needed to add space on yet a third device for the log. Either that, or I could keep the mirror log in memory.
Lvm would have to rebuild a 1TB mirror every time the system was rebooted if the log was left in memory. That doesn't sound efficient. So. Put the log on disk. I couldn't find an answer in man pages, but if the log is lost, then is the whole mirror lost ? That would mean to have the benefits of a mirror, the log would have to be at least as reliable as the mirror itself (or inconsequential). </div><div><br></div><div>So, another mirror would have to be built of tiny size to hold the log, then lvconvert can be given something like -log disk /dev/vghuh/lvtiny, etc..</div><div><br></div><div>But then for the original mirror to be reliable, the second mirror would need a third mirror for the 2nd mirror's log. Unless it is ok to leave the 2nd mirrors log in memory because it is so small.</div><div><br></div><div>What does everyone else do ?</div><div><br></div><div>Thank you in
advance,</div><div>Jason Harris</div><div style="position:fixed"></div>
</div><br>
</body></html>