Re: Recover array after I panicked

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/24/2017 05:56 PM, Patrik Dahlström wrote:
> On 04/24/2017 11:04 PM, Phil Turmel wrote:

>> Thanks for the patch.  Could you elaborate a bit on the errors you
>> received so I can reproduce and document this fully?
> Sure. It started out with this error:
> $ ./lsdrv
> Traceback (most recent call last):
>   File "./lsdrv", line 413, in <module>
>     probe_block('/sys/block/'+x)
>   File "./lsdrv", line 389, in probe_block
>     blk.FS = "MD %s (%s/%s)%s %s" % (blk.array.md.LEVEL, blk.slave.slot,
> blk.array.md.raid_disks, peers, blk.slave.state)
> AttributeError: 'NoneType' object has no attribute 'LEVEL'

Ok.  I'll spin up an Ubuntu 16.04 VM to play with this.  Thanks.

>> Also, do you have some large files (media files, perhaps) that you know
>> are in your array but you have a copy in hand?  If so, you could use the
>> findHash script in my github account to map how that file is laid out on
>> your array's devices.  Since large media files tend to be contiguous,
>> such a map would definitively show your chunk size and device order.

> I'll take a look. I definitely have some large continuous files on this
> array.

The first draft of this script was written for a fellow in a situation
very similar to yours.  The results were miraculous.  Not to get your
hopes up too high, though -- my first impression of this thread is that
you're screwed. /-:

Phil

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux