From: Roberto Spadim <roberto@spadim.com.br>
To: "Mathias Burén" <mathias.buren@gmail.com>
Cc: Linux-RAID <linux-raid@vger.kernel.org>
Subject: Re: i made sh*t can anyone help!?
Date: Fri, 18 Mar 2011 10:53:55 -0300 [thread overview]
Message-ID: <AANLkTinsuDB+iAz7b7JfQOqzBAngpXu14mS=OeD0YpUT@mail.gmail.com> (raw)
In-Reply-To: <AANLkTikehwmXbm4w4JYaOSgj0ogiwZPouFpWPzvZVizH@mail.gmail.com>
# xfs_repair -n /dev/md0
Phase 1 - find and verify superblock...
bad primary superblock - bad magic number !!!
attempting to find secondary superblock...
...........................
2011/3/18 Roberto Spadim <roberto@spadim.com.br>:
> i see some files contents with
> cat /dev/md0 | less
>
> 2011/3/18 Roberto Spadim <roberto@spadim.com.br>:
>> only one :( the other was broken :(
>> it's xfs filesystem
>>
>> mdadm --create /dev/md0 /dev/sdb
>> mkfs.xfs /dev/md0
>> mount /dev/md0 /home/
>>
>> but since i made mdadm --create twice, it can't mount :(
>>
>> # mount /dev/md0 /tmp2 -t xfs
>> mount: wrong fs type, bad option, bad superblock on /dev/md0,
>> missing codepage or helper program, or other error
>> In some cases useful info is found in syslog - try
>> dmesg | tail or so
>>
>>
>>
>> 2011/3/18 Mathias Burén <mathias.buren@gmail.com>:
>>> On 18 March 2011 13:43, Roberto Spadim <roberto@spadim.com.br> wrote:
>>>> hi guys i had a raid1 array, and i made shit, could i undo it? it have
>>>> filesystem with files :(
>>>>
>>>> # mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sdb missing
>>>> mdadm: /dev/sdb appears to be part of a raid array:
>>>> level=raid1 devices=2 ctime=Wed Mar 16 19:01:50 2011
>>>> mdadm: Note: this array has metadata at the start and
>>>> may not be suitable as a boot device. If you plan to
>>>> store '/boot' on this device please ensure that
>>>> your boot-loader understands md/v1.x metadata, or use
>>>> --metadata=0.90
>>>> Continue creating array?
>>>> Continue creating array? (y/n) y
>>>> mdadm: Defaulting to version 1.2 metadata
>>>> mdadm: array /dev/md0 started.
>>>> --
>>>> 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
>>>>
>>>
>>> You had a RAID1 array? Of which devices did it consists of? Looks like
>>> you only destroyed one.
>>>
>>> // M
>>> --
>>> 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
>>>
>>
>>
>>
>> --
>> Roberto Spadim
>> Spadim Technology / SPAEmpresarial
>>
>
>
>
> --
> Roberto Spadim
> Spadim Technology / SPAEmpresarial
>
--
Roberto Spadim
Spadim Technology / SPAEmpresarial
--
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
next prev parent reply other threads:[~2011-03-18 13:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-18 13:43 i made sh*t can anyone help!? Roberto Spadim
2011-03-18 13:49 ` Mathias Burén
2011-03-18 13:51 ` Roberto Spadim
2011-03-18 13:52 ` Roberto Spadim
2011-03-18 13:53 ` Roberto Spadim [this message]
2011-03-18 14:06 ` Roberto Spadim
2011-03-18 14:07 ` Roberto Spadim
2011-03-18 14:23 ` Roberto Spadim
2011-03-18 14:30 ` Roberto Spadim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTinsuDB+iAz7b7JfQOqzBAngpXu14mS=OeD0YpUT@mail.gmail.com' \
--to=roberto@spadim.com.br \
--cc=linux-raid@vger.kernel.org \
--cc=mathias.buren@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).