Creating a shared filesystem


 
Thread Tools Search this Thread
Operating Systems AIX Creating a shared filesystem
# 1  
Old 01-14-2007
Creating a shared filesystem

Hi everybody,
Is it possible to create a Shared Filesystem on Network to be accessed from 2 Systems?
Both systems are AIX but with different versions. One of these systems is AIX 4.3 & the other is AIX 5.2.

Thanks in advanced
# 2  
Old 01-14-2007
you need nfs (network filesystem) which is default installed on aix

use "smitty nfs" or edit /etc/exports (see man nfs for syntax) and use "exportfs directorytoshare"
on one machine to export a filesystem, on the other machine use

Code:
mount remotehost:/remotedir /localdir

or mount with smitty nfs

you need dns or /etc/hosts entries for the client on server side

no problem with aix 5.2 and 4.3, but use nfs v3 and not v4

Last edited by funksen; 01-14-2007 at 12:11 PM..
# 3  
Old 01-15-2007
Thank you very much funksen, you guide me to the right way, because I never used a Shared Folders or Filesystems on UNIX platforms.

Because this thread about sharing I would like to share with you what I did.

First thing, the purpose of creating a Shared Filesystem is to Migrate huge data (1.2 TB) from old system to the new one.

The steps that I walked through it are:

A) On the New System:
1- Creating a filesystem called /bkup (JFS2) , with size of 1.2TB.
2- Starting the NFS Deamons using command startsrc -g nfs.
3- Exporting the /bkup filesystem using SMIT as below:
smit mknfsexp
B) On the Old System:
1- Creating a directory called /bkup.
2- Starting the NFS Deamons using command startsrc -g nfs.
3- Mounting the /bkup filesystem as following:
mount newsys:/bkup /bkup
Unfortunately, I encountered a problem that prevent me from completing the whole task. The problem was related to Filesystem limitations, and it happens with me from the Old System.

Actually, I can not copy a file that exceed 2GB to this filesystem (/bkup) or creating a file with size more than 2GB on this filesystem.

I hope if any body can told me how I can make the /bkup filesystem accepts Large Files although this filesystem was created on the New System & it is Enhanced Journal Filesystem.

Thank in advance.
# 4  
Old 01-15-2007
check ulimit -a on the client userid you are using and on the server ulimit -a for nobody

one of these values is set to 2gb max file size

change in /etc/security/limits

you can also allow the client to write with root ulimits on server side by adding the atttribute -root=hostname (not 100% sure with syntax)to /etc/exports

edit: when you change limits you have to relogon
# 5  
Old 01-15-2007
In fact, I already enabled the root access to an exported File System. The contents of the file /etc/exports on the New System (NFS Server) are:

/bkup -root=oldsys,-access=oldsys

Regarding the ulimit, I don't have any idea about it, so I will try to do what you said & check.

I will update you.

Thanks
# 6  
Old 01-16-2007
I checked NFS client (Old System AIX 4.3) with the command ulimit -a. I thought if I modified the fsize to be unlimited the problem will be solved, but this is not true. I modify the fsize to be unlimited but still I could not create or copy files that excees 2GB on this Filesystem.

Any body have an idea about how to make the Filesystem unlimited with file size?
# 7  
Old 01-16-2007
check root/nobody ulimit on server
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Creating filesystem in LDOMs

Hi, I have a task of creating a UFS filesystem in an LDOM. It is located in a hypervisor (CDOM). The storage has been provisioned to the CDOM. How do I make it reflect to the LDOM, and then from there configure/set up the filesystem in the LDOM? Please help. (1 Reply)
Discussion started by: anaigini45
1 Replies

2. AIX

Question about shared filesystem btw AIX and RHEL

We found out that the Spectrum Scale (GPFS) doesnt support mix nodes (AIX and RHEL) on direct attached storage. Is there any other options besides NFS for mix O/S? Trying to avoid network type of shared filesystem which might end up high traffic on IO because we do run backup jobs on those... (0 Replies)
Discussion started by: kiasu
0 Replies

3. Solaris

ZFS shared with NFS makes directory cover filesystem

I'm having a strange issue that I'm unsure what to do with. I have a new Solaris home server that I want hard mount /home to all our servers. I've made each user's home directory a filesystem so that I can manage every user with a quota. In each one of my server vfstab files I have it set as: ... (4 Replies)
Discussion started by: mijohnst
4 Replies

4. HP-UX

A former shared filesystem which is not available

ggod morning, i need your helo, there is a hp_ux server named XYZ, somebody told me there was a shared network file system which was used for several tasks but now its not avalibale, but he doesnt remain which was the name of the machine which it it had this FS. evnthouh in a file called fstab... (2 Replies)
Discussion started by: alexcol
2 Replies

5. UNIX for Dummies Questions & Answers

hwo to find shared filesystem and local filesystem in AIX

Hi, I wanted to find out that in my database server which filesystems are shared storage and which filesystems are local. Like when I use df -k, it shows "filesystem" and "mounted on" but I want to know which one is shared and which one is local. Please tell me the commands which I can run... (2 Replies)
Discussion started by: kamranjalal
2 Replies

6. Linux

Creating Filesystem using DD for LVM

I created a new filesystem using dd and mounted: I have a filesystem /FAW with 1Terra space /dev/sdb1 1151331444 24742604 1068104612 3% /FAW Steps I followed to create a new filesystem # dd if=/dev/zero of=/FAW/vms/linux_vm/disk2.img bs=1 count=1024 seek=500G # mke2fs... (10 Replies)
Discussion started by: sriram003
10 Replies

7. Red Hat

Creating filesystem on new LUN

I'm new to linux and need information on how do I create a filesytem on a dedicated on LUN for RHEL 4 and 5? I want the filesystem to be a ext3 ---------- Post updated at 10:00 AM ---------- Previous update was at 08:56 AM ---------- Found the answer. This thread can be closed. (1 Reply)
Discussion started by: soupbone38
1 Replies

8. Solaris

creating new filesystem

# df -h Filesystem size used avail capacity Mounted on /dev/dsk/c1d0s0 4.5G 4.3G 129M 98% / /devices 0K 0K 0K 0% /devices ctfs 0K 0K 0K 0% /system/contract proc 0K 0K ... (4 Replies)
Discussion started by: seyiisq
4 Replies

9. Linux

load error while creating shared library

Hi, I am trying to create shared library. When i run the script to build the library i get these errors ld: warning: option -o appears more than once, first setting taken ld: fatal: file libgc.so.0: open failed: No such file or directory ld: fatal: File processing errors. No output written... (0 Replies)
Discussion started by: masg1
0 Replies

10. Programming

Creating a shared Libary ?

hi, I am trying to build a shared libary to overwrite some standard c functions (malloc etc), now i get the following error: my system is AIX 5.2 gcc -fPIC -g -c -Wall mycfile.c so far so good .o file created--> mycfile.o now building the .a or .so libary (.a or .so ?? i am not sure which... (2 Replies)
Discussion started by: Lazzar
2 Replies
Login or Register to Ask a Question