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
explain_mmap_or_die(3)					     Library Functions Manual					    explain_mmap_or_die(3)

NAME
explain_mmap_or_die - map file or device into memory and report errors SYNOPSIS
#include <libexplain/mmap.h> void *explain_mmap_or_die(void *data, size_t data_size, int prot, int flags, int fildes, off_t offset); void *explain_mmap_on_error(void *data, size_t data_size, int prot, int flags, int fildes, off_t offset); DESCRIPTION
The explain_mmap_or_die function is used to call the mmap(2) system call. On failure an explanation will be printed to stderr, obtained from the explain_mmap(3) function, and then the process terminates by calling exit(EXIT_FAILURE). The explain_mmap_on_error function is used to call the mmap(2) system call. On failure an explanation will be printed to stderr, obtained from the explain_mmap(3) function, but still returns to the caller. data The data, exactly as to be passed to the mmap(2) system call. data_size The data_size, exactly as to be passed to the mmap(2) system call. prot The prot, exactly as to be passed to the mmap(2) system call. flags The flags, exactly as to be passed to the mmap(2) system call. fildes The fildes, exactly as to be passed to the mmap(2) system call. offset The offset, exactly as to be passed to the mmap(2) system call. RETURN VALUE
The explain_mmap_or_die function only returns on success, see mmap(2) for more information. On failure, prints an explanation and exits, it does not return. The explain_mmap_on_error function always returns the value return by the wrapped mmap(2) system call. EXAMPLE
The explain_mmap_or_die function is intended to be used in a fashion similar to the following example: explain_mmap_or_die(data, data_size, prot, flags, fildes, offset); SEE ALSO
mmap(2) map file or device into memory explain_mmap(3) explain mmap(2) errors exit(2) terminate the calling process COPYRIGHT
libexplain version 0.52 Copyright (C) 2010 Peter Miller explain_mmap_or_die(3)
All times are GMT -4. The time now is 02:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy