Sponsored Content
Full Discussion: Solaris 10 NFS Share Issue
Operating Systems Solaris Solaris 10 NFS Share Issue Post 302761137 by achenle on Friday 25th of January 2013 06:57:30 AM
Old 01-25-2013
Weird. Try mounting with "-o vers=3,proto=tcp" and see what happens.

And don't use soft mounts. Soft mounts do not support mmap'd files because once a file is mmap'd, the system assumes any pages needed can be read/written as necessary and there is no way to tell a running application otherwise. This can lead to processes crashing with SEGV/SIGBUS and/or data corruption. Also, writes cached on the client can be lost if the IO attempt times out after the application received a successful return from its write() call, which can also lead to data corruption. Never mind the fact that you're assuming all applications will properly handle possible intermittent IO errors any reads/writes. If they don't - data corruption.

IMO, if you know you're never going to have mmap'd files (and executables - applications and shared objects - are all mmap'd when they are run...) and ALL the apps running on your system are known to properly handle intermittent IO errors soft mounts are OK.
This User Gave Thanks to achenle For This Post:
 

10 More Discussions You Might Find Interesting

1. Solaris

how to mount Windows NFS share on solaris

Hi, How can i mount an NFS share on a solaris machine a filesystem ? I have enabled nfs on a windows server and the shares has given read/write access to it to all the users. I would like to mount it on around 10 different solaris boxes with different versions of solaris. Thanks in advance. (2 Replies)
Discussion started by: uxadmin007
2 Replies

2. Windows & DOS: Issues & Discussions

VxWorks - W2003 issue loading file from NFS share

We recently replaced an existing Windows Server 2000 with a Windows Server 2003. The server‘s primary function is file/print in our development environment. One of the directories is shared using NFS. All compiled software is kept in this share (we use C & C++). The generated “.out” and “.ndb”... (0 Replies)
Discussion started by: BigBuff52
0 Replies

3. Solaris

Can't access NFS Share on Solaris Server from a Linux Client

Hi, I am trying to access a NFS shared directory on Solaris 10 Server from a client which is RHEL 4 Server. On the NFS Server, in /etc/dfs/, I added following line to dfstab file. & then ran the following On the client machine, while running the mount command, I am... (0 Replies)
Discussion started by: SunilB2011
0 Replies

4. Red Hat

Unable to access NFS share on Solaris Server from Linux client

Hi, I am trying to access a NFS shared directory on Solaris 10 Server from a client which is RHEL 4 Server. On the NFS Server, in /etc/dfs/, I added following line to dfstab file. share -F nfs -o rw /var/share & then ran the following svcadm -v enable -r... (3 Replies)
Discussion started by: SunilB2011
3 Replies

5. UNIX for Advanced & Expert Users

NFS : Invalid argument (Remote share mounting issue)

Hi Guru's, I am unable to mount NFS share on unix system (DG/UX) which is nfs client. Error: mount: /nfsshare: Invalid argument mount: giving up on: /mountpoint i tried following command mount -t nfs remotehost:/nfsshare /mountpoint Error: (5 Replies)
Discussion started by: Justin John
5 Replies

6. Solaris

Mounting 2012R2 NFS Share on Solaris 10

Hi all, new here. I'm attempting to mount an NFS share I've created on a 2012r2 esx VM on my solaris 10 vm, I'm using the following command: mount 2012box:/sharename /mnt and I get the following result: nfs mount: mount: /mnt: Operation not supported Both vms can ping one... (3 Replies)
Discussion started by: Meshuggener
3 Replies

7. Shell Programming and Scripting

Mount NFS Share On NFS Client via bash script.

I need a help of good people with effective bash script to mount nfs shared, By the way I did the searches, since i haven't found that someone wrote a script like this in the past, I'm sure it will serve more people. The scenario as follow: An NFS Client with Daily CRON , running bash script... (4 Replies)
Discussion started by: Brian.t
4 Replies

8. Solaris

RHEL NFS share on Solaris 11.3 vers=4

NFS server: RHEL:6 /nfsdb 192.168.8.10/28(rw,sync,no_root_squash) 192.168.7.10/28(rw,sync,no_root_squash) Client: Solaris 11.3 vfstab entry : 192.168.8.9:/nfsdbarch - /archive_data nfs - yes rw,soft,vers=4 # ls -ld /archive_data drwxr-xr-x 4 root root... (3 Replies)
Discussion started by: Shirishlnx
3 Replies

9. Solaris

Solaris 10 NFS client cannot mount a share from a Windows server

I have a Solaris 10 server, I'm trying to mount a share from a Windows nfs server. If I add this entry (tst-walnut:/test_sap_nfs - /majid nfs - yes rw,soft) to my /etc/vfstab, then I can mount, but when I create a file by root:root, the file owner changes to... (1 Reply)
Discussion started by: Hiroshi
1 Replies

10. Solaris

Default route issue in share local zone in Solaris 11

Hi We took the reboot of server/global zone after that Solaris 11 share local zone not able to ping the default gateway but global zone able to ping same default gateway. I check/compare the before activity logs of global zone and local zones which looks fine to me, further IP and netmask of... (6 Replies)
Discussion started by: sb200
6 Replies
MMAP2(2)						     Linux Programmer's Manual							  MMAP2(2)

NAME
mmap2 - map files or devices into memory SYNOPSIS
#include <sys/mman.h> void *mmap2(void *addr, size_t length, int prot, int flags, int fd, off_t pgoffset); DESCRIPTION
The mmap2() system call operates in exactly the same way as mmap(2), except that the final argument specifies the offset into the file in 4096-byte units (instead of bytes, as is done by mmap(2)). This enables applications that use a 32-bit off_t to map large files (up to 2^44 bytes). RETURN VALUE
On success, mmap2() returns a pointer to the mapped area. On error -1 is returned and errno is set appropriately. ERRORS
EFAULT Problem with getting the data from userspace. EINVAL (Various platforms where the page size is not 4096 bytes.) offset * 4096 is not a multiple of the system page size. mmap2() can return any of the same errors as mmap(2). VERSIONS
mmap2() is available since Linux 2.3.31. CONFORMING TO
This system call is Linux-specific. NOTES
Nowadays, the glibc mmap() wrapper function invokes this system call rather than the mmap(2) system call. On ia64, the unit for offset is actually the system page size, rather than 4096 bytes. SEE ALSO
getpagesize(2), mmap(2), mremap(2), msync(2), shm_open(3) COLOPHON
This page is part of release 3.25 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. Linux 2008-04-22 MMAP2(2)
All times are GMT -4. The time now is 07:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy