• [^] # Re: Un VG monté comme un FS ??!!

    Posté par . En réponse au message Le mystère des systèmes de fichier cachés. Évalué à 2.

    Bah oui, /dev/mapper/vg-root est une partition : le VG c'est "vg", et le LV, c'est "root" ;-).
    C'est à cause du mapper que c'est affiché de cette manière, normalement, ça devrait être "/dev/vg/root".

    D'ailleurs, c'est vrai que j'aurais pu mettre les caractéristiques LVM, je n'y ai pas pensé :


    nanoha:~# vgdisplay
    --- Volume group ---
    VG Name vg
    System ID
    Format lvm2
    Metadata Areas 1
    Metadata Sequence No 6
    VG Access read/write
    VG Status resizable
    MAX LV 0
    Cur LV 5
    Open LV 5
    Max PV 0
    Cur PV 1
    Act PV 1
    VG Size 18,55 GB
    PE Size 4,00 MB
    Total PE 4749
    Alloc PE / Size 4749 / 18,55 GB
    Free PE / Size 0 / 0
    VG UUID yeyUmP-edZF-8fGz-fZV0-2Qwl-3tei-qM7oko



    nanoha:~# pvdisplay
    --- Physical volume ---
    PV Name /dev/hda2
    VG Name vg
    PV Size 18,55 GB / not usable 0
    Allocatable yes (but full)
    PE Size (KByte) 4096
    Total PE 4749
    Free PE 0
    Allocated PE 4749
    PV UUID bC15JG-B8yd-SNT3-zHrg-T75G-8Z2o-wbQsE4



    nanoha:~# lvdisplay
    --- Logical volume ---
    LV Name /dev/vg/root
    VG Name vg
    LV UUID roA4uQ-AmFO-6UzH-9Di6-IM6I-3c1T-BF31q5
    LV Write Access read/write
    LV Status available
    # open 1
    LV Size 3,00 GB
    Current LE 768
    Segments 1
    Allocation inherit
    Read ahead sectors 0
    Block device 254:0

    --- Logical volume ---
    LV Name /dev/vg/tmp
    VG Name vg
    LV UUID 5Zr9M8-4arP-Yh67-if16-sdS5-olCR-LITQIW
    LV Write Access read/write
    LV Status available
    # open 1
    LV Size 2,00 GB
    Current LE 512
    Segments 1
    Allocation inherit
    Read ahead sectors 0
    Block device 254:1

    --- Logical volume ---
    LV Name /dev/vg/var
    VG Name vg
    LV UUID uUcAjG-O5nb-PEl8-XBlt-MfbP-PEkD-ZhZJQR
    LV Write Access read/write
    LV Status available
    # open 1
    LV Size 3,00 GB
    Current LE 768
    Segments 1
    Allocation inherit
    Read ahead sectors 0
    Block device 254:2

    --- Logical volume ---
    LV Name /dev/vg/swap
    VG Name vg
    LV UUID 3N9T9S-owj3-T9oD-DvtI-LCJF-l5L4-4uog6n
    LV Write Access read/write
    LV Status available
    # open 2
    LV Size 800,00 MB
    Current LE 200
    Segments 1
    Allocation inherit
    Read ahead sectors 0
    Block device 254:3

    --- Logical volume ---
    LV Name /dev/vg/home
    VG Name vg
    LV UUID 4wh44a-b9T3-hOe9-ls3z-g3fD-exth-svsmK7
    LV Write Access read/write
    LV Status available
    # open 1
    LV Size 9,77 GB
    Current LE 2501
    Segments 1
    Allocation inherit
    Read ahead sectors 0
    Block device 254:4

    Article Quarante-Deux : Toute personne dépassant un kilomètre de haut doit quitter le Tribunal. -- Le Roi de Cœur