All of lore.kernel.org
 help / color / mirror / Atom feed
* metadata format 00.90 unknown, ignored
@ 2008-11-06 18:51 Leandro Tracchia
  2008-11-06 19:00 ` Peter Rabbitson
  0 siblings, 1 reply; 6+ messages in thread
From: Leandro Tracchia @ 2008-11-06 18:51 UTC (permalink / raw)
  To: linux-raid

i'm not sure exactly what i did wrong and i wouldn't mind starting
over only i'm not sure how.

i created a raid level 1 array using 2 disks.

mdadm --create /dev/md0 --level=1 --raid-devices=2   /dev/sda   /dev/sdc

then i realized i was supposed to partition these hard drives before
creating the array.

so i stopped the array after creation was complete,

mdadm --stop /dev/md0

and partitioned the hard drives for linux raid auto 'fd'. i only put
one partition on each hard drive.

then i tried to assemble the array like this:

mdadm --assemble /dev/md0 /dev/sda1 /dev/sdc1

but i get these errors:

mdadm: metadata format 00.90 unknown, ignored.
mdadm: cannot open device /dev/sda1: No such file or directory
mdadm: /dev/sda1 has no superblock - assembly aborted

i'm not sure what to do from here... can someone help??

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

* Re: metadata format 00.90 unknown, ignored
  2008-11-06 18:51 metadata format 00.90 unknown, ignored Leandro Tracchia
@ 2008-11-06 19:00 ` Peter Rabbitson
  2008-11-06 19:13   ` Leandro Tracchia
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Rabbitson @ 2008-11-06 19:00 UTC (permalink / raw)
  To: Leandro Tracchia; +Cc: linux-raid

Leandro Tracchia wrote:
> i'm not sure exactly what i did wrong and i wouldn't mind starting
> over only i'm not sure how.
> 
> i created a raid level 1 array using 2 disks.
> 
> mdadm --create /dev/md0 --level=1 --raid-devices=2   /dev/sda   /dev/sdc
> 
> ...
> 
> 
> mdadm --assemble /dev/md0 /dev/sda1 /dev/sdc1
> 

/dev/sda1 != /dev/sda

Cheers :)

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

* Re: metadata format 00.90 unknown, ignored
  2008-11-06 19:00 ` Peter Rabbitson
@ 2008-11-06 19:13   ` Leandro Tracchia
  2008-11-06 20:13     ` Leandro Tracchia
  0 siblings, 1 reply; 6+ messages in thread
From: Leandro Tracchia @ 2008-11-06 19:13 UTC (permalink / raw)
  To: Peter Rabbitson; +Cc: linux-raid

i know but when i created the fd partitions on /dev/sda and /dev/sdc
those are on /dev/sda1 /dev/sdc1

fdisk -l show this:

Disk /dev/sda: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x04bcb930

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1       91201   732572001   fd  Linux raid autodetect

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe6433e3f

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1         122      979933+  83  Linux
/dev/sdb2             123       18845   150392497+  83  Linux
/dev/sdb3           18846       19457     4915890   82  Linux swap / Solaris

Disk /dev/sdc: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xafcd80c2

-------
so why does mdadm tell me:

mdadm: Cannot open /dev/sda1: No such file or directory
mdadm: Cannot open /dev/sdc1: No such file or directory

when i try to create the array???

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1       91201   732572001   fd  Linux raid autodetect

On Thu, Nov 6, 2008 at 2:00 PM, Peter Rabbitson <rabbit@rabbit.us> wrote:
> Leandro Tracchia wrote:
>> i'm not sure exactly what i did wrong and i wouldn't mind starting
>> over only i'm not sure how.
>>
>> i created a raid level 1 array using 2 disks.
>>
>> mdadm --create /dev/md0 --level=1 --raid-devices=2   /dev/sda   /dev/sdc
>>
>> ...
>>
>>
>> mdadm --assemble /dev/md0 /dev/sda1 /dev/sdc1
>>
>
> /dev/sda1 != /dev/sda
>
> Cheers :)
>

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

