Summary: | false warning from mkswap in connection with device-mapper | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | niteblade |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED OBSOLETE | ||
Severity: | trivial | CC: | saintdev |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 461382 | ||
Bug Blocks: |
Description
niteblade
2009-05-30 07:35:24 UTC
Thanks for the report. Even if no-one gets around to fixing it for a while, it is still useful to have it documented in the bug database so future users noticing the warning can know not to be concerned. I get the same thing, however the swap space is no longer mounted after the warning. $ sudo /etc/init.d/dmcrypt restart * WARNING: you are stopping a boot service * Caching service dependencies... [ ok ] * Removing dm-crypt mappings * Removing dm-crypt mapping for: crypt-swap... [ ok ] * Setting up dm-crypt mappings... * Checking swap is not LUKS * dm-crypt map crypt-swap... * cryptsetup will be called with : -c aes -h sha256 -d /dev/urandom create crypt-swap /dev/system/swap [ ok ] * Running pre_mount commands for crypt-swap... mkswap: /dev/mapper/crypt-swap: warning: don't erase bootbits sectors on whole disk. Use -f to force. $ free total used free shared buffers cached Mem: 4059344 2682836 1376508 0 150480 989128 -/+ buffers/cache: 1543228 2516116 Swap: 0 0 0 I doubt this is a problem with device-mapper from current lvm2 package anymore. If you still see this, please reopen this bug. |