Re: NFS mount option in fstab

2024-09-08 Thread Rob Schmersel
On Sun, 8 Sep 2024 12:21:15 +0100 Zé Loff wrote: > On Sat, Sep 07, 2024 at 06:03:26PM +0200, Rob Schmersel wrote: > > Hi, > > > > Where can I find a description of the options I can set in fstab > > for nfs mounts? > > > > The fstab man page > > (https://man.openbsd.org/fstab.5) points to the

Re: NFS mount option in fstab

2024-09-08 Thread Zé Loff
On Sat, Sep 07, 2024 at 06:03:26PM +0200, Rob Schmersel wrote: > Hi, > > Where can I find a description of the options I can set in fstab for nfs > mounts? > > The fstab man page (https://man.openbsd.org/fstab.5) points to the mount > man page, which points to mount_nfs (https://man.openbsd.org

Re: NFS mount option in fstab

2024-09-07 Thread Matthew Weigel
On 9/7/24 11:03 AM, Rob Schmersel wrote: Hi, Where can I find a description of the options I can set in fstab for nfs mounts? They should be all described in the "-o options" sections of mount(8) and mount_nfs(8). However it looks like the list for mount_nfs(8) isn't complete (you can see th

NFS mount option in fstab

2024-09-07 Thread Dan
Mine is..it is probably better to play with the man than a system rescue caused by an nfs prb. Said about my joke it could be also that I am a case myself, don't mind it. :o) Have a great day all, -Dan Rob Schmersel : > The fstab man page (https://man.openbsd.org/fstab.5) points to the mou

NFS mount option in fstab

2024-09-07 Thread Rob Schmersel
Hi, Where can I find a description of the options I can set in fstab for nfs mounts? The fstab man page (https://man.openbsd.org/fstab.5) points to the mount man page, which points to mount_nfs (https://man.openbsd.org/mount_nfs.8). There however I can only find the command line options, but n

Stalled nfs mount from disk in standby mode

2024-01-07 Thread Luis Mendes
Hi, I'm running a 7.4 amd64 NFS server that has a sd0 spinning disk. Its only partition is encrypted as sd3i. # mount | grep sd3 /dev/sd3i on /wd_4_tb type ffs (NFS exported, local) # cat /etc/exports /wd_4_tb -alldirs -maproot=root -network=192.168.1.0 -mask=255.255.255.0 At the Slackware Lin

Re: permission denied local nfs mount

2017-07-31 Thread Kenneth Gober
On Fri, Jul 28, 2017 at 7:36 PM, Allan Streib wrote: > $ cat /etc/exports > /home/astreib/work/new-site.org -ro -network=127.0.0.1 > > Everyhing works if I remove the "-network=" from /etc/exports, i.e.: > > /home/astreib/work/new-site.org -ro 127.0.0.1 > > I don't really understand why? If you d

Re: permission denied local nfs mount

2017-07-31 Thread Allan Streib
Todd writes: > Is there anything in the logs? Can you try adding the IP of your > network adapter to exports? I don't see anything in logs. Would they be anywhere other than in /var/log? I didn't try adding the network IP but really only want this "exported" on localhost. Essentially I want t

Re: permission denied local nfs mount

2017-07-29 Thread Janne Johansson
Make sure pf isn't stopping any packets also. 2017-07-29 1:36 GMT+02:00 Allan Streib : > 6.1 amd64 release > > My goal is to serve files from a directory in my home dir via httpd. As > I understand it the way to do this is a local NFS mount in the httpd > chroot. > > B

Re: permission denied local nfs mount

2017-07-29 Thread Todd
Is there anything in the logs? Can you try adding the IP of your network adapter to exports? On Fri, Jul 28, 2017 at 6:36 PM, Allan Streib wrote: > 6.1 amd64 release > > My goal is to serve files from a directory in my home dir via httpd. As > I understand it the way to do this is

Re: permission denied local nfs mount

2017-07-28 Thread Allan Streib
Nicolas Schmidt writes: > Did you try setting an explicit netmask? I didn't; the exports(5) man page says it's optional: If the mask is not specified, it will default to the mask for that network class (A, B or C; see inet_addr(3)). I tried just now with -mask=255.255.255.0 and got t

Re: permission denied local nfs mount

2017-07-28 Thread Nicolas Schmidt
Did you try setting an explicit netmask? > Am 29.07.2017 um 01:36 schrieb Allan Streib : > > 6.1 amd64 release > > My goal is to serve files from a directory in my home dir via httpd. As > I understand it the way to do this is a local NFS mount in the httpd > chroot. >

permission denied local nfs mount

2017-07-28 Thread Allan Streib
6.1 amd64 release My goal is to serve files from a directory in my home dir via httpd. As I understand it the way to do this is a local NFS mount in the httpd chroot. Basically following the FAQ for NFS I set up this: $ cat /etc/exports /home/astreib/work/new-site.org -ro -network=127.0.0.1

Re: boot-time NFS mount broken in latest snap?

2015-09-01 Thread patric conant
Rerun with pf disabled. On Tue, Sep 1, 2015 at 11:44 PM, Joe Gidi wrote: > With the latest snap of amd64, my NFS mount from fstab is now failing to > mount at boot with this line: > > mount_nfs: can't resolve address for host microserver > > Changing the fstab entry to r

boot-time NFS mount broken in latest snap?

2015-09-01 Thread Joe Gidi
With the latest snap of amd64, my NFS mount from fstab is now failing to mount at boot with this line: mount_nfs: can't resolve address for host microserver Changing the fstab entry to reference the IP address caused the boot process to hang with a portmapper RPC error. Is anyone else s

Re: obsd 4.3 NFS mount hangs server, umount -f fails

2013-04-04 Thread Zé Loff
On 03/04/2013, at 22:41, Ted Unangst wrote: > On Wed, Apr 03, 2013 at 13:04, Jose H. wrote: >> What can be done when the NFS mount is hanged ? > > reboot. > And upgrade, while you're at it

Re: obsd 4.3 NFS mount hangs server, umount -f fails

2013-04-03 Thread Ted Unangst
On Wed, Apr 03, 2013 at 13:04, Jose H. wrote: > What can be done when the NFS mount is hanged ? reboot.

obsd 4.3 NFS mount hangs server, umount -f fails

2013-04-03 Thread Jose H.
What can be done when the NFS mount is hanged ?

Re: NFS mount can't read files.

2011-02-08 Thread Ted Unangst
On Tue, Feb 8, 2011 at 2:28 PM, Pieter Verberne wrote: > un-nfs3 that is. nfs4 uses tcp by default. nfs4 itself is rather un-nfs like... :)

Re: NFS mount can't read files.

2011-02-08 Thread Miod Vallat
> Linux uses tcp by default? How un-nfs. It's linux you are talking about. You shouldn't be surprised.

Re: NFS mount can't read files.

2011-02-08 Thread Pieter Verberne
On Tue, 8 Feb 2011 20:20:18 +0100, Otto Moerbeek wrote: On Tue, Feb 08, 2011 at 07:15:26PM +0100, David Steiner wrote: > Did you try udp v3 mounts? That's the default for a reason. > >-Otto > that did the trick! (on linux it defaulted to tcp, and i first thought udp would be unreliable

Re: NFS mount can't read files.

2011-02-08 Thread Pieter Verberne
On Tue, 8 Feb 2011 19:15:26 +0100, David Steiner wrote: Did you try udp v3 mounts? That's the default for a reason. -Otto that did the trick! (on linux it defaulted to tcp, and i first thought udp would be unreliable so never tried that.) cheers Oh, I didn't read your mail well. Yes

Re: NFS mount can't read files.

2011-02-08 Thread Otto Moerbeek
On Tue, Feb 08, 2011 at 07:15:26PM +0100, David Steiner wrote: > > Did you try udp v3 mounts? That's the default for a reason. > > > >-Otto > > > > that did the trick! > (on linux it defaulted to tcp, and i first thought udp would be > unreliable so never tried that.) Linux uses tcp by d

Re: NFS mount can't read files.

2011-02-08 Thread David Steiner
> Did you try udp v3 mounts? That's the default for a reason. > >-Otto > that did the trick! (on linux it defaulted to tcp, and i first thought udp would be unreliable so never tried that.) cheers

Re: NFS mount can't read files.

2011-02-08 Thread Otto Moerbeek
On Tue, Feb 08, 2011 at 05:05:20PM +0100, David Steiner wrote: > On Mon, Feb 7, 2011 at 7:34 PM, Pieter Verberne > wrote: > > On Sun, 06 Feb 2011 16:02:31 +0100, Pieter Verberne wrote: > >> > >> Hello, > >> > >> See thread at the bottom. I have also problems reading files while > >> mounting from

Re: NFS mount can't read files.

2011-02-08 Thread David Steiner
On Mon, Feb 7, 2011 at 7:34 PM, Pieter Verberne wrote: > On Sun, 06 Feb 2011 16:02:31 +0100, Pieter Verberne wrote: >> >> Hello, >> >> See thread at the bottom. I have also problems reading files while >> mounting from Ubuntu. I cannot read files larger than +/- 18KB. >> >> /etc/exports: >> /home/

Re: NFS mount can't read files.

2011-02-07 Thread Pieter Verberne
On Sun, 06 Feb 2011 16:02:31 +0100, Pieter Verberne wrote: Hello, See thread at the bottom. I have also problems reading files while mounting from Ubuntu. I cannot read files larger than +/- 18KB. /etc/exports: /home/pieter localhost 10.0.0.1 10.0.0.2 10.0.2.15 On Ubuntu: $ sudo mount.nfs lili

NFS mount can't read files.

2011-02-06 Thread Pieter Verberne
Hello, See thread at the bottom. I have also problems reading files while mounting from Ubuntu. I cannot read files larger than +/- 18KB. /etc/exports: /home/pieter localhost 10.0.0.1 10.0.0.2 10.0.2.15 On Ubuntu: $ sudo mount.nfs lilium:/home/pieter pieter_mount/ -w $ cat pieter_mount/test.txt

Re: cannot nfs mount an mfs

2008-12-01 Thread j
>Try removing the nosuid option from fstab, I had a similar problem and it >fixed. This did not work for me. I have tried variations, minimizing the options and selections, and have not succeeded. Can you post your actual configuration as an example? thanks --John

Re: cannot nfs mount an mfs

2008-12-01 Thread Christiano Farina Haesbaert
Try removing the nosuid option from fstab, I had a similar problem and it fixed. Best Regards. 2008/12/1 <[EMAIL PROTECTED]> > I'm trying to export an mfs filesystem, but it seems not to work. > > fstab reads > > /dev/wd0b /tmp mfs rw,nosuid,-s=524288 0 0 > > exports reads > > /tmp

Re: cannot nfs mount an mfs

2008-12-01 Thread j
> Alexander Hall wrote: > > Thanks! Somehow I find this hack both very creative and amusing at the same time. (How deep are the filesystem layers?) I wonder if there is a technical reason why plain exports do not work. --John

Re: cannot nfs mount an mfs

2008-12-01 Thread Alexander Hall
Alexander Hall wrote: [EMAIL PROTECTED] wrote: I'm trying to export an mfs filesystem, but it seems not to work. fstab reads /dev/wd0b /tmp mfs rw,nosuid,-s=524288 0 0 exports reads /tmp-maproot=root -alldirs clientname The client can mount but any I/O results i

Re: cannot nfs mount an mfs

2008-12-01 Thread Alexander Hall
[EMAIL PROTECTED] wrote: I'm trying to export an mfs filesystem, but it seems not to work. fstab reads /dev/wd0b /tmp mfs rw,nosuid,-s=524288 0 0 exports reads /tmp-maproot=root -alldirs clientname The client can mount but any I/O results in # mkdir /tmp/shared

cannot nfs mount an mfs

2008-11-30 Thread j
I'm trying to export an mfs filesystem, but it seems not to work. fstab reads /dev/wd0b /tmp mfs rw,nosuid,-s=524288 0 0 exports reads /tmp-maproot=root -alldirs clientname The client can mount but any I/O results in # mkdir /tmp/shared # mount -t nfs 192.168.1.10

Re: NFS mount by non-root

2007-04-30 Thread Mike Erdely
On Mon, Apr 30, 2007 at 09:34:44PM +0800, Lars Hansson wrote: > Benoit Myard wrote: > >By the way, is anyone aware of the reason why this option is not > >present in OpenBSD's mount [2] (technical, security) ? > > man sysctl, man mount. Look for usermount. > No idea if that works for NFS though.

Re: NFS mount by non-root

2007-04-30 Thread Lars Hansson
Benoit Myard wrote: By the way, is anyone aware of the reason why this option is not present in OpenBSD's mount [2] (technical, security) ? man sysctl, man mount. Look for usermount. No idea if that works for NFS though. --- Lars Hansson

Re: NFS mount by non-root

2007-04-30 Thread Benoit Myard
On 29/04/07, Douglas Maus <[EMAIL PROTECTED]> wrote: Is it possible for users (non-root) to mount NFS exports? Well, on Linux, and depending on the amount of regular users who should be able to mount their private shares, you could add a line to your fstab (I think this is the 'users' or 'user'

Re: NFS mount by non-root

2007-04-28 Thread Douglas Maus
Following up on my post: > Is it possible for users (non-root) to mount NFS exports? > I seem to be able to mount_nfs using sudo, but not as a regular user. Some respondents suggested that the problem lies with the port that the mount_nfs command uses, focusing on the statement in the man pages (

Re: NFS mount by non-root

2007-04-26 Thread Nick Guenther
On 4/26/07, Douglas Maus <[EMAIL PROTECTED]> wrote: > On Thu, Apr 26, 2007 at 03:33:47AM +, Douglas Maus wrote: > > Is it possible for users (non-root) to mount NFS exports? Mike Erdely responded: > From mount_nfs(8): > HISTORY > The -P flag historically informed the kernel to use a res

Re: NFS mount by non-root

2007-04-26 Thread Douglas Maus
> On Thu, Apr 26, 2007 at 03:33:47AM +, Douglas Maus wrote: > > Is it possible for users (non-root) to mount NFS exports? Mike Erdely responded: > From mount_nfs(8): > HISTORY > The -P flag historically informed the kernel to use a reserved port > when communicating with clients. In

Re: NFS mount by non-root

2007-04-26 Thread Ted Unangst
On 4/25/07, Douglas Maus <[EMAIL PROTECTED]> wrote: $ mount_nfs 10.0.1.201:/home/usera/dir2share /home/usera/private/mnt fails with "mount_nfs: bad MNT RPC: RPC: Authentication error; why = Client credential too weak" mountd wants the request to come on a reserved port.

Re: NFS mount by non-root

2007-04-26 Thread Tobias Weingartner
In article <[EMAIL PROTECTED]>, Douglas Maus wrote: > > Is it possible for users (non-root) to mount NFS exports? Mount, likely not, unless you do sudo. Have a look at nfsshell... -- [100~Plax]sb16i0A2172656B63616820636420726568746F6E61207473754A[dZ1!=b]salax

Re: NFS mount by non-root

2007-04-26 Thread L. V. Lammert
On Thu, 26 Apr 2007, Tor Houghton wrote: > On Thu, Apr 26, 2007 at 03:33:47AM +, Douglas Maus wrote: > > Is it possible for users (non-root) to mount NFS exports? > > I seem to be able to mount_nfs using sudo, but not as a regular user. > > I actually want to allow regular users to mount the N

Re: NFS mount by non-root

2007-04-26 Thread Ben Calvert
On Apr 25, 2007, at 8:33 PM, Douglas Maus wrote: Is it possible for users (non-root) to mount NFS exports? I seem to be able to mount_nfs using sudo, but not as a regular user. I actually want to allow regular users to mount the NFS share from another machine/OS (MacOSX), but since I couldn't ge

Re: NFS mount by non-root

2007-04-26 Thread Joachim Schipper
On Thu, Apr 26, 2007 at 12:54:18PM +0200, Tor Houghton wrote: > On Thu, Apr 26, 2007 at 03:33:47AM +, Douglas Maus wrote: > > Is it possible for users (non-root) to mount NFS exports? > > I seem to be able to mount_nfs using sudo, but not as a regular user. > > I actually want to allow regular

Re: NFS mount by non-root

2007-04-26 Thread Tor Houghton
On Thu, Apr 26, 2007 at 03:33:47AM +, Douglas Maus wrote: > Is it possible for users (non-root) to mount NFS exports? > I seem to be able to mount_nfs using sudo, but not as a regular user. > I actually want to allow regular users to mount the NFS share from > another machine/OS (MacOSX), but s

Re: NFS mount by non-root

2007-04-25 Thread Mike Erdely
On Thu, Apr 26, 2007 at 03:33:47AM +, Douglas Maus wrote: > Is it possible for users (non-root) to mount NFS exports? >From mount_nfs(8): HISTORY The -P flag historically informed the kernel to use a reserved port when communicating with clients. In OpenBSD, a reserved port is

NFS mount by non-root

2007-04-25 Thread Douglas Maus
Is it possible for users (non-root) to mount NFS exports? I seem to be able to mount_nfs using sudo, but not as a regular user. I actually want to allow regular users to mount the NFS share from another machine/OS (MacOSX), but since I couldn't get a regular user to do the mount just on the local m

Re: NFS mount in /etc/fstab

2006-10-04 Thread Joachim Schipper
On Tue, Oct 03, 2006 at 09:19:52PM -0400, stan wrote: > Can I use the bg, and soft options in a /etc/fstab entry > that references a NFS mounted filesystem? > > The idea is to allow the machine to boot, even if the machine > NFS server machine is unavailable. Yes, although it is not documented (o

Re: NFS mount in /etc/fstab

2006-10-03 Thread stan
On Wed, Oct 04, 2006 at 09:49:57AM +0800, Ikmal Ahmad wrote: > On 10/4/06, stan <[EMAIL PROTECTED]> wrote: > >Can I use the bg, and soft options in a /etc/fstab entry > >that references a NFS mounted filesystem? > > > >The idea is to allow the machine to boot, even if the machine > >NFS server mach

Re: NFS mount in /etc/fstab

2006-10-03 Thread Ikmal Ahmad
On 10/4/06, stan <[EMAIL PROTECTED]> wrote: Can I use the bg, and soft options in a /etc/fstab entry that references a NFS mounted filesystem? The idea is to allow the machine to boot, even if the machine NFS server machine is unavailable. how about amd? which will mount automatically when fil

Re: NFS mount in /etc/fstab

2006-10-03 Thread Peter Valchev
> Can I use the bg, and soft options in a /etc/fstab entry > that references a NFS mounted filesystem? > > The idea is to allow the machine to boot, even if the machine > NFS server machine is unavailable. Read mount_nfs(8), there are options that do what you want. Of course understand that whil

NFS mount in /etc/fstab

2006-10-03 Thread stan
Can I use the bg, and soft options in a /etc/fstab entry that references a NFS mounted filesystem? The idea is to allow the machine to boot, even if the machine NFS server machine is unavailable. -- Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie)

nfs mount in openvpn tunnel

2006-05-01 Thread OS rider
Hi , my name is takesima , a japanese . i succeed in access avi file in remote PC with nfs mount in openvpn tunnel . the chart is next . gentoo(192.168.1.88)--intra net-->(192.168.1.50)openbsd=internet=== ==>openbsd(192.168.72.50)--intra net-->(192.168.72.66)gentoo (192.168.72.66)

Re: nfs mount

2006-04-30 Thread Bachman Kharazmi
solved /bkw On 29/04/06, Bachman Kharazmi <[EMAIL PROTECTED]> wrote: I try to mount a nfs share over internet between two openbsd servers. As faq describes rpcinfo -p on server should show that mountd listen at "udp: 633 and tcp: 916" But I get, [EMAIL PROTECTED]:~/ > rpcinfo -p program ver

nfs mount

2006-04-29 Thread Bachman Kharazmi
I try to mount a nfs share over internet between two openbsd servers. As faq describes rpcinfo -p on server should show that mountd listen at "udp: 633 and tcp: 916" But I get, [EMAIL PROTECTED]:~/ > rpcinfo -p program vers proto port 102 tcp111 portmapper 102 u

Problem reading large file from nfs mount

2005-06-07 Thread C. Dominik Bodi
tes Observed behaviour: ( sizeof( source_file ) - sizeof( target_file ) ) = 2^32 bytes !=sizeof( source_file ) Example: A file copied from the nfs mount with a size of 4,428,851,200 bytes results in a copy that has a size of 133,883,904 bytes. 4,428,851,200 - 133,883,904 = 4,294,967,296 = 2^32