Re: Replace a failed block device with null PV in an LVM VG

2021-03-24 Thread Reco
On Wed, Mar 24, 2021 at 05:17:57PM +, David Pottage wrote: > On 2021-03-24 12:37, Reco wrote: > > Hi. > > > > On Wed, Mar 24, 2021 at 10:26:49AM +, David Pottage wrote: > > > Is there a way to assemble the VG and mount those ext4 filesystems in > > > such a way that read attempts from the

Re: Replace a failed block device with null PV in an LVM VG

2021-03-24 Thread David Pottage
On 2021-03-24 12:37, Reco wrote: Hi. On Wed, Mar 24, 2021 at 10:26:49AM +, David Pottage wrote: Is there a way to assemble the VG and mount those ext4 filesystems in such a way that read attempts from the missing PV will return zeros, but the rest of the filesystem will work? Try this:

Re: Replace a failed block device with null PV in an LVM VG

2021-03-24 Thread songbird
Dan Ritter wrote: ... > Next time: verify that you are backing up everything that you > need to backup. I know it's boring. it seems like it should be common sense for anyone worried about redundancy to the extent of having raid to also think about making sure there is more than one

Re: Replace a failed block device with null PV in an LVM VG

2021-03-24 Thread Dan Ritter
David Pottage wrote: > At work, there is a fileserver with a failed external drive enclosure. I am > attempting to recover some data that is probably not on the failed drives. > > This file server started out with 36 internal drives (in three RAID-6 > arrays) that formed the initial 3 physical

Re: Replace a failed block device with null PV in an LVM VG

2021-03-24 Thread Reco
Hi. On Wed, Mar 24, 2021 at 10:26:49AM +, David Pottage wrote: > Is there a way to assemble the VG and mount those ext4 filesystems in > such a way that read attempts from the missing PV will return zeros, > but the rest of the filesystem will work? Try this: vgchange

Replace a failed block device with null PV in an LVM VG

2021-03-24 Thread David Pottage
Hello, At work, there is a fileserver with a failed external drive enclosure. I am attempting to recover some data that is probably not on the failed drives. This file server started out with 36 internal drives (in three RAID-6 arrays) that formed the initial 3 physical volumes to an LVM