Re: raid on extended partitions

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

 



On Monday May 31, maheshext3@xxxxxxxxx wrote:
> Hello folks, I am using kernel version 2.4.18-ac3,
> mdadm - v1.2.0 - 13 Mar 2003 and wanted to take a shot
> at creating a RAID on an extended partition using
> mdadm.
> the commands used were (all drives were swapped off an
> unmounted before running these, and I am running on a
> motherboard with 4 IDE channels; the drives used were
> /dev/hde and /dev/hdg):
> Fdisk RESULT for hde (same on hdg as well):
>    Device Boot    Start       End    Blocks   Id 
> System
> /dev/hde1             1      9052  72710158+  83 
> Linux
> /dev/hde2          9053     36473 220259182+   5 
> Extended
> /dev/hde5          9053     12877  30724281   fd 
> Linux raid autodetect
> 
> Calling ioctl() to re-read partition table.
>  hde: hde1 hde2 < hde5 >
>  hde: hde1 hde2 < hde5 >
> Syncing disks.
> 
> After that, When I tried to run:
> mdadm --create --force /dev/md3 --raid-devices=2
> --level=1 /dev/hde5 /dev/hdg5
> 
> I get:
> mdadm: Cannot open /dev/hde5: No such file or
> directory
> mdadm: Cannot open /dev/hdg5: No such file or
> directory
> mdadm: create aborted

What does
   ls -l /dev/hd[eg]5
show? How about
   cat /proc/partitions
   dd if=/dev/hde5 of=/dev/null bs=1024k

NeilBrown

> 
> I am using mdadm - v1.2.0 - 13 Mar 2003

Not the most recent .....  but it should still work.

-
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