With linux 2.0.36 and patch raid0145-19990421-2.0.36 applied, if a disk is
looked at for autostart but rejected because it's superblock  is out of
date, you can't raidhotadd or raidhotremove it because the dummy inode is
still out there.  This would be no problem if I had really replaced the disk
with a fresh one that would have been rejected from the autostart process.
In my case, it was just put back on line giving me the message "md: can not
import /dev/sda1, has active inodes!"

At some time between patches 19990108 and 19990421 the line:

        clear_inode(rdev->inode);

was replaced with

        blkdev_release(rdev->inode);

I think _both_ lines are necessary to release the inode.

Thoughts?

Rich Bollinger, Elliott Company


Reply via email to