[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Agregar RAID a un sistema



>>
>
> Tenes creada las particiones en /dev/sda y /dev/sdb del mismo tamaño?
>
> cual es la salida de
>
> fdisk -l /dev/sda

root@krypton:~# fdisk -l /dev/sda

Disk /dev/sda: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x3832a2d9

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1      182401  1465136001   83  Linux
root@krypton:~#


>
> y
>
> fdisk -l /dev/sdb
>

root@krypton:~# fdisk -l /dev/sdb

Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x3832a2d9

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1      182401  1465136001   83  Linux
root@krypton:~#



>
> de acuerdo al numero de particion por ejemplo
>
> mdadm --create /dev/md0 --level=raid1 --raid-devices=2 /dev/sda1 /dev/sdb1
>
> y despues crea el sistema de archivos preferido en /dev/md0 y deberia salir
>
> Espero sirva
>
> Saludos
>
> --
>

el --verbose da esto:

root@krypton:~# mdadm --verbose --create /dev/md0 --level=raid1
--raid-devices=2 /dev/sda /dev/sdb
mdadm: super1.x cannot open /dev/sda: Device or resource busy
mdadm: failed container membership check
mdadm: device /dev/sda not suitable for any style of array
root@krypton:~#

y no hay caso...

no entiendo que puede pasar. Agradezco ideas o material de lectura, ya
que hay cientos de guias pero ninguna me sirvio para resolver el
problema.

Gracias a todos

Juan


Reply to: