Belkin XM Commander Manuale Utente Pagina 27

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 56
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 26
Chapter 5
Domain Filesystem Storage
It is possible to directly export any Linux block device in dom0 to another domain, or
to export filesystems / devices to virtual machines using standard network protocols
(e.g. NBD, iSCSI, NFS, etc). This chapter covers some of the possibilities.
5.1 Exporting Physical Devices as VBDs
One of the simplest configurations is to directly export individual partitions from do-
main 0 to other domains. To achieve this use the phy: specifier in your domain
configuration file. For example a line like
disk = [’phy:hda3,sda1,w’]
specifies that the partition /dev/hda3 in domain 0 should be exported read-write to
the new domain as /dev/sda1; one could equally well export it as /dev/hda or
/dev/sdb5 should one wish.
In addition to local disks and partitions, it is possible to export any device that Linux
considers to be “a disk” in the same manner. For example, if you have iSCSI disks or
GNBD volumes imported into domain 0 you can export these to other domains using
the phy: disk syntax. E.g.:
disk = [’phy:vg/lvm1,sda2,w’]
Warning: Block device sharing
Block devices should typically only be shared between domains in a read-
only fashion otherwise the Linux kernel’s file systems will get very con-
fused as the file system structure may change underneath them (having
the same ext3 partition mounted rw twice is a sure fire way to cause ir-
reparable damage)! Xend will attempt to prevent you from doing this
by checking that the device is not mounted read-write in domain 0, and
hasn’t already been exported read-write to another domain. If you want
21
Vedere la pagina 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 ... 55 56

Commenti su questo manuale

Nessun commento