* manually destriping a 4 drive raid5 with one missing drive @ 2015-10-16 18:58 Marek 2015-10-17 22:54 ` Neil Brown 0 siblings, 1 reply; 10+ messages in thread From: Marek @ 2015-10-16 18:58 UTC (permalink / raw) To: Linux-RAID hi, i'd like to ask whether manual destriping of a 4 drive raid5 is possible even though the parity information is lost due to forced resync of all four drives. Marek ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: manually destriping a 4 drive raid5 with one missing drive 2015-10-16 18:58 manually destriping a 4 drive raid5 with one missing drive Marek @ 2015-10-17 22:54 ` Neil Brown [not found] ` <CA+sqOsZJbvyAW6=CSG5EikhmDPt+Onjpm+VvBNPMKFmVi-ZQ8g@mail.gmail.com> 0 siblings, 1 reply; 10+ messages in thread From: Neil Brown @ 2015-10-17 22:54 UTC (permalink / raw) To: Marek, Linux-RAID [-- Attachment #1: Type: text/plain, Size: 441 bytes --] Marek <mlf.conv@gmail.com> writes: > hi, > > i'd like to ask whether manual destriping of a 4 drive raid5 is > possible even though the parity information is lost due to forced > resync of all four drives. > I'm sorry but I have no idea what you are asking. Maybe if you provided more details about your current circumstances, how you got into that situation, and what outcome you are hoping for, then I might be able to help. NeilBrown [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 818 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <CA+sqOsZJbvyAW6=CSG5EikhmDPt+Onjpm+VvBNPMKFmVi-ZQ8g@mail.gmail.com>]
* Fwd: manually destriping a 4 drive raid5 with one missing drive [not found] ` <CA+sqOsZJbvyAW6=CSG5EikhmDPt+Onjpm+VvBNPMKFmVi-ZQ8g@mail.gmail.com> @ 2015-10-23 9:26 ` Marek 2015-10-23 11:50 ` Alexander Afonyashin 2015-10-23 15:53 ` Piergiorgio Sartor 0 siblings, 2 replies; 10+ messages in thread From: Marek @ 2015-10-23 9:26 UTC (permalink / raw) To: Linux-RAID I have a 4 2TB disk raid5 512k 1.2. one of the drives was accidentally wiped by ubuntu installation (/dev/sda, first drive). The system has been rebooted forcefully several times before this happened. Raid wouldn't come up after that. The first drive has been -add ed back and a resync has been enforced. What i'd like to do is to manually destrip the raid. On Sun, Oct 18, 2015 at 12:54 AM, Neil Brown <nfbrown@novell.com> wrote: > Marek <mlf.conv@gmail.com> writes: > >> hi, >> >> i'd like to ask whether manual destriping of a 4 drive raid5 is >> possible even though the parity information is lost due to forced >> resync of all four drives. >> > > I'm sorry but I have no idea what you are asking. > Maybe if you provided more details about your current circumstances, how > you got into that situation, and what outcome you are hoping for, then I > might be able to help. > > NeilBrown ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: manually destriping a 4 drive raid5 with one missing drive 2015-10-23 9:26 ` Fwd: " Marek @ 2015-10-23 11:50 ` Alexander Afonyashin 2015-10-23 15:53 ` Piergiorgio Sartor 1 sibling, 0 replies; 10+ messages in thread From: Alexander Afonyashin @ 2015-10-23 11:50 UTC (permalink / raw) To: Marek; +Cc: Linux-RAID Hi Marek, First, check status of disk you would like to remove via: - cat /proc/mdstat - mdadm -D /dev/md0 (replace md0 with you md-raid identifier) Regards, Alexader On Fri, Oct 23, 2015 at 12:26 PM, Marek <mlf.conv@gmail.com> wrote: > I have a 4 2TB disk raid5 512k 1.2. > one of the drives was accidentally wiped by ubuntu installation > (/dev/sda, first drive). The system has been rebooted forcefully > several times before this happened. Raid wouldn't come up after that. > The first drive has been -add ed back and a resync has been enforced. > What i'd like to do is to manually destrip the raid. > > On Sun, Oct 18, 2015 at 12:54 AM, Neil Brown <nfbrown@novell.com> wrote: >> Marek <mlf.conv@gmail.com> writes: >> >>> hi, >>> >>> i'd like to ask whether manual destriping of a 4 drive raid5 is >>> possible even though the parity information is lost due to forced >>> resync of all four drives. >>> >> >> I'm sorry but I have no idea what you are asking. >> Maybe if you provided more details about your current circumstances, how >> you got into that situation, and what outcome you are hoping for, then I >> might be able to help. >> >> NeilBrown > -- > To unsubscribe from this list: send the line "unsubscribe linux-raid" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: manually destriping a 4 drive raid5 with one missing drive 2015-10-23 9:26 ` Fwd: " Marek 2015-10-23 11:50 ` Alexander Afonyashin @ 2015-10-23 15:53 ` Piergiorgio Sartor [not found] ` <CA+sqOsYBbOwn5tJfygAR0MDCQPpd4w61XPGBLv8Mme8cT_HL8A@mail.gmail.com> 1 sibling, 1 reply; 10+ messages in thread From: Piergiorgio Sartor @ 2015-10-23 15:53 UTC (permalink / raw) To: Marek; +Cc: Linux-RAID On Fri, Oct 23, 2015 at 11:26:12AM +0200, Marek wrote: > I have a 4 2TB disk raid5 512k 1.2. > one of the drives was accidentally wiped by ubuntu installation > (/dev/sda, first drive). The system has been rebooted forcefully > several times before this happened. Raid wouldn't come up after that. > The first drive has been -add ed back and a resync has been enforced. > What i'd like to do is to manually destrip the raid. Hi Marek, excuse my ignorance, but what does it mean "destrip" a RAID? Could you please point to some technical reference or, maybe, spend few more words to clarify the concept? Thanks, bye, -- piergiorgio ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <CA+sqOsYBbOwn5tJfygAR0MDCQPpd4w61XPGBLv8Mme8cT_HL8A@mail.gmail.com>]
* Fwd: manually destriping a 4 drive raid5 with one missing drive [not found] ` <CA+sqOsYBbOwn5tJfygAR0MDCQPpd4w61XPGBLv8Mme8cT_HL8A@mail.gmail.com> @ 2015-10-23 16:20 ` Marek 2015-10-23 17:49 ` Phil Turmel 0 siblings, 1 reply; 10+ messages in thread From: Marek @ 2015-10-23 16:20 UTC (permalink / raw) To: Linux-RAID Not sure if it's destrip or destripe but it's basically like puzzle you take a block from each drive according to the layout you are using e.g. Left symmetric and then write it down in that order computing missing blocks from parity blocks - this way you would write an image which you can mount without using mdadm. Data restoration companies are using this technique. On Friday, October 23, 2015, Piergiorgio Sartor <piergiorgio.sartor@nexgo.de> wrote: > > On Fri, Oct 23, 2015 at 11:26:12AM +0200, Marek wrote: > > I have a 4 2TB disk raid5 512k 1.2. > > one of the drives was accidentally wiped by ubuntu installation > > (/dev/sda, first drive). The system has been rebooted forcefully > > several times before this happened. Raid wouldn't come up after that. > > The first drive has been -add ed back and a resync has been enforced. > > What i'd like to do is to manually destrip the raid. > > Hi Marek, > > excuse my ignorance, but what does it mean "destrip" a RAID? > > Could you please point to some technical reference or, maybe, > spend few more words to clarify the concept? > > Thanks, > > bye, > > -- > > piergiorgio ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Fwd: manually destriping a 4 drive raid5 with one missing drive 2015-10-23 16:20 ` Fwd: " Marek @ 2015-10-23 17:49 ` Phil Turmel 2015-10-23 20:46 ` Marek 0 siblings, 1 reply; 10+ messages in thread From: Phil Turmel @ 2015-10-23 17:49 UTC (permalink / raw) To: Marek, Linux-RAID On 10/23/2015 12:20 PM, Marek wrote: > Not sure if it's destrip or destripe but it's basically like puzzle > you take a block from each drive according to the layout you are using > e.g. Left symmetric and then write it down in that order computing > missing blocks from parity blocks - this way you would write an image > which you can mount without using mdadm. Data restoration companies > are using this technique. No special tool required. Obtain a new drive big enough to hold your entire array and 'dd' from /dev/mdX to your new drive. { BTW: convention on kernel.org is to reply-to-all, trim unnecessary context, and either bottom post or interleave your reply. } Phil ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Fwd: manually destriping a 4 drive raid5 with one missing drive 2015-10-23 17:49 ` Phil Turmel @ 2015-10-23 20:46 ` Marek 2015-10-23 21:30 ` Dragan Milivojević 2015-10-25 22:47 ` Phil Turmel 0 siblings, 2 replies; 10+ messages in thread From: Marek @ 2015-10-23 20:46 UTC (permalink / raw) To: Phil Turmel; +Cc: Linux-RAID dd from mdX doesn't work i tried it even with testdisk, what you get is mixed up data, incomplete files. { Google mail on iPad doesn't support plain text, who knew :/ } On Fri, Oct 23, 2015 at 7:49 PM, Phil Turmel <philip@turmel.org> wrote: > On 10/23/2015 12:20 PM, Marek wrote: >> Not sure if it's destrip or destripe but it's basically like puzzle >> you take a block from each drive according to the layout you are using >> e.g. Left symmetric and then write it down in that order computing >> missing blocks from parity blocks - this way you would write an image >> which you can mount without using mdadm. Data restoration companies >> are using this technique. > > No special tool required. Obtain a new drive big enough to hold your > entire array and 'dd' from /dev/mdX to your new drive. > > { BTW: convention on kernel.org is to reply-to-all, trim unnecessary > context, and either bottom post or interleave your reply. } > > Phil ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Fwd: manually destriping a 4 drive raid5 with one missing drive 2015-10-23 20:46 ` Marek @ 2015-10-23 21:30 ` Dragan Milivojević 2015-10-25 22:47 ` Phil Turmel 1 sibling, 0 replies; 10+ messages in thread From: Dragan Milivojević @ 2015-10-23 21:30 UTC (permalink / raw) To: linux-raid On Fri, Oct 23, 2015 at 10:46 PM, Marek <mlf.conv@gmail.com> wrote: > dd from mdX doesn't work i tried it even with testdisk, what you get > is mixed up data, incomplete files. As far as dd is concerned /dev/mdX is just another block device so it works as expected. ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Fwd: manually destriping a 4 drive raid5 with one missing drive 2015-10-23 20:46 ` Marek 2015-10-23 21:30 ` Dragan Milivojević @ 2015-10-25 22:47 ` Phil Turmel 1 sibling, 0 replies; 10+ messages in thread From: Phil Turmel @ 2015-10-25 22:47 UTC (permalink / raw) To: Marek; +Cc: Linux-RAID Hi Marek, On 10/23/2015 04:46 PM, Marek wrote: > On Fri, Oct 23, 2015 at 7:49 PM, Phil Turmel <philip@turmel.org> wrote: >> On 10/23/2015 12:20 PM, Marek wrote: >>> Not sure if it's destrip or destripe but it's basically like puzzle >>> you take a block from each drive according to the layout you are using >>> e.g. Left symmetric and then write it down in that order computing >>> missing blocks from parity blocks - this way you would write an image >>> which you can mount without using mdadm. Data restoration companies >>> are using this technique. >> >> No special tool required. Obtain a new drive big enough to hold your >> entire array and 'dd' from /dev/mdX to your new drive. > dd from mdX doesn't work i tried it even with testdisk, what you get > is mixed up data, incomplete files. Well, that suggests you've done more than just a forced resync. Pretty much the only way to get this is to screw up the device order with "mdadm --create --assume-clean" You'll need to provide a great deal of data about your array and precisely what you've done to it. > { Google mail on iPad doesn't support plain text, who knew :/ } {Top-posting fixed. Gmail screws this up by default, too.} Phil ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2015-10-25 22:47 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-10-16 18:58 manually destriping a 4 drive raid5 with one missing drive Marek 2015-10-17 22:54 ` Neil Brown [not found] ` <CA+sqOsZJbvyAW6=CSG5EikhmDPt+Onjpm+VvBNPMKFmVi-ZQ8g@mail.gmail.com> 2015-10-23 9:26 ` Fwd: " Marek 2015-10-23 11:50 ` Alexander Afonyashin 2015-10-23 15:53 ` Piergiorgio Sartor [not found] ` <CA+sqOsYBbOwn5tJfygAR0MDCQPpd4w61XPGBLv8Mme8cT_HL8A@mail.gmail.com> 2015-10-23 16:20 ` Fwd: " Marek 2015-10-23 17:49 ` Phil Turmel 2015-10-23 20:46 ` Marek 2015-10-23 21:30 ` Dragan Milivojević 2015-10-25 22:47 ` Phil Turmel
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).