LVM recovery, Hard disk broken


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Old 04-11-2013
LVM recovery, Hard disk broken

Hi
I am new on your forum, because I need some help.
I have a server with debian and proxmox 2.
The HardDisk is broken.

I am in rescue mode, and I can't mount LVM partition to recover my backups.

What I've already done :
Code:
# fdisk -l 
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes 
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors 
Units = sectors of 1 * 512 = 512 bytes 
Sector size (logical/physical): 512 bytes / 4096 bytes 
I/O size (minimum/optimal): 4096 bytes / 4096 bytes 
Disk identifier: 0x000d6e00  
   Device Boot      Start         End      Blocks   Id  System 
/dev/sda1   *        4096    61442048    30718976+  83  Linux 
/dev/sda2        61442049    81920000    10238976   82  Linux swap / Solaris 
Partition 2 does not start on physical sector boundary. 
/dev/sda3        81920001  3907020800  1912550400    f  W95 Ext'd (LBA) 
Partition 3 does not start on physical sector boundary. 
/dev/sda5        81920002  3907020800  1912550399+  8e  Linux LVM 
Partition 5 does not start on physical sector boundary.

Code:
# vgscan   
Reading all physical volumes.  This may take a while...   
/dev/pve/lv1: read failed after 0 of 4096 at 0: Input/output error   
/dev/pve/lv1: read failed after 0 of 4096 at 4096: Input/output error   
Found volume group "pve" using metadata type lvm2

Code:
~# vgscan
  Reading all physical volumes.  This may take a while...
  /dev/pve/lv1: read failed after 0 of 4096 at 0: Input/output error
  /dev/pve/lv1: read failed after 0 of 4096 at 4096: Input/output error
  Found volume group "pve" using metadata type lvm2

Code:
mount /dev/pve/lv1 /mntlvm
mount: /dev/mapper/pve-lv1: can't read superblock

Code:
# vgdisplay
  /dev/pve/lv1: read failed after 0 of 4096 at 0: Input/output error
  /dev/pve/lv1: read failed after 0 of 4096 at 4096: Input/output error
  --- Volume group ---
  VG Name               pve
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  2
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                1
  Open LV               0
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               1.78 TiB
  PE Size               4.00 MiB
  Total PE              466931
  Alloc PE / Size       449999 / 1.72 TiB
  Free  PE / Size       16932 / 66.14 GiB
  VG UUID               RmSYX5-Tsw2-anOB-nYef-r3Lt-7KJh-TvsRw9

root@rescue:~#  lvdisplay
  /dev/pve/lv1: read failed after 0 of 4096 at 0: Input/output error
  /dev/pve/lv1: read failed after 0 of 4096 at 4096: Input/output error
  --- Logical volume ---
  LV Path                /dev/pve/lv1
  LV Name                lv1
  VG Name                pve
  LV UUID                ATOUfP-S7up-R5oE-L1l3-sQjt-35pq-E2rY2V
  LV Write Access        read/write
  LV Creation host, time ,
  LV Status              available
  # open                 0
  LV Size                1.72 TiB
  Current LE             449999
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:0

Code:
# pvscan
  /dev/pve/lv1: read failed after 0 of 4096 at 0: Input/output error
  /dev/pve/lv1: read failed after 0 of 4096 at 4096: Input/output error
  PV /dev/sda5   VG pve   lvm2 [1.78 TiB / 66.14 GiB free]
  Total: 1 [1.78 TiB] / in use: 1 [1.78 TiB] / in no VG: 0 [0   ]

So I've a big error :
/dev/pve/lv1: read failed after 0 of 4096 at 0: Input/output error /dev/pve/lv1: read failed after 0 of 4096 at 4096: Input/output error
And I can't mount partition.

Do you have solution to mount it, and recover my partition ?
I've a container on this LVM, and no external backup for it.

Thanks for your help.
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
LVM VG recovery h@foorsa.biz Linux 1 03-11-2017 06:22 PM
LVM, Troubles with adding another Disk JR_ULFOR UNIX for Advanced & Expert Users 2 09-13-2014 09:46 AM
Create LVM of 2 Hard Drives while installing Centos 6.4. purushottamaher Linux 1 04-28-2014 05:40 AM
LVM: is possible to replace a disk? Linusolaradm1 HP-UX 6 02-11-2014 08:36 AM
LVM - restore metadata on other disk lyynxxx UNIX for Advanced & Expert Users 1 11-04-2013 03:11 AM
Remove Faulty disk from HP-UX LVM VG Shirishlnx HP-UX 9 04-13-2012 10:05 AM
C++ Code to Access Linux Hard Disk Sectors (with a LoopBack Virtual Hard Disk) shen747 Linux 23 01-28-2011 09:27 PM
hard disk broken, relocate user's home dir. All setting missing dr_dw Solaris 3 01-10-2011 02:02 AM
declare disk driver for IDE hard disk ccc SCO 3 08-20-2010 02:22 PM
Disk I/O Issue using LVM ukatru AIX 1 05-04-2009 04:41 AM
LVM restore / recovery Zburatorul Filesystems, Disks and Memory 7 10-25-2008 03:14 AM
Data Recovery from file system overwritten with LVM. squid04 UNIX for Advanced & Expert Users 2 10-01-2008 06:22 AM
How to check disk broken heru_90 Solaris 4 08-24-2008 08:23 PM
disk adding through lvm sreekumar.R HP-UX 2 04-30-2007 02:01 AM