sorry i pasted the wrong email: Hi, I have a problem with my 4 2TB disk Raid5 (most likely btrfs) after I accidentally deleted first drive by installing Ubuntu on it (/dev/sda automatic choice) then I discovered the raid isn't working and by closer inspecting it hexdump I discovered first ~12Mb of data are missing. Is it possible to recover it somehow? What I did was to zero superblock then add the first drive - everything seems fine according to /proc/mdstat. On Tue, Oct 13, 2015 at 4:04 PM, Marek <mlf.conv@xxxxxxxxx> wrote: > no, i had a working raid consisting of 4 2TB drives (raid5) > sda,sdb,sdc,sdb ( no partitions were created on drives) - then i > accidentally deleted /dev/sda by installing ubuntu. when inspecting > dev/md127 with a hex editor i discovered first 12mb are missing. > > On Tue, Oct 13, 2015 at 3:53 PM, Alexander Afonyashin > <a.afonyashin@xxxxxxxxxxxxxx> wrote: >> Hi Marek, >> >> Do you mean you have files (on raid) that were used as loop devices? >> >> Regards, >> Alexander >> >> On Tue, Oct 13, 2015 at 4:44 PM, Marek <mlf.conv@xxxxxxxxx> wrote: >>> Hi, >>> >>> I'd like to ask about recovering partitions saved as images on eg a raid. >>> How do I recover such image - I tried to run test disk and it found >>> lots of images which I wasn't able to view via P (NFTS) and ext3 >>> partitions but I'd like to save them to another harddrive, I tried >>> photo tree with only ext3 superblock and image file enabled but it >>> wouldn't find the partition in was looki for and found via testdisk. >>> What would you recommend me to do? >>> >>> Marek >>> -- >>> 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 -- 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