[NTLUG:Discuss] How do I protect drives configured with LVM from fdisk?

brad angelcyk bradangelcyk at gmail.com
Fri Dec 10 15:22:44 CST 2004


mv /sbin/fdisk /sbin/fdisk.real; echo echo see richard > /sbin/fdisk;
chmod 755 /sbin/fdisk

Either that or make sure you hire experienced admins who will actually
LEARN the setup before he/she decides to change something on the
system.  Perhaps one that will also discuss changes with other admins
before he takes it upon himself to change something potentially
dangerous.

Brad


On Fri, 10 Dec 2004 14:59:52 -0600 (CST), ntlug at rain4us.net
<ntlug at rain4us.net> wrote:
> I've been working with an LVM2 solution using a bank of eight 250gig SATA
> drives on a 3ware controller.  I'm getting pretty comfortable with using
> LVM as a solution, but I have just ONE concern.  An inexperienced netadmin
> could come in, see available unpartitioned disk space as reported by
> fdisk/cfdisk and proceed to wipe out an LVM volume.
> 
> As a test, I created an LVM volume un an unpartitioned drive... proceded
> to partition it via cfdisk, mkreiserfs the volume, and mount it.  All went
> well..except I lost the test files on my LVM'ed volume.
> 
> How does one protect the disks being used by LVM from the ravages of those
> uninitiated to the glories of LVM?  --or-- am I missing an important step
> in the creation of my PE/VG/LVs?
> 
> --
> Richard
> 
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
>



More information about the Discuss mailing list