Prima pagina Indietro Avanti Ultima pagina Panoramica Immagine

LVM /3

3. definire un volume logico in mirror

Dai file ai blocchi del disco

root@linuxday2022:~# lvcreate --type mirror --mirrors 1 --size 5G --name lv1 vg

Logical volume "lv1" created.

root@linuxday2022:~# lvdisplay /dev/vg/lv1

--- Logical volume ---

LV Path /dev/vg/lv1

LV Name lv1

VG Name vg

LV UUID tocbgq-1ac1-2uhu-0UQS-KaCz-QjzI-1jMpb9

LV Write Access read/write

LV Creation host, time linuxday2022, 2022-10-22 08:38:14 +0200

LV Status available

# open 0

LV Size 5,00 GiB

Current LE 1280

Mirrored volumes 2

Segments 1

Allocation inherit

Read ahead sectors auto

- currently set to 256

Block device 252:3