> Now the question remains howinhell do I put a label on a drive such > that it does survive making a raid or lvm device with it?
LVM/MD take control of a block device (usually a partition), so any info in that block device can't be used for your purpose. IOW you have to put the info somewhere on the disk *outside* of the partition used by LVM/MD. I can see a few different options: - Use some disk-specific tool to change the disk's serial numbers. I'm not sure how common such tools are, they're probably manufacturer-specific and proprietary; my intuition tells me to try any other way first. - Use partition labels and/or partition UUIDs: contrary to filesystem labels, these are not stored inside the block device but inside the partition table. They don't exist in the old MBR-style partitions, but they do in GPT (GUID Partition Tables). - Use an additional tiny dummy partition in which you can put any info you like. Stefan