Operating System - HP-UX
1754020 Members
7433 Online
108811 Solutions
New Discussion юеВ

Re: Error on mounted remote file systems

 
SOLVED
Go to solution
Chui Kock You_1
Frequent Advisor

Re: Error on mounted remote file systems

Hi R.K,

Permission from L Class.
"backup" already mounted successful, but "back" failed (access denied).

drwxrwxrwx 3 root sys 1024 Sep 15 15:22 back
drwxrwxrwx 7 root root 4096 Oct 1 13:51 backup

How to change the /back permission from sys to root?
Any idea.

Regards
Chui
Dennis Handly
Acclaimed Contributor

Re: Error on mounted remote file systems

>How to change the /back permission from sys to root?

On the server just use "chgrp root /back".
This shouldn't prevent the mount.
R.K. #
Honored Contributor

Re: Error on mounted remote file systems

Hi Again..

What error do you get when you try mounting /back on the client.

Please post
#more /etc/exports #(from nfs server)
Don't fix what ain't broke
Chui Kock You_1
Frequent Advisor

Re: Error on mounted remote file systems

Hi Dennis & R.K,

Both server hostname AMLICMGE
I want to do remote connect from D Class to L Class by using name /backL1000 -> L Class /back/mdb/db1 (/dev/vg01/lvol12 6144000 1758797 4111198 30% /back/mdb/db1)

Currently D Class already have one remote connection /backupL1000 -> L Class /backup


Result show in D Class:

# showmount -e AMLICMGE
no exported file systems for AMLICMGE

# showmount -e AMLICMGEN02
export list for AMLICMGEN02:
/backup (everyone)

# more /etc/exports
#

drwxrwxrwx 3 root sys 96 May 18 2003 back
drwxrwxrwx 2 root sys 96 Dec 2 18:41 backL1000
drwxrwxrwx 8 root sys 2048 Mar 17 2008 backup
drwxrwxrwx 7 root root 4096 Oct 1 13:51 backupL1000

Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 122880 76795 43231 64% /
/dev/vg00/lvol1 47829 20872 22174 48% /stand
/dev/vg00/lvol8 819200 706961 106170 87% /var
/dev/vg00/lvol7 565248 368654 184327 67% /usr
/dev/vg01/lvol8 262144 90615 160815 36% /usr/mdb/wmswork
/dev/vg01/lvol13 4096000 3802120 275519 93% /usr/mdb/db9
/dev/vg01/lvol12 5734400 4193742 1444372 74% /usr/mdb/db8
/dev/vg01/lvol11 2662400 2401776 244342 91% /usr/mdb/db7
/dev/vg01/lvol10 2662400 2401776 244342 91% /usr/mdb/db6
/dev/vg01/lvol7 3072000 2701871 347003 89% /usr/mdb/db5
/dev/vg01/lvol6 3072000 2701871 347003 89% /usr/mdb/db4
/dev/vg01/lvol5 3072000 2701871 347003 89% /usr/mdb/db3
/dev/vg01/lvol4 3072000 2701871 347003 89% /usr/mdb/db2
/dev/vg01/lvol3 4096000 3599639 465403 89% /usr/mdb/db1
/dev/vg01/lvol2 5120000 3689418 1341220 73% /usr/db
/dev/vg01/lvol1 3121152 1913455 1132253 63% /usr/appl
/dev/vg00/lvol6 163840 9003 150572 6% /tmp
/dev/vg00/lvol5 450560 380940 66044 85% /opt
/dev/vg00/lvol4 921600 892842 28758 97% /home
/dev/vg02/lvol1 4190208 3722198 438783 89% /backup
/dev/vg01/lvol9 1048576 151936 840604 15% /back/mdb/db1
AMLICMGEN02:/backup
24576000 21817964 2714984 89% /backupL1000
#


Result show in L Class:

# showmount -e AMLICMGE
export list for AMLICMGE:
/backup (everyone)

# showmount -e AMLICMGEN02
export list for AMLICMGEN02:
/backup (everyone)

# more /etc/exports
/backup -anon=65534


drwxrwxrwx 3 root sys 1024 Sep 15 15:22 back
drwxrwxrwx 7 root root 4096 Oct 1 13:51 backup

Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 524288 152036 349899 30% /
/dev/vg00/lvol1 512499 55606 405643 12% /stand
/dev/vg00/lvol8 2097152 811196 1210599 40% /var
/dev/vg00/lvol7 2097152 703243 1306832 35% /usr
/dev/vg01/lvol11 1024000 1357 958735 0% /usr/mdb/wmsworks
/dev/vg01/lvol10 6144000 3002626 2945045 50% /usr/mdb/db8
/dev/vg01/lvol9 6144000 3002626 2945045 50% /usr/mdb/db7
/dev/vg01/lvol8 6144000 3002626 2945045 50% /usr/mdb/db6
/dev/vg01/lvol7 6144000 3002627 2945044 50% /usr/mdb/db5
/dev/vg01/lvol6 6144000 4502634 1538787 75% /usr/mdb/db4
/dev/vg01/lvol5 6144000 4502634 1538787 75% /usr/mdb/db3
/dev/vg01/lvol4 6144000 4502651 1538771 75% /usr/mdb/db2
/dev/vg01/lvol3 6144000 5381143 715180 88% /usr/mdb/db1
/dev/vg01/lvol1 6144000 2721577 3208580 46% /usr/db
/dev/vg01/lvol2 6144000 2204072 3701423 37% /usr/appl
/dev/vg00/lvol6 1048576 396008 622390 39% /tmp
/dev/vg00/lvol5 2097152 834602 1183705 41% /opt
/dev/vg00/lvol4 4194304 1114441 2889232 28% /home
/dev/vg01/lvol13 24576000 21670508 2860136 88% /backup
/dev/vg01/lvol12 6144000 1758797 4111198 30% /back/mdb/db1

Regards
Chui
Firmus Yang
New Member

Re: Error on mounted remote file systems

Hi Chui,
According to your words,the nfs "/backup" is ok,and the nfs"/back"is not well.
You need to edit the /etc/exports file in L Class,add the nfs"/back" .
then run the command "exportfs -a" to publish the new nfs"/back".
at last,go to D Class ,mount the remote nfs"/back"


Regards
Firmus
Limits exist only in the mind !
R.K. #
Honored Contributor

Re: Error on mounted remote file systems

Hi Again,

Yes, you need to edit /etc/exports and add entry of /back. Then run #exportfs -a.

So..
1. Edit /etc/exports in server where /back resides.
2. #exportfs -a
3. NOw, mount it on other server.
Don't fix what ain't broke
Chui Kock You_1
Frequent Advisor

Re: Error on mounted remote file systems

Hi R.K & Dennis,

Finally it work.
Thanks a lot for your help.

Regards
Chui