Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I installed Ubuntu Server 12.04 x64 with a software RAID 1 and had to run boot-repair to make the system bootable. Now everything seems to be ok except that it throws following warnings during each boot:

swapon: /dev/disk/by-uuid/51a0d1be-d9d7-4d08-aebc-bddc25cdc4e5: swapon failed: Device or resource busy
mountall: swapon: /dev/disk/by-uuid/51a0d1be-d9d7-4d08-aebc-bddc25cdc4e5 [447] Terminated with status 255
mountall: Problem activating swap:  /dev/disk/by-uuid/51a0d1be-d9d7-4d08-aebc-bddc25cdc4e5
/dev/md0: clean, 12.../600... files, .../... blocks

As you can see in the boot-info-file, the partition mentioned above is the swap for both drives (sda1, sdb1) of the RAID array. fdisk -l also reveals some errors. Couldn't find any applicable solution.

fstab content:

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/md0 during installation
UUID=f6f13096-6514-4a5e-9fe9-151754c56b64 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda1 during installation
UUID=51a0d1be-d9d7-4d08-aebc-bddc25cdc4e5 none            swap    sw              0       0
# swap was on /dev/sdb1 during installation
UUID=51a0d1be-d9d7-4d08-aebc-bddc25cdc4e5 none            swap    sw              0       0

Additional info: maybe it has something to do with the boot-repair warning [dmraid] packages may interfere with MDraid. Do you want to remove them? (I clicked No).

What can I do to resolve this? fsck?

Appriciate any help!

share|improve this question
    
did you find a solution? I see the same message in boot-repair currently, unsure how to proceed.. –  Jonathan Day Jun 18 '13 at 2:17
    
@JonathanDay No I didn't, sorry. –  Sceptical Jule Jun 20 '13 at 18:56
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.