Sponsored Content
Top Forums UNIX for Advanced & Expert Users Mounting a remote filesystem under SCO Unix ver 5.0.5 Post 9752 by synamics on Friday 2nd of November 2001 06:44:30 AM
Old 11-02-2001
Hammer & Screwdriver Mounting remote file systems

Hi

On the 'Backup' system you will need to use 'scoadmin' and first export the filesystem using the File System Manager.
Once exported on the Live Server you will need to use 'scoadmin' to mount the remote file system to a mount point of your choice.

There is one limitation I came across when doing this, you cannot export a sub-directory of a filesystem that is already exported.

If you are having problems, make sure that the entry's in the /etc/hosts file and /.rhosts and /etc/hosts.equiv are correct.

Good luck
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

mounting in sco unix

how do I mount a cdrom in sco unix? (1 Reply)
Discussion started by: Lazarus
1 Replies

2. UNIX for Dummies Questions & Answers

How to install modem in SCO OPEN SERVER VER 5.05

Hello Friends. I would like to know couple of questions. 1. How to install internal modem in unix operating system. I have a toshiba laptop with toshiba v.90 internal modem . 2. Where is hyper Terminal in Unix. 3. Where i can get the support for windows like we used to have vipex. (2 Replies)
Discussion started by: skywatcher
2 Replies

3. UNIX for Advanced & Expert Users

Remote ACCESS in SCO UNIX

I have set up a modem in SCO Unix .. I want to dial in from a remote terminal program, what else is needed .. do I have to configure UUCP ?? How ? Any other configurations ? CHRIS (1 Reply)
Discussion started by: germiphene
1 Replies

4. Shell Programming and Scripting

IInd Hard Disk Mounting Problem on 1st HDD On SCO UNIX Open Server

Hi Engg. ! :mad: I have a harddisk on which SCO UNIX Open Server was installed. There was some data (in .dbf format) on it. Present condition of HDD is that it is not booting. Now I want to mount this HDD through other HDD on which SCO UNIX Open Server is installed by attaching... (0 Replies)
Discussion started by: Niraj Gopal Sha
0 Replies

5. SCO

Remote booting in sco unix

Hi ., I have a SCO Unix server 5.0.5.I need to connect it to 10 diskless clients with 5 of them with Realtek Network card and other 5 with compex card. I want the procedure to complete this task.Help Me. (0 Replies)
Discussion started by: rajbalaram
0 Replies

6. BSD

mounting filesystem error

I get error that I have to rund fsck manually on my filesystem, but when I go to run fsck on filesystem ad1s1e I get an error that says can't open device not configured so fsck won't rund on that filesystem. I am only booting up in single user mode. I noticed when I look in the fstab file the... (1 Reply)
Discussion started by: rbizzell
1 Replies

7. Solaris

filesystem mounting

Hi all, I have a question regarding filesystem mounting. I have one Sun box(V240) and a NAS on a network. Sun machine shows the following output of df -k command. # df -k Filesystem kbytes used avail capacity Mounted on /dev/md/dsk/d0 11094316 8509226 2474147 78% ... (2 Replies)
Discussion started by: prashantchavan
2 Replies

8. Solaris

Need help on filesystem mounting

Hi techies, I am pretty new to Solaris. So the qstn might be a silly one. I had a local disk with Solaris installed. I have done ufsdump to a SAN disk and after that s3 and s7 slices are giving the following error : "UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY." I had the following... (4 Replies)
Discussion started by: manojsomanath
4 Replies

9. Shell Programming and Scripting

Mounting filesystem

Could anyone help me please as I am stuck up. I want to mount /home/dun/maitree location of server A in server B to location /home/dun/tibco .Both server A and server B are Linux machine .The problem is that /home/dun/tibco of server B has some files and directory in it so after doing this... (1 Reply)
Discussion started by: maitree
1 Replies

10. AIX

Mounting a directory in a filesystem

