Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

A few months ago I have setup a server with three hard disks. The partition mapping the disks as follows:

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x7ca36fee

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       12158    97659103+  83  Linux
/dev/sda2           12159       13131     7815622+  82  Linux swap / Solaris
/dev/sda3           13132      121601   871285275    5  Extended
/dev/sda5           13132      121601   871285243+  8e  Linux LVM

Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000160d1

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1      121601   976760001    5  Extended
/dev/sdc5               1      121601   976759969+  8e  Linux LVM

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0008d423

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1      121601   976760001    5  Extended
/dev/sdb5               1      121601   976759969+  8e  Linux LVM

As you can see I have created a Linux LVM file system. This are the information of the LVM Logical volume:

--- Logical volume ---
LV Name                /dev/gegevens/Data
VG Name                gegevens
LV UUID                XsddGq-i3wO-HjTg-Lafe-TSF3-28kr-FGYhRd
LV Write Access        read/write
LV Status              available
# open                 1
LV Size                2.63 TB
Current LE             689648
Segments               3
Allocation             inherit
Read ahead sectors     auto
- currently set to     256
Block device           252:0

Now I have the following problem the LVM file system don't mount properly.

If I open the mount point I see only a few files of the LVM disk. If I want to unmount the disk I get the following error:

umount /data/
umount: /data/: not mounted

If I want to mount the volume I get the following error:

mount -a
mount: /dev/mapper/gegevens-Data already mounted or /data busy

Wat is the problem here?

Thank you,

Ivo Trompert

share|improve this question

Please paste the output of the following commands:

mount

as root:

lsof | grep gegevens-Data

as root again:

lsof | grep /data
share|improve this answer

Given the messages /dev/mapper/gegevens-Data already mounted or /data busy and umount: /data/: not mounted, it looks like your gegevens-Data volume is already mounted on some other directory. You can confirm that with df /dev/mapper/gegevens-Data or grep /dev/mapper/gegevens-Data /proc/mounts.

If your next question is why it is mounted: either you did it manually and forgot, or there is an entry for /dev/mapper/gegevens-Data or UUID=XsddGq-i3wO-HjTg-Lafe-TSF3-28kr-FGYhRd in /etc/fstab.

You may be interested in the command mount --move /some/where /data to change the point where a filesystem is mounted without having to unmount it.

If I open the mount point I see only a few files of the LVM disk.

Actually these files are probably files that you tried to write to the LVM disk when it wasn't mounted on /data, so move them to the LVM disk before mounting it where you want it.

share|improve this answer

An application has files open under /data, which is blocking the mount operation. Use lsof or fuser to verify.

share|improve this answer

Successfully mounted my LVM partitions using steps mentioned in link below

Mounting LVM Disk using Ubuntu livecd

See if it can help you?

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .