swapon: /dev/dm-1 error early in boot process

Jay Cliburn jacliburn at bellsouth.net
Sun Jul 16 01:04:58 UTC 2006


Early in the boot process -- so early as to not be found
in /var/log/dmesg immediately following bootup -- the following message
flies by on two rawhide systems (i386 and x86_64).  The x86_64 is
completely up to date; the i386 system is about 4 days behind.

The error message is:
Enabling swap partitions: swapon: /dev/dm-1: Device or resource busy

The i386 system has a single IDE drive arranged thusly:
[root at gadwall ~]# fdisk -l

Disk /dev/hda: 15.3 GB, 15303075840 bytes
255 heads, 63 sectors/track, 1860 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1          13      104391   83  Linux
/dev/hda2              14        1860    14836027+  8e  Linux LVM

Disk /dev/dm-0: 14.7 GB, 14730395648 bytes
255 heads, 63 sectors/track, 1790 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 402 MB, 402653184 bytes
255 heads, 63 sectors/track, 48 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-1 doesn't contain a valid partition table
==========================================================

The x86_64 machine has a single SATA drive arranged thusly:
[root at osprey ~]# fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14       19457   156183930   8e  Linux LVM

Disk /dev/dm-0: 157.8 GB, 157806493696 bytes
255 heads, 63 sectors/track, 19185 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 2080 MB, 2080374784 bytes
255 heads, 63 sectors/track, 252 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-1 doesn't contain a valid partition table
==========================================================

On both systems, swap is eventually enabled properly, but what's up with
the error message?  And what are these invalid partition table messages
in the fdisk output?  /dev/dm-1 apparently corresponds
to /dev/VolGroup00/LogVol01, which is partitioned for swap on both
systems.

I've googled and searched bugzilla to no avail.  (I'm thinking of
changing my middle name to ZarroBoogs.)  Does anyone else see the swapon
error message?

Thanks,
Jay





More information about the fedora-test-list mailing list