Re: Question about LVM and RAID

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kanwar Ranbir Sandhu wrote:
> Hi All,
> 
> I have an external drive cage which has been configured with two
> separate RAID 5 arrays.  I then used LVM to create two PVs, and then
> added the volumes together under one VG.  The whole shebang is mounted
> on one file system (/srv).
> 
> What would happen if one of the RAID arrays failed (e.g. two drives die
> in RAID 5 array 1)?  Would the data be safe, would I lose all data, or
> would I just lose the data that was on the failed array?
> 
> I believe I would only lose the data on the failed array, but a friend
> believe I would lose the whole lot.
> 
> Thanks in advance!
> 
> Regards,
> 
> Ranbir
Because they are one file system, it is hard to predict exactly what
you would lose, but in any case, recovering the data from the
remaining array would be interesting. I could be wrong, but I don't
believe there is anything in the LVM code that would prevent a file
from spanning the two RAID arrays making up the VG. So you can
figure you are going to lose any files that span the drives. (You
may be able to recover part of the file...)

You may want to start looking into LVM recovery tools now, before
you run into a problem. (And keep good backups.)

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux