All of lore.kernel.org
 help / color / mirror / Atom feed
* mkraid creating 5G raid device from 110G partitions
@ 2003-12-06  1:38 Brandon Evans
  0 siblings, 0 replies; only message in thread
From: Brandon Evans @ 2003-12-06  1:38 UTC (permalink / raw)
  To: Linux-raid maillist

Hello all,
	I'm trying to create a RAID-1 array  using 2 WD hard drives on  a 
server running knoppix.  For some reason mkraid /dev/md1 creates a raid 
device that is only 5 Gigs, however the partitions I am using in the 
array are about 110Gigs.  This is urgent, so if the answer to this is 
out there but I havent found it on google yet, I apologize.


Here is the relevant Raid configuration:

The server is running knoppix 3.3, 2 WD 120Gig HD's, 2G Ram

mkraid version 0.90.0


root@0[mnt]# fdisk -l

Disk /dev/hda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot    Start       End    Blocks   Id  System
/dev/hda1             1         6     48163+  fd  Linux raid autodetect
/dev/hda2             7       132   1012095   82  Linux swap
/dev/hda3           133     14593 116157982+  fd  Linux raid autodetect

Disk /dev/hdb: 120.0 GB, 120000000000 bytes
255 heads, 63 sectors/track, 14589 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot    Start       End    Blocks   Id  System
/dev/hdb1             1         6     48163+  fd  Linux raid autodetect
/dev/hdb2             7     14589 117137947+  fd  Linux raid autodetect



root@0[mnt]# cat /proc/mdstat
Personalities : [raid1]
read_ahead 1024 sectors
md1 : active raid1 hdb2[1] hda3[0]
       5116608 blocks [2/2] [UU]

md0 : active raid1 hdb1[1] hda1[0]
       48064 blocks [2/2] [UU]

unused devices: <none>


root@0[mnt]# cat /etc/raidtab
raiddev             /dev/md0
raid-level                  1
nr-raid-disks               2
chunk-size                  64k
persistent-superblock       1
nr-spare-disks              0
     device          /dev/hda1
     raid-disk     0
     device          /dev/hdb1
     raid-disk     1
raiddev             /dev/md1
raid-level                  1
nr-raid-disks               2
chunk-size                  64k
persistent-superblock       1
nr-spare-disks              0
     device          /dev/hda3
     raid-disk     0
     device          /dev/hdb2
     raid-disk     1







-- 
Thanks,
     Brandon E.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-12-06  1:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-06  1:38 mkraid creating 5G raid device from 110G partitions Brandon Evans

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.