unable to create .vdi-file on LVM-partition

Discussions related to using VirtualBox on Linux hosts.
Post Reply
jonaskellens
Posts: 15
Joined: 6. Oct 2008, 20:56

unable to create .vdi-file on LVM-partition

Post by jonaskellens »

In an LVM-setup I have created several partitions, one partition for every Virtual machine.

I have for example a virtual machine 'endian' who has his harddisk (endian.vdi) on this /endian-partition.

VirtualBox is running as normal user. This normal user is member of the group vboxusers.

Now, when I want to create an endian.vdi in the /endian-directory I get the error that the .vdi-file cannot be created.

These are the rights :

Code: Select all

drwxrwxr-x   3 root vboxusers  4096 Jun 14 20:24 endian
The group vboxusers has all the rights it needs. Why can't my normal user then create a .vdi-file ???
My user has 'vboxusers' set as primary group.
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Re: unable to create .vdi-file on LVM-partition

Post by TerryE »

I use LVM routinely for my VMs but I must admit that I've found it a lot easier to avoid using the mount-point directories directly. I usually use sudo to create an images directory under the mount-point that is owned by the relevant user.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Post Reply