linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* i made sh*t can anyone help!?
@ 2011-03-18 13:43 Roberto Spadim
  2011-03-18 13:49 ` Mathias Burén
  0 siblings, 1 reply; 9+ messages in thread
From: Roberto Spadim @ 2011-03-18 13:43 UTC (permalink / raw)
  To: Linux-RAID

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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: i made sh*t can anyone help!?
  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
  0 siblings, 1 reply; 9+ messages in thread
From: Mathias Burén @ 2011-03-18 13:49 UTC (permalink / raw)
  To: Roberto Spadim; +Cc: Linux-RAID

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: i made sh*t can anyone help!?
  2011-03-18 13:49 ` Mathias Burén
@ 2011-03-18 13:51   ` Roberto Spadim
  2011-03-18 13:52     ` Roberto Spadim
  0 siblings, 1 reply; 9+ messages in thread
From: Roberto Spadim @ 2011-03-18 13:51 UTC (permalink / raw)
  To: Mathias Burén; +Cc: Linux-RAID

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
--
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] 9+ messages in thread

* Re: i made sh*t can anyone help!?
  2011-03-18 13:51   ` Roberto Spadim
@ 2011-03-18 13:52     ` Roberto Spadim
  2011-03-18 13:53       ` Roberto Spadim
  0 siblings, 1 reply; 9+ messages in thread
From: Roberto Spadim @ 2011-03-18 13:52 UTC (permalink / raw)
  To: Mathias Burén; +Cc: Linux-RAID

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
--
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] 9+ messages in thread

* Re: i made sh*t can anyone help!?
  2011-03-18 13:52     ` Roberto Spadim
@ 2011-03-18 13:53       ` Roberto Spadim
  2011-03-18 14:06         ` Roberto Spadim
  0 siblings, 1 reply; 9+ messages in thread
From: Roberto Spadim @ 2011-03-18 13:53 UTC (permalink / raw)
  To: Mathias Burén; +Cc: Linux-RAID

# 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: i made sh*t can anyone help!?
  2011-03-18 13:53       ` Roberto Spadim
@ 2011-03-18 14:06         ` Roberto Spadim
  2011-03-18 14:07           ` Roberto Spadim
  0 siblings, 1 reply; 9+ messages in thread
From: Roberto Spadim @ 2011-03-18 14:06 UTC (permalink / raw)
  To: Mathias Burén; +Cc: Linux-RAID

:( any other idea? what could i do?

2011/3/18 Roberto Spadim <roberto@spadim.com.br>:
> # 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
>



-- 
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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: i made sh*t can anyone help!?
  2011-03-18 14:06         ` Roberto Spadim
@ 2011-03-18 14:07           ` Roberto Spadim
  2011-03-18 14:23             ` Roberto Spadim
  0 siblings, 1 reply; 9+ messages in thread
From: Roberto Spadim @ 2011-03-18 14:07 UTC (permalink / raw)
  To: Mathias Burén; +Cc: Linux-RAID

now i have a broken filesystem right? i think old and new metadata was
not the same
i don't have partitions over /dev/md0, just xfs filesystem

2011/3/18 Roberto Spadim <roberto@spadim.com.br>:
> :( any other idea? what could i do?
>
> 2011/3/18 Roberto Spadim <roberto@spadim.com.br>:
>> # 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
>>
>
>
>
> --
> 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: i made sh*t can anyone help!?
  2011-03-18 14:07           ` Roberto Spadim
@ 2011-03-18 14:23             ` Roberto Spadim
  2011-03-18 14:30               ` Roberto Spadim
  0 siblings, 1 reply; 9+ messages in thread
From: Roberto Spadim @ 2011-03-18 14:23 UTC (permalink / raw)
  To: Mathias Burén; +Cc: Linux-RAID

Sorry, could not find valid secondary superblock
Exiting now.


:'(

any help?

2011/3/18 Roberto Spadim <roberto@spadim.com.br>:
> now i have a broken filesystem right? i think old and new metadata was
> not the same
> i don't have partitions over /dev/md0, just xfs filesystem
>
> 2011/3/18 Roberto Spadim <roberto@spadim.com.br>:
>> :( any other idea? what could i do?
>>
>> 2011/3/18 Roberto Spadim <roberto@spadim.com.br>:
>>> # 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
>>>
>>
>>
>>
>> --
>> 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: i made sh*t can anyone help!?
  2011-03-18 14:23             ` Roberto Spadim
@ 2011-03-18 14:30               ` Roberto Spadim
  0 siblings, 0 replies; 9+ messages in thread
From: Roberto Spadim @ 2011-03-18 14:30 UTC (permalink / raw)
  To: Mathias Burén; +Cc: Linux-RAID

uff!!!
with /dev/sdb worked! xfs_repair(ed) !!
thanks guys
could we write more message???
mdadm: /dev/sdb appears to be part of a raid array:
   level=raid1 devices=2 ctime=Wed Mar 16 19:01:50 2011


could it be something like:
****************************************************************************************
 CAUTION CAUTION CAUTION CAUTION CAUTION CAUTION CAUTION
****************************************************************************************
 CAUTION CAUTION CAUTION CAUTION CAUTION CAUTION CAUTION
****************************************************************************************
mdadm: /dev/sdb appears to be part of a raid array:
   level=raid1 devices=2 ctime=Wed Mar 16 19:01:50 2011
****************************************************************************************
 CAUTION CAUTION CAUTION CAUTION CAUTION CAUTION CAUTION
****************************************************************************************
 CAUTION CAUTION CAUTION CAUTION CAUTION CAUTION CAUTION
****************************************************************************************


2011/3/18 Roberto Spadim <roberto@spadim.com.br>:
> Sorry, could not find valid secondary superblock
> Exiting now.
>
>
> :'(
>
> any help?
>
> 2011/3/18 Roberto Spadim <roberto@spadim.com.br>:
>> now i have a broken filesystem right? i think old and new metadata was
>> not the same
>> i don't have partitions over /dev/md0, just xfs filesystem
>>
>> 2011/3/18 Roberto Spadim <roberto@spadim.com.br>:
>>> :( any other idea? what could i do?
>>>
>>> 2011/3/18 Roberto Spadim <roberto@spadim.com.br>:
>>>> # 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
>>>>
>>>
>>>
>>>
>>> --
>>> Roberto Spadim
>>> Spadim Technology / SPAEmpresarial
>>>
>>
>>
>>
>> --
>> 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-03-18 14:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).