i made sh*t can anyone help!?

i made sh*t can anyone help!?

am 18.03.2011 14:43:33 von Roberto Spadim

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

Re: i made sh*t can anyone help!?

am 18.03.2011 14:49:03 von mathias.buren

On 18 March 2011 13:43, Roberto Spadim wrote:
> hi guys i had a raid1 array, and i made shit, could i undo it? it hav=
e
> filesystem with files :(
>
> # mdadm --create /dev/md0 --level=3D1 --raid-devices=3D2 /dev/sdb mis=
sing
> mdadm: /dev/sdb appears to be part of a raid array:
>    level=3Draid1 devices=3D2 ctime=3DWed Mar 16 19:01:50 20=
11
> 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=3D0.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.ht=
ml
>

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" i=
n
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: i made sh*t can anyone help!?

am 18.03.2011 14:51:06 von Roberto Spadim

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=E9n :
> On 18 March 2011 13:43, Roberto Spadim wrote:
>> hi guys i had a raid1 array, and i made shit, could i undo it? it ha=
ve
>> filesystem with files :(
>>
>> # mdadm --create /dev/md0 --level=3D1 --raid-devices=3D2 /dev/sdb mi=
ssing
>> mdadm: /dev/sdb appears to be part of a raid array:
>> =A0 =A0level=3Draid1 devices=3D2 ctime=3DWed Mar 16 19:01:50 2011
>> mdadm: Note: this array has metadata at the start and
>> =A0 =A0may not be suitable as a boot device. =A0If you plan to
>> =A0 =A0store '/boot' on this device please ensure that
>> =A0 =A0your boot-loader understands md/v1.x metadata, or use
>> =A0 =A0--metadata=3D0.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 =A0http://vger.kernel.org/majordomo-info.html
>>
>
> You had a RAID1 array? Of which devices did it consists of? Looks lik=
e
> 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 =A0http://vger.kernel.org/majordomo-info.html
>



--=20
Roberto Spadim
Spadim Technology / SPAEmpresarial
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" i=
n
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: i made sh*t can anyone help!?

am 18.03.2011 14:52:25 von Roberto Spadim

i see some files contents with
cat /dev/md0 | less

2011/3/18 Roberto Spadim :
> 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,
> =A0 =A0 =A0 missing codepage or helper program, or other error
> =A0 =A0 =A0 In some cases useful info is found in syslog - try
> =A0 =A0 =A0 dmesg | tail =A0or so
>
>
>
> 2011/3/18 Mathias Bur=E9n :
>> On 18 March 2011 13:43, Roberto Spadim wrote=
:
>>> hi guys i had a raid1 array, and i made shit, could i undo it? it h=
ave
>>> filesystem with files :(
>>>
>>> # mdadm --create /dev/md0 --level=3D1 --raid-devices=3D2 /dev/sdb m=
issing
>>> mdadm: /dev/sdb appears to be part of a raid array:
>>> =A0 =A0level=3Draid1 devices=3D2 ctime=3DWed Mar 16 19:01:50 2011
>>> mdadm: Note: this array has metadata at the start and
>>> =A0 =A0may not be suitable as a boot device. =A0If you plan to
>>> =A0 =A0store '/boot' on this device please ensure that
>>> =A0 =A0your boot-loader understands md/v1.x metadata, or use
>>> =A0 =A0--metadata=3D0.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-rai=
d" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at =A0http://vger.kernel.org/majordomo-info.htm=
l
>>>
>>
>> You had a RAID1 array? Of which devices did it consists of? Looks li=
ke
>> 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 =A0http://vger.kernel.org/majordomo-info.html
>>
>
>
>
> --
> Roberto Spadim
> Spadim Technology / SPAEmpresarial
>



--=20
Roberto Spadim
Spadim Technology / SPAEmpresarial
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" i=
n
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: i made sh*t can anyone help!?

am 18.03.2011 14:53:55 von Roberto Spadim

# 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 :
> i see some files contents with
> cat /dev/md0 | less
>
> 2011/3/18 Roberto Spadim :
>> 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,
>> =A0 =A0 =A0 missing codepage or helper program, or other error
>> =A0 =A0 =A0 In some cases useful info is found in syslog - try
>> =A0 =A0 =A0 dmesg | tail =A0or so
>>
>>
>>
>> 2011/3/18 Mathias Bur=E9n :
>>> On 18 March 2011 13:43, Roberto Spadim wrot=
e:
>>>> 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=3D1 --raid-devices=3D2 /dev/sdb =
missing
>>>> mdadm: /dev/sdb appears to be part of a raid array:
>>>> =A0 =A0level=3Draid1 devices=3D2 ctime=3DWed Mar 16 19:01:50 2011
>>>> mdadm: Note: this array has metadata at the start and
>>>> =A0 =A0may not be suitable as a boot device. =A0If you plan to
>>>> =A0 =A0store '/boot' on this device please ensure that
>>>> =A0 =A0your boot-loader understands md/v1.x metadata, or use
>>>> =A0 =A0--metadata=3D0.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-ra=
id" in
>>>> the body of a message to majordomo@vger.kernel.org
>>>> More majordomo info at =A0http://vger.kernel.org/majordomo-info.ht=
ml
>>>>
>>>
>>> You had a RAID1 array? Of which devices did it consists of? Looks l=
ike
>>> you only destroyed one.
>>>
>>> // M
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe linux-rai=
d" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at =A0http://vger.kernel.org/majordomo-info.htm=
l
>>>
>>
>>
>>
>> --
>> Roberto Spadim
>> Spadim Technology / SPAEmpresarial
>>
>
>
>
> --
> Roberto Spadim
> Spadim Technology / SPAEmpresarial
>



--=20
Roberto Spadim
Spadim Technology / SPAEmpresarial
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" i=
n
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: i made sh*t can anyone help!?

am 18.03.2011 15:06:23 von Roberto Spadim

:( any other idea? what could i do?

2011/3/18 Roberto Spadim :
> # 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 :
>> i see some files contents with
>> cat /dev/md0 | less
>>
>> 2011/3/18 Roberto Spadim :
>>> 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,
>>> =A0 =A0 =A0 missing codepage or helper program, or other error
>>> =A0 =A0 =A0 In some cases useful info is found in syslog - try
>>> =A0 =A0 =A0 dmesg | tail =A0or so
>>>
>>>
>>>
>>> 2011/3/18 Mathias Bur=E9n :
>>>> On 18 March 2011 13:43, Roberto Spadim wro=
te:
>>>>> 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=3D1 --raid-devices=3D2 /dev/sdb=
missing
>>>>> mdadm: /dev/sdb appears to be part of a raid array:
>>>>> =A0 =A0level=3Draid1 devices=3D2 ctime=3DWed Mar 16 19:01:50 2011
>>>>> mdadm: Note: this array has metadata at the start and
>>>>> =A0 =A0may not be suitable as a boot device. =A0If you plan to
>>>>> =A0 =A0store '/boot' on this device please ensure that
>>>>> =A0 =A0your boot-loader understands md/v1.x metadata, or use
>>>>> =A0 =A0--metadata=3D0.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-r=
aid" in
>>>>> the body of a message to majordomo@vger.kernel.org
>>>>> More majordomo info at =A0http://vger.kernel.org/majordomo-info.h=
tml
>>>>>
>>>>
>>>> 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-ra=
id" in
>>>> the body of a message to majordomo@vger.kernel.org
>>>> More majordomo info at =A0http://vger.kernel.org/majordomo-info.ht=
ml
>>>>
>>>
>>>
>>>
>>> --
>>> Roberto Spadim
>>> Spadim Technology / SPAEmpresarial
>>>
>>
>>
>>
>> --
>> Roberto Spadim
>> Spadim Technology / SPAEmpresarial
>>
>
>
>
> --
> Roberto Spadim
> Spadim Technology / SPAEmpresarial
>



--=20
Roberto Spadim
Spadim Technology / SPAEmpresarial
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" i=
n
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: i made sh*t can anyone help!?

am 18.03.2011 15:07:10 von Roberto Spadim

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 :
> :( any other idea? what could i do?
>
> 2011/3/18 Roberto Spadim :
>> # 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 :
>>> i see some files contents with
>>> cat /dev/md0 | less
>>>
>>> 2011/3/18 Roberto Spadim :
>>>> 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,
>>>> =A0 =A0 =A0 missing codepage or helper program, or other error
>>>> =A0 =A0 =A0 In some cases useful info is found in syslog - try
>>>> =A0 =A0 =A0 dmesg | tail =A0or so
>>>>
>>>>
>>>>
>>>> 2011/3/18 Mathias Bur=E9n :
>>>>> On 18 March 2011 13:43, Roberto Spadim wr=
ote:
>>>>>> hi guys i had a raid1 array, and i made shit, could i undo it? i=
t have
>>>>>> filesystem with files :(
>>>>>>
>>>>>> # mdadm --create /dev/md0 --level=3D1 --raid-devices=3D2 /dev/sd=
b missing
>>>>>> mdadm: /dev/sdb appears to be part of a raid array:
>>>>>> =A0 =A0level=3Draid1 devices=3D2 ctime=3DWed Mar 16 19:01:50 201=
1
>>>>>> mdadm: Note: this array has metadata at the start and
>>>>>> =A0 =A0may not be suitable as a boot device. =A0If you plan to
>>>>>> =A0 =A0store '/boot' on this device please ensure that
>>>>>> =A0 =A0your boot-loader understands md/v1.x metadata, or use
>>>>>> =A0 =A0--metadata=3D0.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 =A0http://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-r=
aid" in
>>>>> the body of a message to majordomo@vger.kernel.org
>>>>> More majordomo info at =A0http://vger.kernel.org/majordomo-info.h=
tml
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Roberto Spadim
>>>> Spadim Technology / SPAEmpresarial
>>>>
>>>
>>>
>>>
>>> --
>>> Roberto Spadim
>>> Spadim Technology / SPAEmpresarial
>>>
>>
>>
>>
>> --
>> Roberto Spadim
>> Spadim Technology / SPAEmpresarial
>>
>
>
>
> --
> Roberto Spadim
> Spadim Technology / SPAEmpresarial
>



--=20
Roberto Spadim
Spadim Technology / SPAEmpresarial
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" i=
n
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: i made sh*t can anyone help!?

am 18.03.2011 15:23:48 von Roberto Spadim

Sorry, could not find valid secondary superblock
Exiting now.


:'(

any help?

2011/3/18 Roberto Spadim :
> now i have a broken filesystem right? i think old and new metadata wa=
s
> not the same
> i don't have partitions over /dev/md0, just xfs filesystem
>
> 2011/3/18 Roberto Spadim :
>> :( any other idea? what could i do?
>>
>> 2011/3/18 Roberto Spadim :
>>> # 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 :
>>>> i see some files contents with
>>>> cat /dev/md0 | less
>>>>
>>>> 2011/3/18 Roberto Spadim :
>>>>> 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,
>>>>> =A0 =A0 =A0 missing codepage or helper program, or other error
>>>>> =A0 =A0 =A0 In some cases useful info is found in syslog - try
>>>>> =A0 =A0 =A0 dmesg | tail =A0or so
>>>>>
>>>>>
>>>>>
>>>>> 2011/3/18 Mathias Bur=E9n :
>>>>>> On 18 March 2011 13:43, Roberto Spadim w=
rote:
>>>>>>> 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=3D1 --raid-devices=3D2 /dev/s=
db missing
>>>>>>> mdadm: /dev/sdb appears to be part of a raid array:
>>>>>>> =A0 =A0level=3Draid1 devices=3D2 ctime=3DWed Mar 16 19:01:50 20=
11
>>>>>>> mdadm: Note: this array has metadata at the start and
>>>>>>> =A0 =A0may not be suitable as a boot device. =A0If you plan to
>>>>>>> =A0 =A0store '/boot' on this device please ensure that
>>>>>>> =A0 =A0your boot-loader understands md/v1.x metadata, or use
>>>>>>> =A0 =A0--metadata=3D0.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 =A0http://vger.kernel.org/majordomo-info=
html
>>>>>>>
>>>>>>
>>>>>> You had a RAID1 array? Of which devices did it consists of? Look=
s 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 =A0http://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
>



--=20
Roberto Spadim
Spadim Technology / SPAEmpresarial
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" i=
n
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: i made sh*t can anyone help!?

am 18.03.2011 15:30:36 von Roberto Spadim

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=3Draid1 devices=3D2 ctime=3DWed 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=3Draid1 devices=3D2 ctime=3DWed 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 :
> Sorry, could not find valid secondary superblock
> Exiting now.
>
>
> :'(
>
> any help?
>
> 2011/3/18 Roberto Spadim :
>> now i have a broken filesystem right? i think old and new metadata w=
as
>> not the same
>> i don't have partitions over /dev/md0, just xfs filesystem
>>
>> 2011/3/18 Roberto Spadim :
>>> :( any other idea? what could i do?
>>>
>>> 2011/3/18 Roberto Spadim :
>>>> # 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 :
>>>>> i see some files contents with
>>>>> cat /dev/md0 | less
>>>>>
>>>>> 2011/3/18 Roberto Spadim :
>>>>>> 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,
>>>>>> =A0 =A0 =A0 missing codepage or helper program, or other error
>>>>>> =A0 =A0 =A0 In some cases useful info is found in syslog - try
>>>>>> =A0 =A0 =A0 dmesg | tail =A0or so
>>>>>>
>>>>>>
>>>>>>
>>>>>> 2011/3/18 Mathias Bur=E9n :
>>>>>>> On 18 March 2011 13:43, Roberto Spadim =
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=3D1 --raid-devices=3D2 /dev/=
sdb missing
>>>>>>>> mdadm: /dev/sdb appears to be part of a raid array:
>>>>>>>> =A0 =A0level=3Draid1 devices=3D2 ctime=3DWed Mar 16 19:01:50 2=
011
>>>>>>>> mdadm: Note: this array has metadata at the start and
>>>>>>>> =A0 =A0may not be suitable as a boot device. =A0If you plan to
>>>>>>>> =A0 =A0store '/boot' on this device please ensure that
>>>>>>>> =A0 =A0your boot-loader understands md/v1.x metadata, or use
>>>>>>>> =A0 =A0--metadata=3D0.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 linu=
x-raid" in
>>>>>>>> the body of a message to majordomo@vger.kernel.org
>>>>>>>> More majordomo info at =A0http://vger.kernel.org/majordomo-inf=
o.html
>>>>>>>>
>>>>>>>
>>>>>>> You had a RAID1 array? Of which devices did it consists of? Loo=
ks 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 =A0http://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
>



--=20
Roberto Spadim
Spadim Technology / SPAEmpresarial
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" i=
n
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html