Re: LVM on dmraid breakage
"Bryn M. Reeves" <[email protected]>
| Newsgroups | gmane.linux.ataraid,gmane.linux.kernel.device-mapper.devel,gmane.linux.lvm.general |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Luca Berra wrote: > Two things come to mind > 1) dmraid should use ioctl BLKPG_DEL_PARTITION, to clean up any eventual > partition table on component devices > > 2) lvm tool filter could be modified to check if a device has been > already claimed by device-mapper. > But device-mapper already opens devices exclusively when a target claims them. The problem here sounds more like it's down to ordering; LVM2 is being given a chance to scan the devices & build LVs / claim devices before dmraid gets a look at them. Kind regards, Bryn. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFGsbXh6YSQoMYUY94RAp5aAKDHrjX/LIoM5XPkeD/3hkd+oQ9vHgCZAXHS Ykme+1gwvYuRat0fZwBALJs= =mIsK -----END PGP SIGNATURE-----