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

ntlug@rain4us.net ntlug at rain4us.net
Fri Dec 10 14:59:52 CST 2004


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





More information about the Discuss mailing list