* Starting point of the actual RAID data area
@ 2006-10-07 17:34 Jyri Hovila
2006-10-08 0:49 ` Daniel Pittman
0 siblings, 1 reply; 3+ messages in thread
From: Jyri Hovila @ 2006-10-07 17:34 UTC (permalink / raw)
To: linux-raid
Hello, world!
I'm experimenting with Linux software RAID recovery. My target is to
be able to recover RAID 5 from individual drives without using the
Linux RAID tools - I mean mdadm and the others. I know it's not the
easiest way, but I *do* need to figure out a way to recover Linux
RAID using Windows... Sorry... ;)
What I'd like to know is how can I find where the actual RAID data
area starts on disks participating in a RAID 5 set. I know most of
the RAID configuration information is stored on all of the drives,
but I'm not geek enough to learn how it's stored from the RAID source
code.
I would appreciate it a lot if somebody could give me a hand here.
All I need to understand right now is how I can find out the first
sector of the actual RAID data. I'm starting with a simple
configuration, where there are three identical drives, all of them
used fully for one RAID 5 set. And no LVM at this point.
All comments and ideas are warmly welcome.
Thanks in advance!
Yours,
Jyri
______________________________
DataPrey
Director of Technology
http://www.DataPrey.com
jyri.hovila@dataprey.com
+358 (0)20 747 9872
Customer service 24/7
+358 (0)20 747 9870
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Starting point of the actual RAID data area
2006-10-07 17:34 Starting point of the actual RAID data area Jyri Hovila
@ 2006-10-08 0:49 ` Daniel Pittman
2006-10-11 22:16 ` Nix
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Pittman @ 2006-10-08 0:49 UTC (permalink / raw)
To: linux-raid
Jyri Hovila <jyri.hovila@dataprey.fi> writes:
> I'm experimenting with Linux software RAID recovery. My target is to
> be able to recover RAID 5 from individual drives without using the
> Linux RAID tools - I mean mdadm and the others. I know it's not the
> easiest way, but I *do* need to figure out a way to recover Linux RAID
> using Windows... Sorry... ;)
Well, sure, you need to recover the data under Windows -- but why hurt
yourself by doing it without the appropriate tools?
The "Services For Unix" package, which is free-as-in-beer, provides an
enhanced POSIX layer for Windows. You should be able to port mdadm and
other tools as appropriate to Windows using those services, which may
make life easier.
> What I'd like to know is how can I find where the actual RAID data
> area starts on disks participating in a RAID 5 set. I know most of the
> RAID configuration information is stored on all of the drives, but I'm
> not geek enough to learn how it's stored from the RAID source code.
...if you can't extract that information yourself then I would suggest
you are in for a world of pain trying to build tools to recover the data
within Windows.
Are you sure it wouldn't be easier to install VMWare on the system, then
Linux into that, and use Linux to do the recovery? A LiveCD image could
be used, so you don't need to write the OS anywhere to disk...
> I would appreciate it a lot if somebody could give me a hand here. All
> I need to understand right now is how I can find out the first sector
> of the actual RAID data. I'm starting with a simple configuration,
> where there are three identical drives, all of them used fully for one
> RAID 5 set. And no LVM at this point.
It would start on the first sector of the first disk.
Regards,
Daniel
--
Digital Infrastructure Solutions -- making IT simple, stable and secure
Phone: 0401 155 707 email: contact@digital-infrastructure.com.au
http://digital-infrastructure.com.au/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Starting point of the actual RAID data area
2006-10-08 0:49 ` Daniel Pittman
@ 2006-10-11 22:16 ` Nix
0 siblings, 0 replies; 3+ messages in thread
From: Nix @ 2006-10-11 22:16 UTC (permalink / raw)
To: Daniel Pittman; +Cc: linux-raid
On 8 Oct 2006, Daniel Pittman said:
> Jyri Hovila <jyri.hovila@dataprey.fi> writes:
>> I would appreciate it a lot if somebody could give me a hand here. All
>> I need to understand right now is how I can find out the first sector
>> of the actual RAID data. I'm starting with a simple configuration,
>> where there are three identical drives, all of them used fully for one
>> RAID 5 set. And no LVM at this point.
>
> It would start on the first sector of the first disk.
That depends on the superblock version. Versions 0.9x and 1.0 will do as
you say, but versions 1.1 and 1.2 will have the start of the disk
holding either the RAID superblock (for 1.1) or 4Kb of nothing (for
1.2).
--
`In typical emacs fashion, it is both absurdly ornate and
still not really what one wanted.' --- jdev
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-10-11 22:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-07 17:34 Starting point of the actual RAID data area Jyri Hovila
2006-10-08 0:49 ` Daniel Pittman
2006-10-11 22:16 ` Nix
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).