New answers tagged

2

Your information is contradictory. /dev/md0 cannot simultaneously be a PV and have a partition table. file would recognize a PV. It seems that md0 is partitioned so that the LVM volume is rather /dev/md0p1 or /dev/md0p2. Maybe for some reason pvscan / vgscan ignore /dev/md0 / /dev/md0p1 (and thus LVM cannot find the UUID). You may run pvscan through strace ...


0

In theory, yes: you can create a custom write-intent bitmap, or tell mdadm to assemble an array from only the beginnings of the disks, or probably some tricks I haven't thought of. In practice, trying to do so carries a high risk of data loss: you're bypassing the system's safeguards, so it can't protect you from getting your disks mixed up, or incorrectly ...


4

RAID always needs a device (at least if you use md). There are two ways. The probably better one is to use a network block device: https://en.wikipedia.org/wiki/Network_block_device You can tell md to use such a device for writing only (because it's too slow for reading) with mdadm ... --write-mostly. The other option is to create a file on a network ...



Top 50 recent answers are included