[linux-lvm] Protection of used scsi disks by LVM
Heinz Mauelshagen
mauelsha at ez-darmstadt.telekom.de
Thu Apr 27 13:14:44 UTC 2000
Hi Sergey.
>
> Hello,
>
> I have a question :
> Why does LVM not protect the scsi devices which are used for volumes ?
>
Because it can't.
The only way would be to remove then underlying devices from the genhd
in the kernel, which obviously is not a good idea(tm) ;-{)
> I can easily go to /dev/sda1 for example, and erase everything on it.
These are the UNIX/Linux semantics.
If one has the file/device special permission one can do every kind
of stupid things which come to ones mind.
>
> Of course it is a stupid thing to do, but there is a minimal requirement on
> protection, isn't it ?
>
Yes, you are right.
but IMHO there's no way today with the existing kernel implementation.
> I cannot think about the way to protect it, because LVM uses those disks as
> every other programs.
>
> Any ideas ?
>
Regards,
Heinz
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Systemmanagement TS T-Nova
Entwicklungszentrum Darmstadt
Heinz Mauelshagen Otto-Roehm-Strasse 71c
Senior Systems Engineer Postfach 10 05 41
64205 Darmstadt
mge at EZ-Darmstadt.Telekom.de Germany
+49 6151 886-425
FAX-386
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
More information about the linux-lvm
mailing list