[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[linux-lvm] lvm ownership of special access node



Hello list.
First post. Sorry if this has already been discussed. I have search a while with no luck.
I need to mount a home directory for a user from a lvolume.
For instance, I created
 ACTIVE            '/dev/vg1/sebahome' [5.00 GB] inherit

and need it mounted on /home/seba
However, when I mount it on /home/seba permissions get root:root

orion:~# ls -ld /home/seba
drwxr-xr-x 4 root root 4096 2009-05-02 02:34 /home/seba

I think that

seba orion:~$ ls -la /dev/vg1/sebahome
lrwxrwxrwx 1 root root 24 2009-05-02 04:25 /dev/vg1/sebahome -> /dev/mapper/vg1-sebahome
seba orion:~$ ls -la /dev/mapper/vg1-sebahome
brw-rw---- 1 root disk 254, 3 2009-05-02 04:25 /dev/mapper/vg1-sebahome

is the reason.
Is there any way to create the special access node with other owner:group
like the
vxassist --user --group in veritas?
Or is there any mount option I am now aware of?

Thanks in advance,
Sebastian Muñiz


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]