Bug 10111 - mkraid doesn't do a full match when checking for mounted disks
mkraid doesn't do a full match when checking for mounted disks
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: raidtools (Show other bugs)
6.1
All Linux
medium Severity low
: ---
: ---
Assigned To: Erik Troan
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-03-10 09:20 EST by Kees Cook
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-03-10 09:20:07 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Kees Cook 2000-03-10 09:20:07 EST
In the rare situation where you have multiple partitions
defined for one disk and have the 10th partition mounted,
(eg, /dev/sda10), and want to build a raid partition on
the 1st partition (eg, /dev/sda1) "mkraid" will claim that
the partition is mounted (eg "/dev/sda1 mounted!").  This
is due to an incorrect pattern match while reading
/etc/mtab.  ('/dev/sda1' matches '/dev/sda10' incorrectly.)

This can be worked around by temporarily editing out the
10th partition entry in /etc/mtab while mkraid is running
its initial verifications.

Once the raid is actually created, everything is fine.
Comment 1 Erik Troan 2000-08-05 10:29:14 EDT
Fixed in raidtools-0.90-12

Note You need to log in before you can comment on or make changes to this bug.