linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Linux RAID setup
@ 2004-10-09 12:21 Poonam Dalya
  2004-10-09 12:37 ` Neil Brown
  2004-10-09 22:25 ` Bernd Fischer
  0 siblings, 2 replies; 3+ messages in thread
From: Poonam Dalya @ 2004-10-09 12:21 UTC (permalink / raw)
  To: linux-raid; +Cc: neilb


 Hello Sir,

         I want to Setup RAID 0 on my standalone
system. I have windows and linux both on my system. I
went through many documents and and also through the
book 'Managing RAID on Linux ' by Derek Vadala. I
tried to setup RAID with the following steps. I
downloaded mdadm from your site. I have listed down
the steps i did with their outputs. Please if you
could go through it and let me know where the problem
lies, it would be of great help.
 
 1. I was able to include the RAID modules with the
 modprobe command. The mdstat file was as below.
 
 bash2-2.05b# cat /proc/mdstat
 Personalities : [raid0] [raid1]
 read_ahead not set
 unused devices: <none>
 
 ---------------------------------------------------
 
 2. I partitioned the disk using fdisk and the
 pratition table looked like below
 
 Disk /dev/hda: 40.0 GB, 40020664320 bytes
 255 heads, 63 sectors/track, 4865 cylinders
 Units = cylinders of 16065 * 512 = 8225280 bytes
  
    Device Boot    Start       End    Blocks   Id 
 System
 /dev/hda1   *         1      1275  10241406    c 
 Win95 FAT32 (LBA)
 /dev/hda2          1276      2550  10241437+   f 
 Win95 Ext'd (LBA)
 /dev/hda3          2551      2626    610470   82 
 Linux swap
 /dev/hda4          2627      4865  17984767+  fd 
 Linux raid autodetect
 /dev/hda5          1276      2550  10241406   fd 
 Linux raid autodetect
  
 ------------------------------------------------
 
 3. Then I worrked with the following command.
       I got the following error.
 
 bash2-2.05b# mdadm --create /dev/md0 --level=0
 --chunk=128 --raid-disks=2 /dev/hda5 /dev/hda4
 mdadm: /dev/hda5 appears to contain an ext2fs file
 system size=10241404K  mtime=Sat Oct  9 17:06:24 2004
 Continue creating array? y
 mdadm: ADD_NEW_DISK for /dev/hda5 failed: Invalid
 argument
 
 --------------------------------------------------

 4. When i again tried with that command, it showed
 the following error.
 
 bash2-2.05b# mdadm --create /dev/md0 --level=0
 --chunk=128 --raid-disks=2 /dev/hda5 /dev/hda4
 mdadm: /dev/hda5 appears to contain an ext2fs file
 system size=10241404K  mtime=Sat Oct  9 17:06:24 2004
 Continue creating array? y
 mdadm: SET_ARRAY_INFO failed for /dev/md0: File
 exists
 
 ---------------------------------------------------

 5. the mdstat file was same 
 
 bash2-2.05b#  cat /proc/mdstat
 Personalities : [raid0] [raid1]
 read_ahead not set
 md0 : inactive
 unused devices: <none>
 
        Please if you could solve my problem, it
 would be of very great help for me. I have a deadline
as sunday and today is saturday. So, sir please do
 reply.
         Thank you.
 
 With Regards,
 Poonam
India.
 
 
 		
 
 



		


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

end of thread, other threads:[~2004-10-09 22:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-09 12:21 Linux RAID setup Poonam Dalya
2004-10-09 12:37 ` Neil Brown
2004-10-09 22:25 ` Bernd Fischer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).