1834232 Members
2666 Online
110066 Solutions
New Discussion

NFS

 
SOLVED
Go to solution
tigm7103105q1
Contributor

NFS

Hi! Whos know? , how I can to put 86 server's in "/etc/exports" in a list.

Tank's
4 REPLIES 4
Geoff Wild
Honored Contributor

Re: NFS

vi?

or you can write a script using awk or sed...


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
RAC_1
Honored Contributor

Re: NFS

What exactly you want? Export a file system to 86 servers? If yes then break line as \ and continue giving server names?

Anil
There is no substitute to HARDWORK
Geoff Wild
Honored Contributor

Re: NFS

Aha - if RAC is right - you might run into a line limit - 256 characters...

I saw somewhere that this can be adjusted...

...searching.....

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Geoff Wild
Honored Contributor
Solution

Re: NFS

Check out this thread:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=77847

It's in /usr/include/limits.h

# define LINE_MAX 2048L /* Expected length in bytes of a
utility's input line when input
is from text files */



# define _POSIX2_LINE_MAX 2048 /* Unless otherwise noted, the maximum
length, in bytes, of a utility's
input line (either standard input or
another file), when the utility is
described as processing text files.
The length includes room for the
trailing newline. */



Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.