linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] LVM mirror questions
@ 2010-10-04 23:55 Jay
  2010-10-05  8:02 ` Petr Rockai
  2010-10-05 15:40 ` Phillip Susi
  0 siblings, 2 replies; 11+ messages in thread
From: Jay @ 2010-10-04 23:55 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 1518 bytes --]

Hello,   

What happens to an lvm mirror if the disk log is lost ?   

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).   

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..

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.

What does everyone else do ?

Thank you in advance,
Jason Harris


      

[-- Attachment #2: Type: text/html, Size: 2021 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-10-07 12:14 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-04 23:55 [linux-lvm] LVM mirror questions Jay
2010-10-05  8:02 ` Petr Rockai
2010-10-06 15:50   ` Jay
2010-10-06 16:37     ` Ray Morris
2010-10-06 17:23     ` Petr Rockai
2010-10-05 15:40 ` Phillip Susi
2010-10-06 15:26   ` Jay
2010-10-06 17:03     ` Stuart D. Gathman
2010-10-06 17:40       ` Petr Rockai
2010-10-06 18:57         ` Phillip Susi
2010-10-07 12:14           ` Petr Rockai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).