#4023 Swap mount point


The swap mount point is not displayed correctly. The module is not locking for dm (device-mapper) on swap partition.
I use mdadm and lvm2, and my swap space is displayed 2 times. Once with /dev/dm-11 and once with LVM VG mapper, LV system-swap
Also once saved=yes and once saved=no


  • Nobody/Anonymous

    my mount points

  • Jamie Cameron

    Jamie Cameron - 2011-11-08

    is /dev/dm-11 a symlink on your system, and if so where does it link to?

  • Anonymous - 2011-11-17

    Ok sorry but after some research in the linux kernel is found out that the fstab device name is changed into kernel device mapper name, so /dev/system-swap is /dev/dm-11.
    The entry in /etc/fstab is different from /proc/swaps.
    Hm right now I'm looking to change this on the linux kernel, but won't be so easy it needs a lot of research...
    If you want take a look in the kernel tree under "mm/swapfile.c", and watch what is between "#ifdef CONFIG_PROC_FS" and "#endif /* CONFIG_PROC_FS */".

    This is no webmin bug, but rather a kernel bug.
    Sorry (I will rename the fstab entry into dm-11 to see if webmin is displaying it correctly and then post my answer)

  • Anonymous - 2011-11-17

    ok I renamed in the fstab file /dev/system-swap into /dev/dm-11 but the probleme is the same.
    well it is not a drastic problem, but the kernel should fix this :)

  • Jamie Cameron

    Jamie Cameron - 2011-11-18

    OK, I will ignore this issue in Webmin for now then ..


Log in to post a comment.