Hi All, Recently I came to know my / root file system is getting full because of application directory /siebel/ I have one option. 1) Down the application , take full backup 2)change the filesystem ownership 2)copy the contents into that filesystem cp -pr /siebel/* /siebelfs/* 3)Inform... (9 Replies)
Discussion started by: Thala
9 Replies
exportfs(2)							System Calls Manual						       exportfs(2)

NAME
exportfs - Exports an NFS file system SYNOPSIS
#include <nfs/nfs.h> exportfs(access, cookie, exdata) int access; int *cookie; struct exportfsdata *exdata; DESCRIPTION
The exportfs system call allows the specified local file system to be mounted remotely by an NFS client. This system call is usually called from mountd. The system call allows access to the kernels export database. The method of access is specified by the access flag as follows: #define EXPORTFS_CREATE 0x01 /* create a new export record */ #define EXPORTFS_REMOVE 0x02 /* remove an old export record */ #define EXPORTFS_READ 0x03 /* read an export record */ Each entry in the export database has the following structure: struct exportfsdata { dev_t e_dev; /* ID of device containing the directory */ ino_t e_ino; /* File serial number */ uint_t e_gen; /* File generation number */ char e_path[MAXPATHLEN]; /* Name of the path to export */ int e_flags; /* Export flags */ uid_t e_rootmap; /* Map root to this uid (either 0 or -2) */ uid_t e_anon; /* Map anonymous users to this uid */ struct exportfsaddrlist e_rootaddrs; /* List of hosts where root can be mapped * to uid 0 */ struct exportfsaddrlist e_writeaddrs; /* List of hosts allowed write access to * read mostly export */ int e_more; /* Used in EXPORTFS_READ */ }; struct exportfsaddrlist { unsigned naddrs; struct sockaddr addrvec[EXMAXADDRS]; }; The e_path argument is a pointer to a null-terminated string containing the path name of the file system or directory being exported. The e_dev, e_ino, and e_gen fields are inputs to the system call for creating an entry. They are returned when an entry is read. Security on the exported file systems can be improved by setting the root mapped user ID in, e_rootmap and the anonymous user id in e_anon to user id -2. Setting the rootmap field to 0 specifies that all client superusers will be mapped to 0 and thus will have the same rights as the local superuser. Anonymous remote users are those without UNIX credentials and superusers on client systems. Setting anon to a user id other than -2 will map all anonymous users to that uid. Use of the rootmap field overrides values in e_anon for client superusers. Finally, to grant superuser privileges to only a select group of clients, set rootmap to -2 and use the e_rootaddrs structure to specify the list of privileged systems. The export permissions flags are set in e_flags for the local file system path. The following flags are the only possible flags accepted by exportfs: #define M_EXRDONLY /* export read-only */ #define M_EXRDMOSTLY /* export read-write to hosts in e_writeaddrs */ #define M_EXPUBLIC /* exported for WebNFS public access */ #define M_EXPUBINDEX /* WebNFS access with index */ By default, exports are read-write. To export a filesystem or directory read-only, set the M_EXRDONLY flag. To export a filesystem or directory read-only to most clients and read-write to a select group, set the M_EXRDMOSTLY flag and include the list of clients in e_writeaddrs. To export a filesystem or directory for WebNFS public access, set the M_EXPUBLIC flag. Note that only one exported filesystem can have this flag set. By default, the filesystem is exported read-write. The M_EXPUBINDEX flag enables the WebNFS server to look for an index.html file when given a directory name. This flag is used in conjunc- tion with the M_EXPUBLIC flag. The e_more field is used in conjunction with the cookie parameter to sequentially read the kernel's export database using EXPORTFS_READ. The contents of cookie should be set to zero to read the first record. After reading the record into exdata, the system call will set e_more to a non-zero value if there are more records to read and will update the value of cookie. If there are no more records in the data- base, e_more will be zero after the system call completes. The exportfs system call returns a value of 0 upon successful completion of an operation, and -1 upon failure. ERRORS
Not superuser. Not enough memory in the system to service the request. Bad address for exdata or cookie. Access is EXPORTFS_CREATE or EXPORTFS_REMOVE and e_path does not exist, or access is EXPORTFS_REMOVE and e_path is not an exported path, or access is EXPORTFS_READ and there are no exportfsdata records to read. Access is EXPORTFS_CREATE and e_path is an NFS mounted directory. Only local directories can be exported. The exdata pointer is NULL, the cookie value is negative, or the access flag is invalid. SEE ALSO
Files: exports(4) Daemons: mountd(8) exportfs(2)
All times are GMT -4. The time now is 12:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy