Re: [gentoo-user] Mounting a Network Drive

2005-01-25 Thread Mike Noble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mike Noble wrote:
| Chris Boot wrote:
| | Hi,
| |
| | The file name must be /etc/exports (with the s) for this to work.
| |
|
| This should not be the case, /export01 can be able to export as well
| as any other directory.
|
| Mike
Never mind what I said, I miss read the statement, you are correct
the file must be called /etc/exports.  I really need to start looking
at things better.  For Some reason I thought you were talking about
the directory, but then still not thinking cause that is /export, which
is where most exported file systems are usually at on a server.
Mike

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFB9yXulJFYJP/fwTsRAtATAKCEKXGC1NZ5+CRWF67TFJIRPUtNCQCeNu2T
zFSSLYJXw6uQPZMXUMWH3jw=
=hFXU
-END PGP SIGNATURE-
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Mounting a Network Drive

2005-01-25 Thread Nicholas Pappas
Mike Noble wrote:
Ok what did you do, I'm sure we would all like to know, this way we
will think of it for others.
	It was... um... well... I had created /etc/export and had been 
modifying that.  I had been hitting auto-complete since then so I just 
kept editing the same file instead of actually paying attention to what 
I was doing. -_-

Nick
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Mounting a Network Drive

2005-01-25 Thread Mike Noble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris Boot wrote:
| Hi,
|
| The file name must be /etc/exports (with the s) for this to work.
|
This should not be the case, /export01 can be able to export as well
as any other directory.
Mike
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFB9x9FlJFYJP/fwTsRAgJsAJ9xH4QZdCtNgSpnGFOiYQXRKHtJbwCghg76
cIghuXfMHiEv/tsvtb8OqOM=
=HaH1
-END PGP SIGNATURE-
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Mounting a Network Drive

2005-01-25 Thread Mike Noble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nicholas Pappas wrote:
| Chris Boot wrote:
| That's okay... something else you said in there fixed the problem.
| I'm just going to hang my head in shame and back into the corner because
| it is the absolute dumbest thing I could have been missing. :)
| I got it working now!
|
Ok what did you do, I'm sure we would all like to know, this way we
will think of it for others.
Mike
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFB9x63lJFYJP/fwTsRAqR5AKCEu3JF77WucedQamt5MHjGKdiDowCfZEV7
eGQcm7oqgLnJaINtENdWmGM=
=ejLL
-END PGP SIGNATURE-
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Mounting a Network Drive

2005-01-25 Thread Nicholas Pappas
Chris Boot wrote:
Oops! Sorry! Didn't completely read your message! I see you've started 
portmap and nfs, I'll shut up now. :-P
	That's okay... something else you said in there fixed the problem.  I'm 
just going to hang my head in shame and back into the corner because it 
is the absolute dumbest thing I could have been missing. :)
	I got it working now!

Thanks Chris, Mike & Nick for your help!!
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Mounting a Network Drive

2005-01-25 Thread Chris Boot
Hi,
Oops! Sorry! Didn't completely read your message! I see you've started 
portmap and nfs, I'll shut up now. :-P

Chris
Chris Boot wrote:
Hi,
The file name must be /etc/exports (with the s) for this to work.
Also, make sure you have nfs-utils installed and started 
(/etc/init.d/nfs start). This will start portmap, you need this too 
(should be taken care of by dependencies). Needless to day you need 
NFS server and probably NFS client support compiled in the kernel or 
as a module.

Then, run 'exportfs -arv', I find this is the best to use.
HTH,
Chris
Nicholas Pappas wrote:
Thanks Mike.  I changed around a few things, but still am unable 
to get a response out of 'exportfs'.
Here is my /etc/export (changed slightly to match yours):

/export01 linna(rw,sync,no_root_squash)
Here is the output of 'rc-udpate -s' (to point out where nfs and 
portmap are):

netmount |  default
 nfs |  default
nfsmount |
nscd |
  ntp-client |
