LVM recovery, Hard disk broken


 
Thread Tools Search this Thread
Special Forums Hardware Filesystems, Disks and Memory LVM recovery, Hard disk broken
# 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 Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Sun Fire v440 Hard disk or controller broken? WARNING: /pci@1f,700000/scsi@2/sd@0,0 (sd1)

Hi, I have a Sun Fire V440 server that fails to boot up correctly. A lot of services are not started and the sytems acts really slow to commands. During boot I can see the following Error: WARNING: /pci@1f,700000/scsi@2/sd@0,0 (sd1): SCSI transport failed: reason 'reset': retrying... (15 Replies)
Discussion started by: oliwei
15 Replies

2. Linux

LVM VG recovery

Hi all, I been trying to recover a volume group of single PV. vgcfgrestore output # vgcfgrestore vgoraData Couldn't find device with uuid 'a3onP5-RdbR-fdgq-sDkS-ZtFs-83Q5-kFJj43'. Cannot restore Volume Group vgoraData with 1 PVs marked as missing. Restore failed. fdisk output ... (1 Reply)
Discussion started by: h@foorsa.biz
1 Replies

3. Linux

Create LVM of 2 Hard Drives while installing Centos 6.4.

Hello, I have install 2 HDD in my server and now installing the Centos6.4. I want create the LVM of those 2 HDD's so while i'm doing this it is not allowing me to select these 2 disk's from allowable disk list. Same problem if i tried to make Software RAID with creating LVM. Please help. (1 Reply)
Discussion started by: purushottamaher
1 Replies

4. Linux

C++ Code to Access Linux Hard Disk Sectors (with a LoopBack Virtual Hard Disk)

Hi all, I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it... (23 Replies)
Discussion started by: shen747
23 Replies

5. Solaris

hard disk broken, relocate user's home dir. All setting missing

Hi, guys I am a super newbie in solaris admin.... Now I got a problem. Due to the broken of one of Raid system, some user home directory is missing. Someone advises me to relocate the home directory on the new drive. I have googled and have tried " usermode -d " command. But I found a... (3 Replies)
Discussion started by: dr_dw
3 Replies

6. SCO

declare disk driver for IDE hard disk

hi I've a fresh installation of SCO 5.0.7 on the IDE hard disk. For SCSI hard disk I can declare, for example blc disk driver using: # mkdev hd 0 SCSI-0 0 blc 0but it works for IDE hard disk? (3 Replies)
Discussion started by: ccc
3 Replies

7. Filesystems, Disks and Memory

LVM restore / recovery

Hello, I would really appreciate help on recovering some data. I have a RAID1 array under /dev/md0 composed of devices /dev/sdb and /dev/sdc. I had lvm on the raid with 3 lv, the last of which was a snapshot partition. My / is on /dev/sda. Recently, I reinstalled the system (Debian lenny)... (7 Replies)
Discussion started by: Zburatorul
7 Replies

8. UNIX for Advanced & Expert Users

Data Recovery from file system overwritten with LVM.

Hey peeps, Here is somethin u might find interestin.... Is it possible to recover data from a partition which used to be an ext3 file sytem with some nice forgotten backups, which now is an lvm partion containg root partition of another OS. :) I couldn't create any mess better than this, can... (2 Replies)
Discussion started by: squid04
2 Replies

9. Solaris

How to check disk broken

Dear all, I have system that have 2 disk, and 1 off disk is broken, how can I check if the disk is broken or other problem. I'm using Solaris 10 x86. Thank you, Best Regards, Heru (4 Replies)
Discussion started by: heru_90
4 Replies
Login or Register to Ask a Question