Re: md software raid

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

 



On Fri Oct 23, 2009 at 02:11:09AM -0700, ian.d wrote:

> 
> hello
> 
> As a newbie to Linux kernel etc.
> 
> How do you tell which version of md software raid is included in a specific
> kernel version?
> Is there a command to run which will return this info?
> Is it possible to install different versions of md in different kernels?
> 
There's two separate components to Linux software RAID - the md code in
the kernel, and the mdadm application which interfaces with it.  I very
much doubt the kernel code is versioned at all, other than by the kernel
version (or GIT version).  The mdadm application is versioned, and you
can get the installed version by running 'mdadm -V'.

Some of the mdadm functionality will only work with newer kernel
versions, but you should be able to run any version with any kernel
(within reason anyway) and make use of the core functionality.  There
may be some exceptions here, but they should be detailed in the release
notes for specific versions.

As for changing the md version in the kernel - it may be possible, but
generally there's a lot of work involved in back/forward porting code
between kernel versions (because of changes to core structures, etc).

Is there any particular reason you're asking this (e.g. needing to use
some of the latest functionality with an older kernel)?  You may get
a more definitive answer if you have a specific case.

HTH,
    Robin
-- 
     ___        
    ( ' }     |       Robin Hill        <robin@xxxxxxxxxxxxxxx> |
   / / )      | Little Jim says ....                            |
  // !!       |      "He fallen in de water !!"                 |

Attachment: pgp72tEkEkVRF.pgp
Description: PGP signature


[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