I am using redhat 5.2 with 2.0.36 with the raid0145-19990108-2.0.36
patch and I have had raid sucessfully running on this before.  I am
booting off a jazz drive which is sda, the other devices are 4gb drives
sdb through sde.

Sdb and sdc are to form one mirror and here is how they are partitioned.

Disk /dev/sdb: 255 heads, 63 sectors, 553 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdb1             1         1      8001   83  Linux native
/dev/sdb2             2        14    104422+  82  Linux swap
/dev/sdb3            15       553   4329517+  85  Linux extended
/dev/sdb5            15        52    305203+  fd  Unknown
/dev/sdb6            53       179   1020096   fd  Unknown
/dev/sdb7           180       306   1020096   fd  Unknown
/dev/sdb8           307       433   1020096   fd  Unknown
/dev/sdb9           434       553    963868+  fd  Unknown

Disk /dev/sdc: 255 heads, 63 sectors, 553 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdc1             1         1      8001   83  Linux native
/dev/sdc2             2        14    104422+  82  Linux swap
/dev/sdc3            15       553   4329517+  85  Linux extended
/dev/sdc5            15        52    305203+  fd  Unknown
/dev/sdc6            53       179   1020096   fd  Unknown
/dev/sdc7           180       306   1020096   fd  Unknown
/dev/sdc8           307       433   1020096   fd  Unknown
/dev/sdc9           434       553    963868+  fd  Unknown

/dev/sdd and /dev/sde are configured as follows

Disk /dev/sdd: 255 heads, 63 sectors, 553 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdd1             1        13    104391   82  Linux swap
/dev/sdd2            14       553   4337550   fd  Unknown

Disk /dev/sde: 255 heads, 63 sectors, 553 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sde1             1        13    104391   82  Linux swap
/dev/sde2            14       553   4337550   fd  Unknown



here is what is in my /etc/raidtab

raiddev /dev/md0
        raid-level              1
        nr-raid-disks           2
        nr-spare-disks          0
        chunk-size              4
        persistent-superblock   1
        device                  /dev/sdb5
        raid-disk               0
        device                  /dev/sdc5
        raid-disk               1

raiddev /dev/md1
        raid-level              1
        nr-raid-disks           2
        nr-spare-disks          0
        chunk-size              4
        persistent-superblock   1
        device                  /dev/sdb6
        raid-disk               0
        device                  /dev/sdc6
        raid-disk               1

raiddev /dev/md2
        raid-level              1
        nr-raid-disks           2
        nr-spare-disks          0
        chunk-size              4
        persistent-superblock   1
        device                  /dev/sdb7
        raid-disk               0
        device                  /dev/sdc7
        raid-disk               1

raiddev /dev/md3
        raid-level              1
        nr-raid-disks           2
        nr-spare-disks          0
        chunk-size              4
        persistent-superblock   1
        device                  /dev/sdb8
        raid-disk               0
        device                  /dev/sdc8
        raid-disk               1
raiddev /dev/md4
        raid-level              1
        nr-raid-disks           2
        nr-spare-disks          0
        chunk-size              4
        persistent-superblock   1
        device                  /dev/sdb9
        raid-disk               0
        device                  /dev/sdc9
        raid-disk               1

raiddev /dev/md5
        raid-level              1
        nr-raid-disks           2
        nr-spare-disks          0
        chunk-size              4
        persistent-superblock   1
        device                  /dev/sdd2
        raid-disk               0
        device                  /dev/sde2
        raid-disk               1


I have no problems doing a mkraid /dev/md5, but I cannot do 1-4 here is
what I get

[root@dhcp66-239 /root]# mkraid --really-force /dev/md3
DESTROYING the contents of /dev/md3 in 5 seconds, Ctrl-C if unsure!
handling MD device /dev/md3
analyzing super-block
disk 0: /dev/sdb8, 1020096kB, raid superblock at 1020032kB
disk 1: /dev/sdc8, 1020096kB, raid superblock at 1020032kB
mkraid: aborted

and here is what appears in /var/log/messages

Dec 25 22:23:09 dhcp66-239 kernel: md: can not import sdb8, has active
inodes!
Dec 25 22:23:09 dhcp66-239 kernel: md: error, md_import_device()
returned -16


I have no clue what this means, and I need some help.


Thanks in advance.

Joe

Reply via email to