ntpd |  default
 numlock |
 portmap |  default
 postfix |  default
Here is a 'ls -la' of my /export01 directory, what I am trying to 
make shared:

[EMAIL PROTECTED] export01 # ls -la
total 28
drwxr-xr-x   4 root root   4096 Jan 21 16:37 .
drwxr-xr-x  21 root root   4096 Dec 22 20:32 ..
drwxrwxr-x   3 root users  4096 Jan 21 16:37 Multimedia
drwx--   2 root root  16384 Dec 20 14:28 lost+found
When I type in 'exportfs -av' I get nothing in return.  Another 
prompt pops up with no output from the command. =(

Thanks for all the help!
--
gentoo-user@gentoo.org mailing list


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] Mounting a Network Drive

2005-01-25 Thread Chris Boot
Hi,
The file name must be /etc/exports (with the s) for this to work.
Also, make sure you have nfs-utils installed and started 
(/etc/init.d/nfs start). This will start portmap, you need this too 
(should be taken care of by dependencies). Needless to day you need NFS 
server and probably NFS client support compiled in the kernel or as a 
module.

Then, run 'exportfs -arv', I find this is the best to use.
HTH,
Chris
Nicholas Pappas wrote:
Thanks Mike.  I changed around a few things, but still am unable 
to get a response out of 'exportfs'.
Here is my /etc/export (changed slightly to match yours):

/export01 linna(rw,sync,no_root_squash)
Here is the output of 'rc-udpate -s' (to point out where nfs and 
portmap are):

netmount |  default
 nfs |  default
nfsmount |
nscd |
  ntp-client |
ntpd |  default
 numlock |
 portmap |  default
 postfix |  default
Here is a 'ls -la' of my /export01 directory, what I am trying to 
make shared:

[EMAIL PROTECTED] export01 # ls -la
total 28
drwxr-xr-x   4 root root   4096 Jan 21 16:37 .
drwxr-xr-x  21 root root   4096 Dec 22 20:32 ..
drwxrwxr-x   3 root users  4096 Jan 21 16:37 Multimedia
drwx--   2 root root  16384 Dec 20 14:28 lost+found
When I type in 'exportfs -av' I get nothing in return.  Another 
prompt pops up with no output from the command. =(

Thanks for all the help!
--
gentoo-user@gentoo.org mailing list


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] Mounting a Network Drive

2005-01-25 Thread Nicholas Pappas
	Thanks Mike.  I changed around a few things, but still am unable to get 
a response out of 'exportfs'.
	Here is my /etc/export (changed slightly to match yours):

/export01 linna(rw,sync,no_root_squash)
	Here is the output of 'rc-udpate -s' (to point out where nfs and 
portmap are):

netmount |  default
 nfs |  default
nfsmount |
nscd |
  ntp-client |
ntpd |  default
 numlock |
 portmap |  default
 postfix |  default
	Here is a 'ls -la' of my /export01 directory, what I am trying to make 
shared:

[EMAIL PROTECTED] export01 # ls -la
total 28
drwxr-xr-x   4 root root   4096 Jan 21 16:37 .
drwxr-xr-x  21 root root   4096 Dec 22 20:32 ..
drwxrwxr-x   3 root users  4096 Jan 21 16:37 Multimedia
drwx--   2 root root  16384 Dec 20 14:28 lost+found
	When I type in 'exportfs -av' I get nothing in return.  Another prompt 
