Anzeige:
Ergebnis 1 bis 2 von 2

Thema: LVM Volume Group Festplatte entfernen

  1. #1
    Registrierter Benutzer Avatar von sam600
    Registriert seit
    Sep 2007
    Beiträge
    341

    LVM Volume Group Festplatte entfernen

    Hallo

    Ich moechte aus einer Volumen Group eine Festplatte / Partiton löschen bzw. wieder entfernen.

    Was ich gemacht habe:
    Code:
    pcvcreate /dev/xvdc4
    vgextend cad /dev/xvdc4
    lvextend -l +100%FREE /dev/cad/cad
    Danach habe ich festgestellt, das ich die falsche Partiotion hinzugefuegt habe.

    Wie kann ich diese wieder entfernen?

    Aktuelle sieht es so aus:

    lvs:
    Code:
    cad             cad             -wi-ao 799,91G

    pvs:
    Code:
      /dev/xvdc1 data        lvm2 a-   249,97G      0
      /dev/xvdc2 data        lvm2 a-   149,97G      0
      /dev/xvdc4 cad             lvm2 a-   200,00G      0
      /dev/xvdf1 cad             lvm2 a-   144,97G      0
      /dev/xvdf2 cad             lvm2 a-   104,97G      0
      /dev/xvdf3 cad             lvm2 a-   149,97G      0
      /dev/xvdf4 cad             lvm2 a-   200,00G      0
    lvdisplay
    Code:
     --- Logical volume ---
      LV Name                /dev/cad/cad
      VG Name                cad
      LV UUID                wnIKk3-1fqM-VI9l-dpLH-0mc3-LOib-EKlfM3
      LV Write Access        read/write
      LV Status              available
      # open                 1
      LV Size                799,91 GB
      Current LE             25597
      Segments               5
      Allocation             inherit
      Read ahead sectors     auto
      - currently set to     256

    vgs
    Code:
     vgs
      VG              #PV #LV #SN Attr   VSize   VFree
      cad               5   1   0 wz--n- 799,91G      0
    pvdisplay
    Code:
     --- Physical volume ---
      PV Name               /dev/xvdc4
      VG Name               cad
      PV Size               200,01 GB / not usable 5,22 MB
      Allocatable           yes (but full)
      PE Size (KByte)       32768
      Total PE              6400
      Free PE               0
      Allocated PE          6400
      PV UUID               ww1Sgj-mObU-qMwW-XPNS-3EB5-1Uui-2kQozx

    Das Dateisystem ext4 habe ich noch nicht vergrössert


    Vielen Dank
    Geändert von sam600 (26.07.16 um 06:33 Uhr)

  2. #2
    Registrierter Benutzer
    Registriert seit
    Jun 2003
    Beiträge
    578
    gruss sys;-)

Ähnliche Themen

  1. Volume Group verkleinern
    Von Grex im Forum Linux Allgemein
    Antworten: 3
    Letzter Beitrag: 16.10.12, 08:57
  2. Pending sektors in einer Volume-Group
    Von smartysmart34 im Forum System installieren und konfigurieren
    Antworten: 3
    Letzter Beitrag: 05.04.10, 06:45
  3. LVM2 volume group PE-Size Empfehlung?
    Von smiler im Forum Linux Allgemein
    Antworten: 4
    Letzter Beitrag: 06.06.08, 21:57
  4. problem mit partition + Volume group
    Von basti1985 im Forum stationäre Hardware
    Antworten: 3
    Letzter Beitrag: 11.07.07, 22:10
  5. Volume Group erstellen
    Von TotalerAnfänger im Forum System installieren und konfigurieren
    Antworten: 2
    Letzter Beitrag: 16.10.03, 09:53

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •