mv hard drives with lvm/selinux ?

Justin Conover justin.conover at gmail.com
Sat Mar 12 15:07:04 UTC 2005


This kind of brings up another question, if I create a raid 5 with 3
or 4 disk and have my system only one 1 disk, and that one disk blows
up.  Will it be easy to replace that disk and see the
raid5/lvm/selinux files?  Or should I take the caution and put my
system in a raid 1 too.

thx


On Wed, 9 Mar 2005 07:16:56 -0600, Justin Conover
<justin.conover at gmail.com> wrote:
> I might not have to move the box after all, so I can put this test off
> for now.  Thanks for your input though.
> 
> 
> On Tue, 08 Mar 2005 13:23:13 -0500, Colin Walters <walters at redhat.com> wrote:
> > On Tue, 2005-03-08 at 11:53 -0600, Justin Conover wrote:
> > > Just wondering if i'm going to move 2x160GB sata drives in raid 1 that
> > > are on there own volume with SELinux turned on.  Can I simply move
> > > these to another box and be able to read them or does this become
> > > really tricky?
> >
> > If you use mv, cp -a --preserve=all, or rsync -X, security contexts of
> > files should be preserved.
> >
> > However, if you have a default FC3 install you're already using LVM, you
> > might consider simply placing the raid device as part of your existing
> > volume group, and not worrying about copying/moving data around.  At
> > least if it works to do RAID under LVM :)
> >
> >
>




More information about the fedora-selinux-list mailing list