Search code examples
linuxmount

Linux Logical Volume Manager


I can see that a single Logical volume can be mounted on two different file systems -- now can someone explain to me the pros and cons of this? Why doesn't Linux throw up error when this happens?

Ex:

/dev/mapper/vgEP0-lvol12
9.9G 9.2G 243M 98% /LSMW


/dev/mapper/vgEP0-lvol12
9.9G 9.2G 243M 98% /oracle/EP0/oraflash

Solution

  • In Linux a device can be mounted multiple times.

    From mount(2) man page

    Since Linux 2.4 a single file system can be visible at multiple  mount
    points, and multiple mounts can be stacked on the same mount point.