pops up with no output from the command. =(

Thanks for all the help!
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Mounting a Network Drive

2005-01-24 Thread Mike Noble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nicholas Pappas wrote:
| Mike Noble wrote:
|
| When I punch this in, on the server, there is no output.  It doesn't
| appear the the /etc/export is being picked up. :(
|
| Thanks for all the help everyone!
|
On one of my machines, I am exporting /home and in doing an exportfs, I
get:
root# exportfs
/home   gandalf.cox.net
and in showing in verbose mode:
root# exportfs -v
/home   gandalf.cox.net(rw,wdelay,no_root_squash)
my /etc/exports file looks like this:
root# cat /etc/exports
# /etc/exports: NFS file systems being exported.  See exports(5).
/home   gandalf(rw,sync,no_root_squash)
I am only exporting the file system to one machine  which is why I have
the name of the machine rather then a "*".
When you export the file system you might want to us -av so that it
shows a bit more as in:
root# exportfs -av
exporting gandalf.cox.net:/home
Keep your questions and information coming, we can get this working.
Mike
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFB9c4GlJFYJP/fwTsRAkNJAKCNL5A4OJ+KfDLXK2sqH8ukXp4j+wCeIhBJ
258lPVMcTRxkzeQU7lQH3yI=
=UNt0
-END PGP SIGNATURE-
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Mounting a Network Drive

2005-01-23 Thread Nicholas Pappas
Mike Noble wrote:
Just a thought, do you have tcpd added to your USE flags?
No.  It is not.
If you have not done so you need to enable NFS support in the
kernel.
	I have both "NFS file system support" and "NFS server support" selected 
in both kernels.

Make sure that you have portmap and nfs running on both machines.
Double checked, they are.
You can check you exports by issuing the following command:
exportfs
	When I punch this in, on the server, there is no output.  It doesn't 
appear the the /etc/export is being picked up. :(

Thanks for all the help everyone!
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Mounting a Network Drive

2005-01-22 Thread Mike Noble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nicholas Pappas wrote:
| Chris Boot wrote:
|
|> If I'm not mistaken you don't want a space between the * and (:
|
|
| Thanks Chris, gave that a shot and reran 'exportfs -a' (just to be
| sure).  No joy. :(  I still get the Permission denied error.
|
| --
| gentoo-user@gentoo.org mailing list
|
|
Just a thought, do you have tcpd added to your USE flags?
If you have not done so you need to enable NFS support in the
kernel.
Make sure that you have portmap and nfs running on both machines.
You can check you exports by issuing the following command:
exportfs
Note: the -a was not included, exportfs by itself will list all the
exported file systems.
Mike
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFB8zJ7lJFYJP/fwTsRAu7cAKCBMVz/osuv9bTByeHWBU+nta0cWgCbBzRb
pI9c3PbPDT7HaPJbQDPvWKg=
=SOC7
-END PGP SIGNATURE-
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Mounting a Network Drive

2005-01-22 Thread Nicholas Pappas
Chris Boot wrote:
If I'm not mistaken you don't want a space between the * and (:
	Thanks Chris, gave that a shot and reran 'exportfs -a' (just to be 
sure).  No joy. :(  I still get the Permission denied error.

--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Mounting a Network Drive

2005-01-22 Thread Chris Boot
Hi,
If I'm not mistaken you don't want a space between the * and (:
/export01 *(rw,sync)
HTH,
Chris
On 22 Jan 2005, at 16:18, Nicholas Pappas wrote:
Thanks Mike,
	I ran through the list of commands you sent, on both the client and 
server, and added the following to /etc/export:

/export01 * (rw,sync)
	Then I hop back onto the client and run the following command, and 
get the following error:

linna nick # mount -t nfs sylia:/export01 /mnt/export01
mount: sylia:/export01 failed, reason given by server: Permission 
denied

	So, I'm closer! :)  Do I need special permissions set up on 
sylia:/export01 in order to mount it?  I am trying to mount it as root 
on the client, and only the subdirectories are readable by users.
	Thanks for the help!

Nick
--
gentoo-user@gentoo.org mailing list

--
Chris Boot
[EMAIL PROTECTED]
http://www.bootc.net/
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Mounting a Network Drive

2005-01-22 Thread Nicholas Pappas
Thanks Mike,
	I ran through the list of commands you sent, on both the client and 
server, and added the following to /etc/export:

/export01 * (rw,sync)
	Then I hop back onto the client and run the following command, and get 
the following error:

linna nick # mount -t nfs sylia:/export01 /mnt/export01
mount: sylia:/export01 failed, reason given by server: Permission denied
	So, I'm closer! :)  Do I need special permissions set up on 
sylia:/export01 in order to mount it?  I am trying to mount it as root 
on the client, and only the subdirectories are readable by users.
	Thanks for the help!

Nick
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Mounting a Network Drive

2005-01-22 Thread Steven Mertens
hello,

You have to emerge nfs-utils.

On the serverside you have to make sure the nfs daemons are 
running. You also have to add the directory you wanna share in 
/etc/exports. (see man exports)
And after that do exportfs -a

On the server side you have to start /etc/init.d/nfs.
On the client side you have to start /etc/init.d/nfsmount.

Also make sure no firewall on one of the hosts is blocking the communication.

brgds.

S.


On Fri, 21 Jan 2005 16:42:48 -0500, Nick Smith <[EMAIL PROTECTED]> wrote:
> On Fri, 2005-01-21 at 16:57 -0500, Nicholas Pappas wrote:
> >   Hello all.
> >
> >   I'm trying to set up my first network drive mount.  I am using the
> > following mount string, and receiving the error below it:
> >
> > mount -t nfs sylia:/export01 /mnt/export01
> > mount: RPC: Remote system error - Connection refused
> >
> >   What do I need to emerge on my client and server, and/or have compiled
> > into my kernel in order for this to work.  My guess is NFS in the kernel
> > is important, but which of the two needs it?
> >   Thanks!
> >
> >   Nick
> > 
> kinda sounds like the daemon isnt running, but i dont use NFS i use
> samba for my network shares, check to see if whatever the NFS daemon is,
> is running.
> 
> HTH
> 
> 
> --
> gentoo-user@gentoo.org mailing list
> 
>

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mounting a Network Drive

2005-01-21 Thread Mike Noble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nicholas Pappas wrote:
| Hello all.
|
| I'm trying to set up my first network drive mount.  I am using the
| following mount string, and receiving the error below it:
|
| mount -t nfs sylia:/export01 /mnt/export01
| mount: RPC: Remote system error - Connection refused
|
| What do I need to emerge on my client and server, and/or have
| compiled into my kernel in order for this to work.  My guess is NFS in
| the kernel is important, but which of the two needs it?
| Thanks!
|
| Nick
|
To use nfs you need to do the following:
emerge nfs-utils
rc-update add nfs default
rc-update add portmap default
Unless you reboot your system you will need to issue the following
commands:
/etc/init.d/portmap start
/etc/init.d/nfs start
Both portmap and nfs need to be on both the client and server.
On the system which will be serving the file system you need to
add the file system to /etc/exports, here is an example:
/home *(rw,sync)
Once that is done you need to export the data by issuing the following
command:
exportfs -a
HTH
Mike
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFB8cPjlJFYJP/fwTsRAkIQAJ4r+7RryNXOeeWhX22VHMoEOrdNjACffG6V
i86Ft/3n/9qJZAqz8tpT6GE=
=YvPZ
-END PGP SIGNATURE-
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Mounting a Network Drive

2005-01-21 Thread Nick Smith
On Fri, 2005-01-21 at 16:57 -0500, Nicholas Pappas wrote:
>   Hello all.
> 
>   I'm trying to set up my first network drive mount.  I am using the 
> following mount string, and receiving the error below it:
> 
> mount -t nfs sylia:/export01 /mnt/export01
> mount: RPC: Remote system error - Connection refused
> 
>   What do I need to emerge on my client and server, and/or have compiled 
> into my kernel in order for this to work.  My guess is NFS in the kernel 
> is important, but which of the two needs it?
>   Thanks!
> 
>   Nick
> 
kinda sounds like the daemon isnt running, but i dont use NFS i use
samba for my network shares, check to see if whatever the NFS daemon is,
is running.

HTH



--
gentoo-user@gentoo.org mailing list