LVM 사용하는데 정전후 정상적인 인식을 하지 못합니다.

panter의 이미지

sdb1 sdc1 sdd1 의 하드를 lvm으로 묶어서 사용중인데.
정전후 리부팅후 lvm파티션이 사라졌습니다.

fdisk로 각하드를 확인해보면 하드는 모두 인식해 있습니다.

# pvscan
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- no valid physical volumes found

# vgscan
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: This program does not do a VGDA backup of your volume group

lvm에 관련하여 모든것이 사라져 버린듯합니다.
PV조차 없다고 나오니 난감하네요.

이거 복구할 방법이 없을까요

pvdata해보니 아래와 같이 나옵니다.

# pvdata /dev/sdb1

--- NEW Physical volume ---
PV Name /dev/sdb1
VG Name
PV Size 17.09 GB [35842016 secs]
PV# 0
PV Status NOT available
Allocatable NO
Cur LV 0
PE Size (KByte) 0
Total PE 0
Free PE 0
Allocated PE 0
PV UUID kjDnF1-tZEw-rXwA-QIpB-w61n-hNcN-Uo62P4

--- Volume group ---
VG Name
VG Access read/write
VG Status NOT available/resizable
VG # 0
MAX LV 256
Cur LV 1
Open LV 0
MAX LV Size 2 TB
Max PV 256
Cur PV 2
Act PV 2
VG Size 34.06 GB
PE Size 32 MB
Total PE 1090
Alloc PE / Size 640 / 20 GB
Free PE / Size 450 / 14.06 GB
VG UUID 2N4r9p-vKG2-tkkE-lFVh-17UD-QI5L-FnAZts

pvdata -- logical volume struct at offset 1 is empty
.....
pvdata -- logical volume struct at offset 255 is empty

# pvdata /dev/sdc1
--- NEW Physical volume ---
PV Name /dev/sdc1
VG Name
PV Size 17.09 GB [35842016 secs]
PV# 0
PV Status NOT available
Allocatable NO
Cur LV 0
PE Size (KByte) 0
Total PE 0
Free PE 0
Allocated PE 0
PV UUID lUhyoD-hIh3-kTXG-ftIe-xH2d-uFkG-FAxDG6

--- Volume group ---
VG Name
VG Access read/write
VG Status NOT available/resizable
VG # 0
MAX LV 256
Cur LV 1
Open LV 0
MAX LV Size 2 TB
Max PV 256
Cur PV 2
Act PV 2
VG Size 34.06 GB
PE Size 32 MB
Total PE 1090
Alloc PE / Size 640 / 20 GB
Free PE / Size 450 / 14.06 GB
VG UUID 2N4r9p-vKG2-tkkE-lFVh-17UD-QI5L-FnAZts

pvdata -- logical volume struct at offset 1 is empty
.....
pvdata -- logical volume struct at offset 255 is empty

# pvdata /dev/sdd1
--- NEW Physical volume ---
PV Name /dev/sdd1
VG Name
PV Size 17.09 GB [35842016 secs]
PV# 0
PV Status NOT available
Allocatable NO
Cur LV 0
PE Size (KByte) 0
Total PE 0
Free PE 0
Allocated PE 0
PV UUID so3Amu-rz2U-tjpd-8thF-NPIS-WQxV-cMDRfV

--- Volume group ---
VG Name
VG Access read/write
VG Status NOT available/resizable
VG # 0
MAX LV 256
Cur LV 0
Open LV 0
MAX LV Size 2 TB
Max PV 256
Cur PV 3
Act PV 3
VG Size 51.09 GB
PE Size 32 MB
Total PE 1635
Alloc PE / Size 0 / 0
Free PE / Size 1635 / 51.09 GB
VG UUID 2N4r9p-vKG2-tkkE-lFVh-17UD-QI5L-FnAZts

pvdata -- logical volume struct at offset 1 is empty
...
pvdata -- logical volume struct at offset 13 is inconsistent
pvdata -- logical volume struct at offset 14 is inconsistent
pvdata -- logical volume struct at offset 15 is inconsistent
...

pvdata -- logical volume struct at offset 135 is inconsistent
pvdata -- logical volume struct at offset 136 is inconsistent
...
pvdata -- logical volume struct at offset 255 is empty

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.