Sponsored Content
Top Forums Shell Programming and Scripting Move script from windows to Linux using NFS mount Post 302952634 by Corona688 on Thursday 20th of August 2015 01:29:17 PM
Old 08-20-2015
More information is needed. How is your Windows machine exporting NFS? That can be tricky. Did you mean CIFS or SMBFS? Linux can support those too.
 

10 More Discussions You Might Find Interesting

1. AIX

How to do a NFS mount from AIX to Linux?

How to do? Thanks (1 Reply)
Discussion started by: rainbow_bean
1 Replies

2. Windows & DOS: Issues & Discussions

NFS HDD mount on Windows XP

Hi, Unix based, My harddrive won't boot and I'm looking for a reliable tool that can mount a hdd on Windows XP and show me the files stored on a NFS system. I tried the tool: Ext2IFS but this didn't work. I found a lot of tools on google to mount nfs share thru a network but that's... (1 Reply)
Discussion started by: severt
1 Replies

3. UNIX for Advanced & Expert Users

can i mount nfs share on windows 2003 server

this is probably a bit dumb ...but i read somewhere that one of the nfs versions can be mounted on a windows 2003 server ..if yes ..does anyone know how this can be achieved (1 Reply)
Discussion started by: tarunicon
1 Replies

4. 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

5. AIX

Problem with NFS mount and network configuration between AIX and Windows 2003 servers

I ‘m beginner on unix I want to move an unix aix post 5.2 on distant site for use catia V4 with a foundation of data accommodated by a serveur windows 2003 and an environment accommodated on the serveur aix. The computer was linked up by IP (122.0.0.8) with waiter 2003 (via NFS) and the waiter... (8 Replies)
Discussion started by: astiaous
8 Replies

6. AIX

HACMP, NFS cross-mount problem. Can not move resource group

