Re: RAID 5 Whole Devices - Partition

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

 



On 5/30/06, Luca Berra <bluca@xxxxxxxxxx> wrote:
On Tue, May 30, 2006 at 08:08:03PM +0300, Michael Theodoulou wrote:
>Hello,
>
>I am trying to create a RAID5 array out of 3 160GB SATA drives. After
>i create the array i want to partition the device into 2 partitions.
>
>The system lies on a SCSI disk and the 2 partitions will be used for
>data storage.
>The SATA host is an HPT374 device with drivers compiled in the kernel.
>
>These are the steps i followed
>
>mdadm -Cv --auto=part /dev/md_d0 --chunk=64 -l 5 --raid-devices=3
>/dev/hde /dev/hdi /dev/hdk
>
>Running this command notifies me that there is an ext2 fs on one of
>the drives even if i fdisked them before and removed all partititions.
....
>Furthermore when i fdisk the drives after all of this i can see the 2
>partitions on /dev/hde and /dev/hdi but /dev/hdk shows that no
>partition exists. Is this a sign of data corruption or drive failure?
are you sure you removed all partitions before creating the md

I run fdisk on each disk and deleted all partitions. Wrote the
partition table to disk. Removed /etc/mdadm.conf, disabled mdmonitor
and rebooted.

>Shouldnt all 3 drives show the same partition information?
the drives should not contain any partition information.
(well actually the first will show an invalid partition table, since the
partition of the mdp array will be written exactly at the beginning of
the first raid disk.

I havent partitioned the disks, all the partitions where created after
running mdadm to create the array.

Michael
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux