Reread SCSI Diskparameter

Jan-Benedict Glaw jbglaw at lug-owl.de
Tue Sep 2 12:42:15 CEST 2008


On Tue, 2008-09-02 07:56:13 +0200, Frank Matthieß @LUG-OWL <frankm at lug-owl.de> wrote:
> Sowohl auf dem Host als auch im Guest plante ich den Einsatz von LVM.
> Dafür muss der Guest aber seine Partitiontabel neu einlesen. 

Du mußt immer zwei Dinge unterscheiden:

  * Herauszufinden, wie groß eine Platte ist (READ CAPACITY)
  * Erneutes Lesen der Partitionstabelle

Letzteres kannst Du simpel mit `blockdev --rereadpt' machen, wenn
keine Partition in Benutzung ist. Ersteres kann IMHO nicht manuell
angestoßen werden und erfordert ein plug-off/plug-in des Gerätes, was
natürlich nicht geht, wenn noch Dateisysteme live sind...

MfG, JBG

-- 
      Jan-Benedict Glaw      jbglaw at lug-owl.de              +49-172-7608481
 Signature of:                      http://perl.plover.com/Questions.html
 the second  :
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lug-owl.de/pipermail/linux/attachments/20080902/67436c00/attachment.sig>


More information about the Linux mailing list