Results 1 to 3 of 3
Hi Guys,
I have some problem when i want to mount a directory from another server, this is the detail information:
Server : 192.168.2.83.
-> cat /etc/exports = /simprela1 192.168.10.129/255.255.255.0(rw,no_root_squash,no_subtree_check)
...
- 09-27-2010 #1Just Joined!
- Join Date
- Aug 2010
- Posts
- 1
Permanent mounting from other server
Hi Guys,
I have some problem when i want to mount a directory from another server, this is the detail information:
Server : 192.168.2.83.
-> cat /etc/exports = /simprela1 192.168.10.129/255.255.255.0(rw,no_root_squash,no_subtree_check)
Client : 192.168.10.129
-> df -kh
Filesystem Size Used Avail Use% Mounted on
/dev/cciss/c0d0p3 9.7G 583M 8.6G 7% /
/dev/cciss/c0d0p5 97M 13M 80M 14% /boot
/dev/cciss/c0d0p1 50M 5.1M 45M 11% /boot/efi
/dev/sda1 447G 135G 290G 32% /data
/dev/sda7 448G 46G 379G 11% /data1
/dev/sda2 20G 33M 19G 1% /home
none 5.9G 0 5.9G 0% /dev/shm
/dev/sda6 9.7G 121M 9.1G 2% /tmp
/dev/cciss/c0d0p4 13G 2.2G 9.4G 19% /u01
/dev/sda5 9.7G 4.7G 4.6G 51% /usr
/dev/sda3 9.7G 177M 9.0G 2% /var
-> This is the script i run in client side to mount from server: mount -t nfs 192.168.2.83:/simprela1/ /u01
-> The result is: df -kh
Filesystem Size Used Avail Use% Mounted on
/dev/cciss/c0d0p3 9.7G 583M 8.6G 7% /
/dev/cciss/c0d0p5 97M 13M 80M 14% /boot
/dev/cciss/c0d0p1 50M 5.1M 45M 11% /boot/efi
/dev/sda1 447G 135G 290G 32% /data
/dev/sda7 448G 46G 379G 11% /data1
/dev/sda2 20G 33M 19G 1% /home
none 5.9G 0 5.9G 0% /dev/shm
/dev/sda6 9.7G 121M 9.1G 2% /tmp
/dev/cciss/c0d0p4 13G 2.2G 9.4G 19% /u01
/dev/sda5 9.7G 4.7G 4.6G 51% /usr
/dev/sda3 9.7G 177M 9.0G 2% /var
192.168.2.83:/simprela1/ 375G 139G 218G 39% /u01
-> in fs tab i add the following statement:
192.168.2.83:/simprela1/ /u01 smbfs defaults 0 0
It's work very well until i try restart my client server and the mount from 192.168.2.83 is gone, if i want it work again i must run mount script again.
Can it become the permanent mount, so when i restart my server the mount is already exist????
If it possible, can you explain me step by step????
Thanx
- 09-28-2010 #2Just Joined!
- Join Date
- Sep 2010
- Location
- UK
- Posts
- 8
You are sharing via nfs, you are mounting using nfs, but your fstab mentions smbfs ??
In fstab, you should have
192.168.2.83:/simprela1 /u01 nfs defaults 0 0
- 09-29-2010 #3
Is the partion is shared or not
Try this one in fstab:
For FAT
/dev/hda7 /mnt/shared vfat umask=000 0 0
For NTFS
/dev/hda1 /mnt/WinXP ntfs-3g quiet,defaults,locale=en_US.utf8,umask=0 0 0


Reply With Quote