13 May 2008

Woo! A genuine technical problem

Installed a system on one disk with RAID1 (that is, each RAID segment owns one partition on the existing drive, /dev/sda). Then plugged in the second drive, copied the partition tables (cfdisk), rebooted to make sure disk & kernel agreed, now any attempt to use a partition on the second drive (/dev/sdb) — mkswap, mdadm, anything else — results in “Device or resource busy.”

lsof, lslk etc show nothing for sdb; /proc/swaps shows just the sda swap partition in use; mdadm --detail shows just the sda partitions in use for RAID. Where next?

No comments: