Do you know what disk your data is on?
Do you really know what disk your data is on?
This may be an easy question when you only have single
harddisks, but with vnd(4), ccd(4) and raid(4) it's not so
obvious any more, and to get the real fun started, who
said you can't use things like a RAID 1+0 configuration?!
The problem appears when you try to check filesystems:
in order to avoid hitting a disk with partitions used
in two vnd/ccd/raid/whatever configurations, some
intelligence is needed. One approach is to leave this to
the system administrator (which has some drawbacks),
another one is to figure it out automatically, and
teach fsck(8) to not hit a disk (spindle) twice at
the same time.
Robert Elz has
proposed a framework
for sorting this out. It includes the start of a patch, but
more work is needed, and some help is needed. Please
mail the missing pieces of the puzzle back to Robert!
[Tags: ccd, fsck, raid, vnd]