linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Starting a RADI1 array after the filesystem has being used through LVM?
@ 2012-02-20 15:22 Danilo Godec
  2012-02-21 12:27 ` Phil Turmel
  0 siblings, 1 reply; 2+ messages in thread
From: Danilo Godec @ 2012-02-20 15:22 UTC (permalink / raw)
  To: linux-raid

Hello,

one of my servers uses two iSCSI volumes in a RAID1 array with LVM on 
top. Apparently the RADI1 array wasn't properly started on the last 
reboot, but LVM still detected both partitions on physical disks as PV's 
and simply used one of them (seen as /dev/sdb1).

Unfortunately, this gone by unnoticed and has been runnig like that for 
some time.

The size of the volume is 7TB (with 5TB used), so I'd like to do with as 
little downtime as possible.

The question is - is it safe to simply stop LVM, start the array in 
degraded mode with the 'current' disk (/dev/sdb1), start LVM and then 
re-add the 'non-current' one (/dev/sda1)?

Also - how can I prevent LVM from using these two partitions directly? 
I'd rather see the server startup fail then silently do wrong...  I 
already have the 'md_component_detection = 1' option in my 'lvm.conf'.



    Thanks, Danilo


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

end of thread, other threads:[~2012-02-21 12:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-20 15:22 Starting a RADI1 array after the filesystem has being used through LVM? Danilo Godec
2012-02-21 12:27 ` Phil Turmel

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