Help, big error, dd first GB of a raid:-/

2008-01-30 Thread Lars Schimmer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!

Due to a very bad idea/error, I zeroed my first GB of /dev/md0.
Now fdisk doesn't find any disk on /dev/md0.
Any idea on how to recover?

MfG,
Lars Schimmer
- --
- -
TU Graz, Institut für ComputerGraphik & WissensVisualisierung
Tel: +43 316 873-5405   E-Mail: [EMAIL PROTECTED]
Fax: +43 316 873-5402   PGP-Key-ID: 0x4A9B1723
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHoFTUmWhuE0qbFyMRAvqEAJ4iSwo/mkAZF0YGviMlIZ6PEZtg1ACfRxom
d2MzENir1SWC0YTjIpxZPbU=
=APxR
-END PGP SIGNATURE-
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Help, big error, dd first GB of a raid:-/

2008-01-30 Thread Peter Rabbitson

Lars Schimmer wrote:


Hi!

Due to a very bad idea/error, I zeroed my first GB of /dev/md0.
Now fdisk doesn't find any disk on /dev/md0.
Any idea on how to recover?



It largely depends on what is /dev/md0, and what was on /dev/md0. Provide very 
detailed info:


* Was the MD device partitioned?
* What filesystem(s) were residing on the array, what sizes, what order
* What was each filesystem used for (mounted as what)

Someone might be able to help at this point, however if you do not have a 
backup - you are in very very deep trouble already.

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


Re: Help, big error, dd first GB of a raid:-/

2008-01-30 Thread Lars Schimmer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Peter Rabbitson wrote:
> Lars Schimmer wrote:
>>
>> Hi!
>>
>> Due to a very bad idea/error, I zeroed my first GB of /dev/md0.
>> Now fdisk doesn't find any disk on /dev/md0.
>> Any idea on how to recover?
>>
> 
> It largely depends on what is /dev/md0, and what was on /dev/md0.
> Provide very detailed info:
> 
> * Was the MD device partitioned?
> * What filesystem(s) were residing on the array, what sizes, what order
> * What was each filesystem used for (mounted as what)

One large parttiton on /dev/md0 with ext3.

> Someone might be able to help at this point, however if you do not have
> a backup - you are in very very deep trouble already.

I activate the backup right now - was OpenAFS with some RW volumes -
fairly easy to backup, but...
If it's hard to recover raid data, I recreate the raid and forget the
old data on it.

MfG,
Lars Schimmer
- --
- -
TU Graz, Institut für ComputerGraphik & WissensVisualisierung
Tel: +43 316 873-5405   E-Mail: [EMAIL PROTECTED]
Fax: +43 316 873-5402   PGP-Key-ID: 0x4A9B1723
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHoG9AmWhuE0qbFyMRAnjOAJ4rMZR8eCjYkMinlQ8vxZTIiLuxWwCfe3zj
VihVxdjRnE8oc9BRq6hcaVQ=
=uzyt
-END PGP SIGNATURE-
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Help, big error, dd first GB of a raid:-/

2008-01-30 Thread Peter Rabbitson

Lars Schimmer wrote:


I activate the backup right now - was OpenAFS with some RW volumes -
fairly easy to backup, but...
If it's hard to recover raid data, I recreate the raid and forget the
old data on it.


It is not that hard to recover the raid itself, however the ext3 on top is 
most likely FUBAR (especially after 1GB was overwritten). Since like it seems 
the data is not that important to you, just roll back to a backup and move on.

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