Skip to contentSkip to conversation

lvm2 pv failure

linux-lvm Uk1ah Sm1th 3 participants 4 messages Apr 5, 2006 – Apr 25, 2006

lore
Share & tools
lore
#0 lore raw

Hello-

I had one of the two drives in my LVM2 array fail. It was the first drive. Is it possiable that any data on the second drive could be recovered? Or have I lost all my data on both drives?

.Ukiah Smith

Signature · 2 lines
"Well done is better than well said."
             - Benjamin Franklin (1706-1790)
#1 lore raw

All the logical volumes on the remaining drive should be recoverable. If you striped the two devices, you'll probably be hurting. If the 1st hard drive is only partially failed (some sectors fail, others don't), then you should be able to retrieve most of that data too.

brassow

Quoted 18 lines · On Apr 5, 2006, at 6:26 PM, Uk1ah Sm1th wrote:

Hello-

I had one of the two drives in my LVM2 array fail. It was the first drive. Is it possiable that any data on the second drive could be recovered? Or have I lost all my data on both drives?

.Ukiah Smith

Signature · 8 lines
"Well done is better than well said."
             - Benjamin Franklin (1706-1790)

_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
#2 lore raw

Jon:

How would you recover this? Just curious....

Quoted 35 lines · Jonathan E Brassow

All the logical volumes on the remaining drive should be recoverable. If you striped the two devices, you'll probably be hurting. If the 1st hard drive is only partially failed (some sectors fail, others don't), then you should be able to retrieve most of that data too.

brassow

Quoted 12 lines · On Apr 5, 2006, at 6:26 PM, Uk1ah Sm1th wrote:

Hello-

I had one of the two drives in my LVM2 array fail. It was the first drive. Is it possiable that any data on the second drive could be recovered? Or have I lost all my data on both drives?

.Ukiah Smith

--
"Well done is better than well said."
- Benjamin Franklin (1706-1790)

Quoted 6 lines

_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

#3 lore raw

You could stuff in a new drive and 'dd' the contents of the failed drive to the new drive (if the drive hasn't completely failed) using the "noerror" option.

Now you might be able to (shutdown) pull the bad drive and reboot.

So far, you've risked nothing. I'd see how this goes before trying other things (like editing the lvm labels directly).

brassow

Quoted 38 lines · Mag Gam

Jon:

How would you recover this? Just curious....

On 4/6/06, Jonathan E Brassow <[email protected] > wrote:All the logical volumes on the remaining drive should be recoverable.

Quoted 27 lines

If you striped the two devices, you'll probably be hurting.  If the 1st hard drive is only partially failed (some sectors fail, others don't), then you should be able to retrieve most of that data too.

  brassow

Quoted 12 lines · On Apr 5, 2006, at 6:26 PM, Uk1ah Sm1th wrote:

Hello-

I had one of the two drives in my LVM2 array fail. It was the first drive. Is it possiable that any data on the second drive could be recovered? Or have I lost all my data on both drives?

.Ukiah Smith

--
"Well done is better than well said."
              - Benjamin Franklin (1706-1790)

Quoted 6 lines

_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

Quoted 5 lines

_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

Quoted 5 lines

_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

You could stuff in a new drive and 'dd' the contents of the failed drive to the new drive (if the drive hasn't completely failed) using the "noerror" option.

Now you might be able to (shutdown) pull the bad drive and reboot.

So far, you've risked nothing. I'd see how this goes before trying other things (like editing the lvm labels directly).

brassow

On Apr 24, 2006, at 4:36 PM, Mag Gam wrote:

<excerpt>Jon:

How would you recover this? Just curious....

On 4/6/06, <bold>Jonathan E Brassow</bold> <<<color><param>0000,0000,EEEE</param>[email protected]</color> > wrote:All the logical volumes on the remaining drive should be recoverable.

<excerpt>If you striped the two devices, you'll probably be hurting.  If the 1st

hard drive is only partially failed (some sectors fail, others don't),

then you should be able to retrieve most of that data too.

  brassow

Quoted 24 lines · On Apr 5, 2006, at 6:26 PM, Uk1ah Sm1th wrote:

Hello-

I had one of the two drives in my LVM2 array fail. It was the first

drive. Is it possiable that any data on the second drive could be

recovered? Or have I lost all my data on both drives?

.Ukiah Smith

--

"Well done is better than well said."

              - Benjamin Franklin (1706-1790)

Quoted 7 lines

_______________________________________________

linux-lvm mailing list

<color><param>0000,0000,EEEE</param>[email protected]</color>

<color><param>0000,0000,EEEE</param>https://www.redhat.com/mailman/listinfo/linux-lvm</color>

Quoted 1 line

read the LVM HOW-TO at

<color><param>0000,0000,EEEE</param>http://tldp.org/HOWTO/LVM-HOWTO/</color>

Quoted 1 line

_______________________________________________

linux-lvm mailing list

<color><param>0000,0000,EEEE</param> [email protected]</color>

<color><param>0000,0000,EEEE</param>https://www.redhat.com/mailman/listinfo/linux-lvm</color>

read the LVM HOW-TO at <color><param>0000,0000,EEEE</param>http://tldp.org/HOWTO/LVM-HOWTO/ </color>

</excerpt>_______________________________________________

linux-lvm mailing list

[email protected]

https://www.redhat.com/mailman/listinfo/linux-lvm

read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/</excerpt>