[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Hilfe! Volume Group gelöscht :-(



Am Dienstag 01 Januar 2008 16:33:51 schrieb Andreas Pakulat:
> Ok, ich hoffe mal fuer dich das das PV mit der uuid das ist das du
> "zerstoert" hast. Ist aber kein allzu grosses Problem. Lass nochmal
> pvcreate auf die Partition los, diesmal aber mit dem Schalter --uuid
> "kBfknT-..." damit die neue PV die erwartete UUID bekommt. Dann nochmal
> die VG Metadaten restaurieren.
Bist'n Schatz! :-x
| -----------------------------------------------------------------
# pvcreate /dev/dm-2 --uuid kBfknT-26IO-mhYy-oOBy-BBn5-X0fM-hiill7
  Physical volume "/dev/dm-2" successfully created

| -----------------------------------------------------------------
# pvdisplay
  --- Physical volume ---
  PV Name               /dev/dm-2
  VG Name               server-dom0
  PV Size               28,52 GB / not usable 0
  Allocatable           yes
  PE Size (KByte)       4096
  Total PE              7302
  Free PE               2914
  Allocated PE          4388
  PV UUID               kBfknT-26IO-mhYy-oOBy-BBn5-X0fM-hiill7

  --- Physical volume ---
  PV Name               /dev/hde1
  VG Name               store
  PV Size               189,91 GB / not usable 0
  Allocatable           yes (but full)
  PE Size (KByte)       4096
  Total PE              48618
  Free PE               0
  Allocated PE          48618
  PV UUID               MGJzMf-Y6qU-lVo3-OVlX-jjpx-uOhX-VQkRgz

  --- Physical volume ---
  PV Name               /dev/hdg1
  VG Name               store
  PV Size               279,47 GB / not usable 0
  Allocatable           yes (but full)
  PE Size (KByte)       4096
  Total PE              71545
  Free PE               0
  Allocated PE          71545
  PV UUID               68XZsv-fErS-psOm-Tuab-1bsy-6oAP-yVOBIc

  --- Physical volume ---
  PV Name               /dev/sda1
  VG Name               store
  PV Size               372,61 GB / not usable 0
  Allocatable           yes (but full)
  PE Size (KByte)       4096
  Total PE              95387
  Free PE               0
  Allocated PE          95387
  PV UUID               3Lqc2L-mPYe-zEPJ-kQiF-P7pd-OTFK-lrjvMF

| -----------------------------------------------------------------
# lvdisplay
  --- Logical volume ---
  LV Name                /dev/server-dom0/root
  VG Name                server-dom0
  LV UUID                4xNHIn-8iwq-GPmS-Q8qz-9rCh-IeGo-TrM03R
  LV Write Access        read/write
  LV Status              NOT available
  LV Size                6,24 GB
  Current LE             1598
  Segments               1
  Allocation             inherit
  Read ahead sectors     0

  --- Logical volume ---
  LV Name                /dev/server-dom0/swap_1
  VG Name                server-dom0
  LV UUID                Kz8Y0T-h2Yq-xElr-vcxH-XFtz-wWWc-fBa1uk
  LV Write Access        read/write
  LV Status              NOT available
  LV Size                888,00 MB
  Current LE             222
  Segments               1
  Allocation             inherit
  Read ahead sectors     0

  --- Logical volume ---
  LV Name                /dev/server-dom0/vdr_lv_root
  VG Name                server-dom0
  LV UUID                zXALJ0-Fh6G-Z7kg-99DA-c7If-JAVg-y5aAiA
  LV Write Access        read/write
  LV Status              NOT available
  LV Size                2,00 GB
  Current LE             512
  Segments               1
  Allocation             inherit
  Read ahead sectors     0

  --- Logical volume ---
  LV Name                /dev/server-dom0/vdr_lv_swap
  VG Name                server-dom0
  LV UUID                rADOkC-6n6d-LQ8k-jGpN-bzbs-TXPe-XhyPW1
  LV Write Access        read/write
  LV Status              NOT available
  LV Size                256,00 MB
  Current LE             64
  Segments               1
  Allocation             inherit
  Read ahead sectors     0

  --- Logical volume ---
  LV Name                /dev/server-dom0/openxchange_lv_root
  VG Name                server-dom0
  LV UUID                3M036p-S3dN-BqR7-WJV1-OQ3a-9NVN-PlTqCS
  LV Write Access        read/write
  LV Status              NOT available
  LV Size                2,00 GB
  Current LE             512
  Segments               1
  Allocation             inherit
  Read ahead sectors     0

  --- Logical volume ---
  LV Name                /dev/server-dom0/openxchange_lv_swap
  VG Name                server-dom0
  LV UUID                KNkBg7-Jkjd-CTF5-FXZN-U3te-2XdI-WnInx0
  LV Write Access        read/write
  LV Status              NOT available
  LV Size                128,00 MB
  Current LE             32
  Segments               1
  Allocation             inherit
  Read ahead sectors     0

  --- Logical volume ---
  LV Name                /dev/server-dom0/slogger_lv_root
  VG Name                server-dom0
  LV UUID                ZTBIIJ-rkSU-mgzv-SsZv-lRqc-2KBY-9E1BB0
  LV Write Access        read/write
  LV Status              NOT available
  LV Size                4,00 GB
  Current LE             1024
  Segments               1
  Allocation             inherit
  Read ahead sectors     0

  --- Logical volume ---
  LV Name                /dev/server-dom0/slogger_lv_swap
  VG Name                server-dom0
  LV UUID                HkLLCf-U30p-HmLw-FxjA-8t1K-w6Fy-M4vna9
  LV Write Access        read/write
  LV Status              NOT available
  LV Size                512,00 MB
  Current LE             128
  Segments               1
  Allocation             inherit
  Read ahead sectors     0

  --- Logical volume ---
  LV Name                /dev/server-dom0/endianlv_root
  VG Name                server-dom0
  LV UUID                X44aBm-tx1z-g1CT-40eu-Nsg4-2gHG-6jF0W9
  LV Write Access        read/write
  LV Status              NOT available
  LV Size                512,00 MB
  Current LE             128
  Segments               1
  Allocation             inherit
  Read ahead sectors     0

  --- Logical volume ---
  LV Name                /dev/server-dom0/endianlv_boot
  VG Name                server-dom0
  LV UUID                idzbYZ-62lu-sRnd-3FwM-DGPX-ypzE-O0cOE2
  LV Write Access        read/write
  LV Status              NOT available
  LV Size                32,00 MB
  Current LE             8
  Segments               1
  Allocation             inherit
  Read ahead sectors     0

  --- Logical volume ---
  LV Name                /dev/server-dom0/endianlv_swap
  VG Name                server-dom0
  LV UUID                4HPo3W-0vnr-sS3V-1q20-Y2mK-XZI1-DFgLfZ
  LV Write Access        read/write
  LV Status              NOT available
  LV Size                128,00 MB
  Current LE             32
  Segments               1
  Allocation             inherit
  Read ahead sectors     0

  --- Logical volume ---
  LV Name                /dev/server-dom0/endianlv_var
  VG Name                server-dom0
  LV UUID                lfLtbR-a7Rb-9DUS-8SPA-ttdT-hJNB-Ppejvi
  LV Write Access        read/write
  LV Status              NOT available
  LV Size                512,00 MB
  Current LE             128
  Segments               1
  Allocation             inherit
  Read ahead sectors     0

  --- Logical volume ---
  LV Name                /dev/store/whole
  VG Name                store
  LV UUID                0ZqCcF-QyXi-343q-VC1O-qfbJ-Moig-g5fYk2
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                841,99 GB
  Current LE             215550
  Segments               3
  Allocation             inherit
  Read ahead sectors     0
  Block device           254:3
| -----------------------------------------------------------------

# vgchange -ay server-dom0
12 logical volume(s) in volume group "server-dom0" now active
| -----------------------------------------------------------------

Ist alles da. Habe mal alles (bis auf swap versteht sich) gemountet, 
reingeguckt, unmountet.
Jetzt check ich alles ohne Spieltrieb ;-)
Dumme Schluss-Frage:
Kann ich das System nun bedenkenlos rebooten und annehmen, dass Alles in 
geordneten Bahnen läuft?

> Andreas
MfG, Chris.....


Reply to: