Home Man
Search
Today's Posts
Register

Discuss NAS, SAN, RAID, Robotic Libraries, backup devices, RAM, DRAM, SCSI, IDE, EIDE topics here.

LVM recovery, Hard disk broken

Tags
filesystem

Login 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 to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Expert Recovery Shell - Fatal Error: Unrecognized disk layout black_fender HP-UX 1 07-18-2015 03:13 AM
Which is the best application to create recovery disk? Akshay Hegde Ubuntu 7 09-05-2013 11:11 AM
Fdisk partitions on boot disk and disaster recovery TKD Solaris 1 06-18-2012 03:01 PM
Broken system disk - mount a zfs backup fs RychnD Solaris 1 09-04-2011 02:56 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
Automated Disk space recovery script vasukv AIX 3 09-16-2010 01:40 PM
declare disk driver for IDE hard disk ccc SCO 3 08-20-2010 02:22 PM
How to check disk broken heru_90 Solaris 4 08-24-2008 08:23 PM


All times are GMT -4. The time now is 05:52 PM.

Unix & Linux Forums Content Copyright©1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password