Hi, I'm new to HACMP. Currently I setup a cluster with nfs cross-mount follow this guide: kristijan.org NFS cross-mounts in PowerHA/HACMPMy cluster has two nodes: erp01 and erp02. I'm using nfs4 with filesystem for nfs is: /sapnfs Cluster start without problems. But I cannnot move RG (with... (3 Replies)
Discussion started by: giobuon
3 Replies

7. UNIX for Dummies Questions & Answers

NFS mount of Windows NAS

The UPS connected to the Disk Array portion of my Windows 2003 NAS burned up over the weekend. Reconnected it to a new UPS and re-booted the NAS box. Since then I have not been able to get my HPUX 10.2 box to mount the shared drives on the NAS. At boot, the NFS client & server subsystems do a... (0 Replies)
Discussion started by: twalker0
0 Replies

8. Windows & DOS: Issues & Discussions

NFS mount error in windows

I am trying to set a share between windows and an AIX server. I was able to do this to a windows 2008 server. I am now trying to get this to worked on a windows 7 enterprise pc. below is what i get. I have turned off the firewall wall in windows the user is an admin in the pc. same account works... (6 Replies)
Discussion started by: fierfek
6 Replies

9. 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

10. 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
mount_smbfs(1M) 					  System Administration Commands					   mount_smbfs(1M)

NAME
mount_smbfs, umount_smbfs - mount and unmount a shared resource from a CIFS file server SYNOPSIS
/sbin/mount [-F smbfs] [generic-options] [-o name=value] [-O] resource /sbin/mount [-F smbfs] [generic-options] [-o name=value] [-O] mount-point /sbin/mount [-F smbfs] [generic-options] [-o name=value] [-O] resource mount-point /sbin/umount [-F smbfs] [generic-options] mount-point DESCRIPTION
The mount utility attaches a named resource, resource, to the file system hierarchy at the path name location, mount-point, which must already exist. If mount-point has any contents prior to the mount operation, those contents remain hidden until the resource is unmounted. An authorized user with the SYS_MOUNT privilege can perform a mount operation. Also, a user can perform SMBFS mount operations on a directory the user owns. If the resource is listed in the /etc/vfstab file, you can specify either resource or mount-point as the mount command will consult the /etc/vfstab file for more information. If the -F option is omitted, mount takes the file system type from the entry in the /etc/vfstab file. If the resource is not listed in the /etc/vfstab file, the command line must specify both resource and mount-point. The umount utility detaches a mounted file system from the file system hierarchy. An authorized user with the SYS_MOUNT privilege can per- form a umount operation. Also, a user can perform SMBFS unmount operations on a directory the user owns. The network/smb/client service must be enabled to successfully mount a CIFS share. This service is enabled, by default. To enable the service, enter the following svcadm(1M) command: # svcadm enable network/smb/client Operands The mount command supports the following operands: resource //[workgroup;][user[:password]@]server/share The name of the resource to be mounted. In addition to its name, you can specify the following information about the resource: o password is the password associated with user. If password is not specified, the mount first attempts to use the password stored by the smbutil login command (if any). If that password fails to authenticate, the mount_smbfs prompts you for a password. o server is the DNS or NetBIOS name of the remote computer. o share is the resource name on the remote server. o user is the remote user name. If user is omitted, the logged in user ID is used. o workgroup is the name of the workgroup or the Windows domain in which the user name is defined. If the resource includes a workgroup, you must escape the semicolon that appears after the workgroup name to prevent it from being interpreted by the command shell. For instance, surround the entire resource name with double quotes: mount -F smbfs "//SALES;george@RSERVER" /mnt. mount-point The path to the location where the file system is to be mounted or unmounted. The mount command maintains a table of mounted file sys- tems in the /etc/mnttab file. See the mnttab(4) man page. OPTIONS
See the mount(1M) man page for the list of supported generic-options. -o name=value or -o name Sets the file system-specific properties. You can specify more than one name-value pair as a list of comma-separated pairs. No spaces are permitted in the list. The properties are as follows: dirperms=octaltriplet Specifies the permissions to be assigned to directories. The value must be specified as an octal triplet, such as 755. The default value for the directory mode is taken from the fileperms setting, with execute permission added where fileperms has read permis- sion. Note that these permissions have no relation to the rights granted by the CIFS server. fileperms=octaltriplet Specifies the permissions to be assigned to files. The value must be specified as an octal triplet, such as 644. The default value is 700. Note that these permissions have no relation to the rights granted by the CIFS server. gid=groupid Assigns the specified group ID to files. The default value is the group ID of the directory where the volume is mounted. intr|nointr Enable (or disable) cancellation of smbfs(7FS) I/O operations when the user interrupts the calling thread (for example, by hitting Ctrl-C while an operation is underway). The default is intr (interruption enabled), so cancellation is normally allowed. noprompt Suppresses the prompting for a password when mounting a share. This property enables you to permit anonymous access to a share. Anonymous access does not require a password. The mount operation fails if a password is required, the noprompt property is set, and no password is stored by the smbutil login command. retry_count=number Specifies the number of SMBFS retries to attempt before the connection is marked as broken. By default, 4 attempts are made. The retry_count property value set by the mount command overrides the global value set in SMF or the value set in your .nsmbrc file. timeout=seconds Specifies the CIFS request timeout. By default, the timeout is 15 seconds. The timeout property value set by the mount command overrides the global value set in SMF or the value set in your .nsmbrc file. uid=userid Assigns the specified user ID files. The default value is the owner ID of the directory where the volume is mounted. xattr|noxattr Enable (or disable) Solaris Extended Attributes in this mount point. This option defaults to xattr (enabled Extended Attributes), but note: if the CIFS server does not support CIFS "named streams", smbfs(7FS) forces this option to noxattr. When a mount has the noxattr option, attempts to use Solaris Extended attributes fail with EINVAL. -O Overlays mount. Allow the file system to be mounted over an existing mount point, making the underlying file system inaccessible. If a mount is attempted on a pre-existing mount point without setting this flag, the mount fails, producing the error "device busy." EXAMPLES
Example 1 Verifying That an SMBFS File System Is Mounted The following example shows how to mount the /tmp share from the nano server on the local /mnt mount point. You must supply the password for the root user to successfully perform the mount operation. # mount -F smbfs //root@nano.sfbay/tmp /mnt Password: You can verify that the share is mounted in the following ways: o View the file system entry in the /etc/mnttab file. # grep root /etc/mnttab //root@nano.sfbay/tmp /mnt smbfs dev=4900000 1177097833 o View the output of the mount command. # mount | grep root /mnt on //root@nano.sfbay/tmp read/write/setuid/devices/dev=4900000 on Fri Apr 20 13:37:13 2007 o View the output of the df /mnt command. # df /mnt /mnt (//root@nano.sfbay/tmp): 3635872 blocks -1 files Obtain information about the mounted share by viewing the output of the df -k /mnt command. # df -k /mnt Filesystem kbytes used avail capacity Mounted on //root@nano.sfbay/tmp 1882384 64448 1817936 4% /mnt Example 2 Unmounting a CIFS Share This example assumes that a CIFS share has been mounted on the /mnt mount point. The following command line unmounts the share from the mount point. # umount /mnt FILES
/etc/mnttab Table of mounted file systems. /etc/dfs/fstypes Default distributed file system type. /etc/vfstab Table of automatically mounted resources. $HOME/.nsmbrc User-settable mount point configuration file to store the description for each connection. ATTRIBUTES
See the attributes(5) man page for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWsmbfscu | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ SEE ALSO
smbutil(1), mount(1M), mountall(1M), svcadm(1M), acl(2), fcntl(2), link(2), mknod(2), mount(2), symlink(2), umount(2), mnttab(4), nsm- brc(4), vfstab(4), attributes(5), pcfs(7FS), smbfs(7FS) AUTHORS
This manual page contains material originally authored by Boris Popov, bpATbutya.kz, bpATFreeBSD.org. NOTES
The Solaris CIFS client always attempts to use gethostbyname() to resolve host names. If the host name cannot be resolved, the CIFS client uses NetBIOS name resolution (NBNS). By default, the Solaris CIFS client permits the use of NBNS to enable Solaris CIFS clients in Windows environments to work without additional configuration. Since NBNS has been exploited in the past, you might want to disable it. To disable NBNS, set the nbns-enabled service management facility property to false. By default, nbns-enabled is set to true. If the directory on which a file system is to be mounted is a symbolic link, the file system is mounted on the directory to which the sym- bolic link refers, rather than being mounted on top of the symbolic link itself. SunOS 5.11 13 Mar 2009 mount_smbfs(1M)
All times are GMT -4. The time now is 08:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy