Discussion:
Informix IDS 12.10 Developer Edition - problems with adding dbspace in NFS mounted folder
(too old to reply)
Piotr
2015-06-09 13:30:20 UTC
Permalink
Raw Message
Hi,

Informix: IDS 12.10 Developer Edition
OS: Centos 6.6 (2.6.32-504.16.2.el6.x86_64)
NFS mounted folder: /home/informix/ixinst1/storage
NFS export:
[***@informix1 ~]$ more /etc/exports
/home/informix/nfstest 192.168.1.133(rw,sync,no_root_squash,no_subtree_check)

I'm trying to create new DBSpace in NFS mounted folder and I get error related to permissions.

[***@informix2 storage]$ onspaces -c -d datadbs04 -p /home/informix/ixinst1/storage/DATADBS04.01 -o 0 -s 4194304
Verifying physical disk space, please wait ...
The chunk '/home/informix/ixinst1/storage/DATADBS04.01' must have READ/WRITE permissions for owner (600)

[***@informix2 storage]$ ls -l
total 876548
-rw-rw---- 1 informix informix 0 Jun 9 05:48 DATADBS04.01

[***@informix2 ixinst1]$ ls -l
drwxrwx--- 2 informix informix 4096 Jun 9 05:48 storage

[***@informix2 bin]$ ls -l onspaces
-rwsr-sr-x. 1 informix informix 2745009 Jun 3 03:25 onspaces

I think file and folder permissions look fine. What is the reason of such error? Is such functionality not supported or is this just a bug? Maybe the problem is not in Informix executable but in my OS? Any help appreciated!

Best Regards,
Piotr
Frank Langelage
2015-06-09 19:06:57 UTC
Permalink
Raw Message
rw-rw---- = 660 !
And 660 <> 600!
Post by Piotr
Hi,
Informix: IDS 12.10 Developer Edition
OS: Centos 6.6 (2.6.32-504.16.2.el6.x86_64)
NFS mounted folder: /home/informix/ixinst1/storage
/home/informix/nfstest 192.168.1.133(rw,sync,no_root_squash,no_subtree_check)
I'm trying to create new DBSpace in NFS mounted folder and I get error related to permissions.
Verifying physical disk space, please wait ...
The chunk '/home/informix/ixinst1/storage/DATADBS04.01' must have READ/WRITE permissions for owner (600)
total 876548
-rw-rw---- 1 informix informix 0 Jun 9 05:48 DATADBS04.01
drwxrwx--- 2 informix informix 4096 Jun 9 05:48 storage
-rwsr-sr-x. 1 informix informix 2745009 Jun 3 03:25 onspaces
I think file and folder permissions look fine. What is the reason of such error? Is such functionality not supported or is this just a bug? Maybe the problem is not in Informix executable but in my OS? Any help appreciated!
Best Regards,
Piotr
p***@gmail.com
2015-06-09 19:21:06 UTC
Permalink
Raw Message
Post by Frank Langelage
rw-rw---- = 660 !
And 660 <> 600!
Post by Piotr
Hi,
Informix: IDS 12.10 Developer Edition
OS: Centos 6.6 (2.6.32-504.16.2.el6.x86_64)
NFS mounted folder: /home/informix/ixinst1/storage
/home/informix/nfstest 192.168.1.133(rw,sync,no_root_squash,no_subtree_check)
I'm trying to create new DBSpace in NFS mounted folder and I get error related to permissions.
Verifying physical disk space, please wait ...
The chunk '/home/informix/ixinst1/storage/DATADBS04.01' must have READ/WRITE permissions for owner (600)
total 876548
-rw-rw---- 1 informix informix 0 Jun 9 05:48 DATADBS04.01
drwxrwx--- 2 informix informix 4096 Jun 9 05:48 storage
-rwsr-sr-x. 1 informix informix 2745009 Jun 3 03:25 onspaces
I think file and folder permissions look fine. What is the reason of such error? Is such functionality not supported or is this just a bug? Maybe the problem is not in Informix executable but in my OS? Any help appreciated!
Best Regards,
Piotr
Now it's solved. Thanks. I didn't notice the issue with permissions for group.
s***@t-online.de
2015-06-15 19:25:24 UTC
Permalink
Raw Message
Hello Piotr,

i would not recommend it and afaik it is not supported


Superboer.
Post by p***@gmail.com
Post by Frank Langelage
rw-rw---- = 660 !
And 660 <> 600!
Post by Piotr
Hi,
Informix: IDS 12.10 Developer Edition
OS: Centos 6.6 (2.6.32-504.16.2.el6.x86_64)
NFS mounted folder: /home/informix/ixinst1/storage
/home/informix/nfstest 192.168.1.133(rw,sync,no_root_squash,no_subtree_check)
I'm trying to create new DBSpace in NFS mounted folder and I get error related to permissions.
Verifying physical disk space, please wait ...
The chunk '/home/informix/ixinst1/storage/DATADBS04.01' must have READ/WRITE permissions for owner (600)
total 876548
-rw-rw---- 1 informix informix 0 Jun 9 05:48 DATADBS04.01
drwxrwx--- 2 informix informix 4096 Jun 9 05:48 storage
-rwsr-sr-x. 1 informix informix 2745009 Jun 3 03:25 onspaces
I think file and folder permissions look fine. What is the reason of such error? Is such functionality not supported or is this just a bug? Maybe the problem is not in Informix executable but in my OS? Any help appreciated!
Best Regards,
Piotr
Now it's solved. Thanks. I didn't notice the issue with permissions for group.
Loading...