HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Error on mounted remote file systems

 
SOLVED
Go to solution
Chui Kock You_1
Frequent Advisor

Error on mounted remote file systems

Dear Experts,

I try to run the Mounted Remote File Systems through SAM in D Class machine (to mount remote file from L Class), but not sure why error appear.

I have check the permission in L Class it seem OK.

D class server configuration
Model:D270
Operating System:HPUX 10.20

L class server configuration
Model:L1000
Operating System:HPUX 11.00

Attached is the screen shot for the error.

Please advice what is wrong ?

Regards
Chui
16 REPLIES
Johnson Punniyalingam
Honored Contributor
Solution

Re: Error on mounted remote file systems

can we use command line to try mount the NFS mount point ?


#mount NFS_SERVER_NAME:/ABC /ABC_NFS
Problems are common to all, but attitude makes the difference
Michael Steele_2
Honored Contributor

Re: Error on mounted remote file systems

Hi

This had been reported as bug JAGae26582. The fix is SAM patch PHCO_36562.

Note that SAM has it's own command set and is different from HP-UX. So it needs to be patched up serparately. If you are not up to date then you're probably missing many SAM patches.

Unfortunately for you, this fix is an 11.11 fix with nothing for 11.00.
Support Fatherhood - Stop Family Law
Chui Kock You_1
Frequent Advisor

Re: Error on mounted remote file systems

Hi Johnson,

Still not able to mount error..
Is the command correct ?

# mount amlicmgen02:/backL1000
mount: amlicmgen02:/backL1000 was either ignored or not found in /etc/fstab

Regards
Chui
Johnson Punniyalingam
Honored Contributor

Re: Error on mounted remote file systems

Above error looks like you have not configured NFS mount point share .

Couple things to start from scratch, becoz info post on your original post its very simple and we need to check step by step

1. can ping D Clasd Server <=> L class server

verse vise ?

2. ps -ef |grep nsf

3. # showmount -e servername
current export list on NFS server

# showmount -a
currently connected NFS clients


Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: Error on mounted remote file systems

# mount amlicmgen02:/backL1000 ? -. you are missing ??

mount: amlicmgen02:/backL1000 was either ignored or not found in /etc/fstab

when your trying to mount like above "it will look for the mount point in your "NFS Client"
without specifying were /which directory . System will sreach in "Current fstab file of your nfs client"

Example :-

# mount NFS_SERVER_NAME:/ABC /ABC_NFS_Client

NFS_SERVER_NAME= amlicmgen02
/ABC = Source Directory of your NFS Server
/ABC_NSF_Client = target are were you want to mount

Please take note /ABC_NSF_Client -> directory is temporary mount point for your "NFS Server mount point to have has NFS mount point under your NFS Client

Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: Error on mounted remote file systems

Also please refer to attachment file

Please read and understand the document
How to setup "NSF Server & NFS Client"

and then try to mounted remote file systems


Problems are common to all, but attitude makes the difference
Chui Kock You_1
Frequent Advisor

Re: Error on mounted remote file systems

Hi Johnson,

Below is the result show in D Class server.

# ps -ef |grep nsf
root 16024 16010 0 15:01:59 ttyp2 0:00 grep nsf

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


# showmount -a
#

Regards
Chui
R.K. #
Honored Contributor

Re: Error on mounted remote file systems

Hello..

Looks like a typo in previous thread.Correct command is:
# ps -ef |grep nfs

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

This means that /backup is exported from nfs server.

All you need is to mount /backup onto the client by using:

# mount :/backup /newdir
Where /newdir is a newly created directory on client (or any other directory that you wish).



Don't fix what ain't broke
R.K. #
Honored Contributor

Re: Error on mounted remote file systems

If above "mount" command works well (check with #bdf), then to make this mount point permanent on NFS CLIENT, make en entry in fstab:

# vi /etc/fstab
:/backup /newdir nfs soft 0 0

This will survive reboot.
Don't fix what ain't broke
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

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
Occasional Visitor

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