Mount external XFS shared volume in ubuntu server

jad0083

[H]ard DCOTM March 2022
Joined
Apr 30, 2006
Messages
160
ok, a little bit more complicated than the title, but here is the setup:

the shared volumes are in an openfiler file server, that is basically integrated to my AD setup
*the shared volumes are all xfs
*my DC and DNS server is server 2008 R2
*shares and permissions work perfectly within all my windows boxes (can even automount using gpo)

Now, I'm currently playing with a ubuntu server distro (11.10) and for the life of me, cannot mount those external xfs shares.
I've tried various mount scripts, no go.
I was successful in integrating the distro to the domain via centrify, and even tried automounting using pam-mount module, but still cannot. always get that damn permission denied error...
Am I missing something here? lol, anyways any help is very much appreciated :)
 
ok, now I'm able to mount it (I think) using this:


user> kinit
user> sudo mount.cifs //host/share /folder -o sec=krb5
mount error(126): Required key not available
user> sudo chmod root:root /tmp/krb5cc_1000_XWHnic(temp key)
user> sudo mount.cifs //host/share /folder -o sec=krb5

but now cannot access the share, having "permission denied" error

ls -lsa output:

4 drwxr-xr-x 5 root root 4096 2012-02-24 21:30 .
4 drwxr-xr-x 24 root root 4096 2012-02-24 00:13 ..
4 drwxr-xr-x 2 root root 4096 2012-02-23 02:16 cdrom
4 drwxr-xr-x 2 root root 4096 2012-02-23 02:18 hgfs
0 drwxrws---+ 437 99 16777237 0 2012-02-23 01:47 fileshare <--- this is the mounted share
 
Last edited:
I usually like linux, but these are the times I don't lol...
anyway, no go even when forcing uid=0 (root) and guid=0 (root)

I AM already logging into the linux box using my AD login and password, cannot understand why this is such a POS to do ><
 
Back
Top