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

mkraid doesn't ever finish



I don't know if it's a software or hardware problem, but I'm not having
any luck in setting up a raid-1 mirror using the old raidtools.

mkraid worked fine on the smaller /var and /usr partitions (200MB and
1GB respectively), but it always bombs on the largish /home partitions
(20GB), where it always gets stuck at some random point (anywhere from
15% to 45%), but doesn't display any error messages of any sort...

This is my setup:
Hardware:  2 IBM hard disks (model # IC35L040) 40GB 7200rpm
Software:  Debian 3.0
           stock kernel (2.2.20) with raid1 module loaded
           raidtools 0.42-33

Any ideas?

On another note, I've actually been meaning to ditch the old raidtools,
and also wanted to use the rather nifty ext3 filesystem, but ran into
problems when trying to apply both of these:
* kernel-patch-2.2.20-raid
* kernel-patch-ext3-2.2

The first patch always applies fine, but the second one always fails, no
matter what order I try.  I guess it makes sense since they're both
altering the same file (fs.h), but I'm not sure where to go from here...

----- RAID patch first, then EXT3 patch -----
zeus:/usr/src/linux# ../kernel-patches/i386/2.2.20/apply/raid
zeus:/usr/src/linux# ../kernel-patches/all/apply/ext3fs-2_2
Testing whether ext3 FS Filesystem Support for Linux 2.2.x patch for 2.2.20 applies (dry run):
1 out of 12 hunks FAILED -- saving rejects to file include/linux/fs.h.rej
ext3 FS Filesystem Support for Linux 2.2.x patch for 2.2.20 does not apply cleanly
Testing whether ext3 FS Filesystem Support for Linux 2.2.x patch for 2.2.19 applies (dry run):
1 out of 12 hunks FAILED -- saving rejects to file include/linux/fs.h.rej
ext3 FS Filesystem Support for Linux 2.2.x patch for 2.2.19 does not apply cleanly

zeus:/usr/src/linux# cat include/linux/fs.h.rej
cat: include/linux/fs.h.rej: No such file or directory
zeus:/usr/src/linux# cat include/linux/fs.h.rej
cat: include/linux/fs.h.rej: No such file or directory
zeus:/usr/src/linux# find . -name '*.rej'
zeus:/usr/src/linux#


----- EXT3 patch first, then RAID patch -----
zeus:/usr/src/linux# ../kernel-patches/all/apply/ext3fs-2_2
Testing whether ext3 FS Filesystem Support for Linux 2.2.x patch for 2.2.20 applies (dry run):
ext3 FS Filesystem Support for Linux 2.2.x patch for 2.2.20 succeeded
Removing empty files after patching:
Done.
zeus:/usr/src/linux# ../kernel-patches/i386/2.2.20/apply/raid
1 out of 6 hunks FAILED -- saving rejects to file include/linux/fs.h.rej

zeus:/usr/src/linux# cat include/linux/fs.h.rej
***************
*** 191,196 ****
  #define BH_Req                3       /* 0 if the buffer has been invalidated */
  #define BH_Protected  6       /* 1 if the buffer is protected */
  #define BH_Wait_IO    7       /* 1 if we should throttle on this buffer */

  /*
   * Try to keep the most commonly used fields in single cache lines (16
--- 191,197 ----
  #define BH_Req                3       /* 0 if the buffer has been invalidated */
  #define BH_Protected  6       /* 1 if the buffer is protected */
  #define BH_Wait_IO    7       /* 1 if we should throttle on this buffer */
+ #define BH_LowPrio    8       /* 1 if the buffer is lowprio */

  /*
   * Try to keep the most commonly used fields in single cache lines (16



Reply to: