Operating System - HP-UX
1751771 Members
4436 Online
108781 Solutions
New Discussion юеВ

Re: getting error in export

 
SOLVED
Go to solution
Md. Farhan A Azam
Trusted Contributor

getting error in export

Hi Gurus,

i have edited /etc/exports file and when i issued commnad #export -a

getting below error.

sh: export: A specified flag is not valid for this command.
6 REPLIES 6
Md. Farhan A Azam
Trusted Contributor

Re: getting error in export

we rae using 11.11
sujit kumar singh
Honored Contributor

Re: getting error in export

hi Farhan


this seems to be some syntax erroe in the /etc/exports file, u can check by manually exporting that individual entry or u can post the /etc/exports

Regards

Sujit
Md. Farhan A Azam
Trusted Contributor

Re: getting error in export

hello,

Alreday all NFS si working but i added one line in /etc/exports, and tried to export it by running export -a, that time getting this error.
Robert-Jan Goossens_1
Honored Contributor

Re: getting error in export

Hi,

could you post the line you have added to the /etc/exports?

Robert-Jan
VK2COT
Honored Contributor
Solution

Re: getting error in export

Hello,

The proper command to export file systems
for HP-UX 11.11 is:

# exportfs -a

Not "export -a".

Cheers,

VK2COT
VK2COT - Dusan Baljevic
Md. Farhan A Azam
Trusted Contributor

Re: getting error in export

Thanks....i forgot it....