Working with volumes/fr: Difference between revisions

Updating to match new version of source page
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 44: Line 44:
* '''Mounting''' is the process of mapping the volume's directory and file structure logically within the VM's directory and file structure.
* '''Mounting''' is the process of mapping the volume's directory and file structure logically within the VM's directory and file structure.
* To mount the volume, use a command similar to <code>[name@server ~]$ sudo mount /dev/vdb1 /mnt</code> depending on the device name, disk layout, and the desired mount point in your filesystem.
* To mount the volume, use a command similar to <code>[name@server ~]$ sudo mount /dev/vdb1 /mnt</code> depending on the device name, disk layout, and the desired mount point in your filesystem.
This command makes the volume's directory and file structure available under the VM's /mnt directory.
This command makes the volume's directory and file structure available under the VM's /mnt directory. However, when the virtual machine reboots, the volume will need to be re-mounted using the same <code>mount</code> command.
 
It is possible to automatically mount volumes when a virtual machine boots. This requires editing the file `/etc/fstab` to contain a new line with details about how the volume should be mounted. For more details about how to edit this file see this [https://help.ubuntu.com/community/Fstab Ubuntu community help page].


=Démarrer depuis un volume=
=Démarrer depuis un volume=
38,789

edits