* Re: metadata format 00.90 unknown, ignored
  2008-11-06 19:13   ` Leandro Tracchia
@ 2008-11-06 20:13     ` Leandro Tracchia
  2008-11-06 20:37       ` Robin Hill
  0 siblings, 1 reply; 6+ messages in thread
From: Leandro Tracchia @ 2008-11-06 20:13 UTC (permalink / raw)
  To: Peter Rabbitson; +Cc: linux-raid

ok, i want to start from scratch with these two hard drives. i quickly
learned formatting and removing them won't work. as soon as i put them
back in, mdadm starts rebuilding them. what do i need to do to be able
to create a new array with these two hard drives, if they are already
part of an apparently existing array???

On Thu, Nov 6, 2008 at 2:13 PM, Leandro Tracchia <ltracchia@gmail.com> wrote:
> i know but when i created the fd partitions on /dev/sda and /dev/sdc
> those are on /dev/sda1 /dev/sdc1
>
> fdisk -l show this:
>
> Disk /dev/sda: 750.1 GB, 750156374016 bytes
> 255 heads, 63 sectors/track, 91201 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0x04bcb930
>
>   Device Boot      Start         End      Blocks   Id  System
> /dev/sda1               1       91201   732572001   fd  Linux raid autodetect
>
> Disk /dev/sdb: 160.0 GB, 160041885696 bytes
> 255 heads, 63 sectors/track, 19457 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0xe6433e3f
>
>   Device Boot      Start         End      Blocks   Id  System
> /dev/sdb1   *           1         122      979933+  83  Linux
> /dev/sdb2             123       18845   150392497+  83  Linux
> /dev/sdb3           18846       19457     4915890   82  Linux swap / Solaris
>
> Disk /dev/sdc: 750.1 GB, 750156374016 bytes
> 255 heads, 63 sectors/track, 91201 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0xafcd80c2
>
> -------
> so why does mdadm tell me:
>
> mdadm: Cannot open /dev/sda1: No such file or directory
> mdadm: Cannot open /dev/sdc1: No such file or directory
>
> when i try to create the array???
>
>   Device Boot      Start         End      Blocks   Id  System
> /dev/sdc1               1       91201   732572001   fd  Linux raid autodetect
>
> On Thu, Nov 6, 2008 at 2:00 PM, Peter Rabbitson <rabbit@rabbit.us> wrote:
>> Leandro Tracchia wrote:
>>> i'm not sure exactly what i did wrong and i wouldn't mind starting
>>> over only i'm not sure how.
>>>
>>> i created a raid level 1 array using 2 disks.
>>>
>>> mdadm --create /dev/md0 --level=1 --raid-devices=2   /dev/sda   /dev/sdc
>>>
>>> ...
>>>
>>>
>>> mdadm --assemble /dev/md0 /dev/sda1 /dev/sdc1
>>>
>>
>> /dev/sda1 != /dev/sda
>>
>> Cheers :)
>>
>

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

* Re: metadata format 00.90 unknown, ignored
  2008-11-06 20:13     ` Leandro Tracchia
@ 2008-11-06 20:37       ` Robin Hill
  2008-11-06 21:15         ` Leandro Tracchia
  0 siblings, 1 reply; 6+ messages in thread
From: Robin Hill @ 2008-11-06 20:37 UTC (permalink / raw)
  To: linux-raid

[-- Attachment #1: Type: text/plain, Size: 879 bytes --]

On Thu Nov 06, 2008 at 03:13:41PM -0500, Leandro Tracchia wrote:

> ok, i want to start from scratch with these two hard drives. i quickly
> learned formatting and removing them won't work. as soon as i put them
> back in, mdadm starts rebuilding them. what do i need to do to be able
> to create a new array with these two hard drives, if they are already
> part of an apparently existing array???
> 
You'll need to wipe the superblocks:
    mdadm --zero-superblock /dev/sda
    mdadm --zero-superblock /dev/sdc

Then recheck the partitioning is still okay before continuing to create
the new array on the partitions.

Cheers,
    Robin
-- 
     ___        
    ( ' }     |       Robin Hill        <robin@robinhill.me.uk> |
   / / )      | Little Jim says ....                            |
  // !!       |      "He fallen in de water !!"                 |

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

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

* Re: metadata format 00.90 unknown, ignored
  2008-11-06 20:37       ` Robin Hill
@ 2008-11-06 21:15         ` Leandro Tracchia
  0 siblings, 0 replies; 6+ messages in thread
From: Leandro Tracchia @ 2008-11-06 21:15 UTC (permalink / raw)
  To: linux-raid

wiping the superblocks! yes, that was it. thanks!

On Thu, Nov 6, 2008 at 3:37 PM, Robin Hill <robin@robinhill.me.uk> wrote:
> On Thu Nov 06, 2008 at 03:13:41PM -0500, Leandro Tracchia wrote:
>
>> ok, i want to start from scratch with these two hard drives. i quickly
>> learned formatting and removing them won't work. as soon as i put them
>> back in, mdadm starts rebuilding them. what do i need to do to be able
>> to create a new array with these two hard drives, if they are already
>> part of an apparently existing array???
>>
> You'll need to wipe the superblocks:
>    mdadm --zero-superblock /dev/sda
>    mdadm --zero-superblock /dev/sdc
>
> Then recheck the partitioning is still okay before continuing to create
> the new array on the partitions.
>
> Cheers,
>    Robin
> --
>     ___
>    ( ' }     |       Robin Hill        <robin@robinhill.me.uk> |
>   / / )      | Little Jim says ....                            |
>  // !!       |      "He fallen in de water !!"                 |
>

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

end of thread, other threads:[~2008-11-06 21:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-06 18:51 metadata format 00.90 unknown, ignored Leandro Tracchia
2008-11-06 19:00 ` Peter Rabbitson
2008-11-06 19:13   ` Leandro Tracchia
2008-11-06 20:13     ` Leandro Tracchia
2008-11-06 20:37       ` Robin Hill
2008-11-06 21:15         ` Leandro Tracchia

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.