"warning: don't erase bootbits sectors on whole disk" when creating swap on a LV.
Issue
- When executing
mkswapon a LV, it prompts below warning.
~]# mkswap /dev/vg_rhel68tpl/lvswap
mkswap: /dev/vg_rhel68tpl/lvswap: warning: don't erase bootbits sectors
on whole disk. Use -f to force.
Setting up swapspace version 1, size = 1048572 KiB
no label, UUID=b0b3507e-c451-433a-89ac-7ef8432a6e11
Environment
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
