...
Code Block |
---|
[root@abiquo-rs ~]# cat /etc/fstab
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
192.168.1.10:/opt/vm_repository /opt/vm_repository nfs defaults 0 0
|
And check that it is mounted at /opt/vm_repository
Code Block |
---|
[root@abiquo-rs ~]# mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
192.168.1.10:/opt/vm_repository on /opt/vm_repository type nfs (rw,addr=10.60.1.72)
|
Do the same thing on the Abiquo V2V Services host.
...
Code Block |
---|
touch /opt/vm_repository/.abiquo_repository
|
Check the ownership of the NFS share
On the Remote Services host, check the owner of the NFS share mounted as /opt/vm_repository
.
Code Block |
---|
[root@abiquo-rs ~]# ls -ld /opt/vm_repository/
drwxr-xr-x 13 root root 1714 abr 17 13:51 /opt/vm_repository/
|
If this /opt/vm_repository
folder is not owned by tomcat, then change the owner:
Code Block |
---|
[root@abiquo-rs ~]# chown -R tomcat:tomcat /opt/vm_repository
|
Now the tomcat user has full access to this folder.
Code Block |
---|
[root@abiquo-rs ~]# ls -ld /opt/vm_repository/
drwxr-xr-x 1 tomcat tomcat 1714 abr 17 13:51 /opt/vm_repository/
|