A PCRE internal error occured. This might be caused by a faulty plugin
====== Differences ====== This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
packages:nfs-common [2013/12/16 09:50] admin [Automatic Mount at Boot Time] |
packages:nfs-common [2013/12/16 10:02] (current) admin [Automatic Mount at Boot Time] |
||
|---|---|---|---|
| Line 28: | Line 28: | ||
| Once done, you'll need to create a directory where to mount the target nfs share and mount it using the mount command: | Once done, you'll need to create a directory where to mount the target nfs share and mount it using the mount command: | ||
| <code> | <code> | ||
| - | sudo mkdir /mnt/nfs/shared_directory | + | sudo mkdir -p /mnt/nfs/shared_directory |
| sudo mount -t nfs 192.168.10.200:/volume1/shared_directory /mnt/nfs/shared_directory | sudo mount -t nfs 192.168.10.200:/volume1/shared_directory /mnt/nfs/shared_directory | ||
| </code> | </code> | ||
| Line 52: | Line 52: | ||
| In my case, mounting two nfs shares, resulted in the following entry in /etc/fstab: | In my case, mounting two nfs shares, resulted in the following entry in /etc/fstab: | ||
| <code> | <code> | ||
| - | 192.168.0.200:/volume1/Cube3TB /mnt/nfs/Cube3TB nfs rsize=32768,wsize=32768,intr,timeo=14 | + | 192.168.0.200:/volume1/nfs_share_01 /mnt/nfs/nfs_share_01 nfs rsize=32768,wsize=32768,intr,timeo=14 |
| - | 192.168.0.200:/volume2/Cube1TB /mnt/nfs/Cube1TB nfs rsize=32768,wsize=32768,intr,timeo=14 | + | 192.168.0.200:/volume2/nfs_share_02 /mnt/nfs/nfs_share_02 nfs rsize=32768,wsize=32768,intr,timeo=14 |
| </code> | </code> | ||
| + | |||
| + | Of course both local mount points had to be created beforehand: | ||
| + | <code> | ||
| + | sudo mkdir -p /mnt/nfs/nfs_share_01 /mnt/nfs/nfs_share_02 | ||
| + | </code> | ||
| + | |||
| + | Once your fstab is modified, you can test it is working as expected by issuing commands like: | ||
| + | <code> | ||
| + | sudo mount -a | ||
| + | ls -la /mnt/nfs/nfs_share_01 | ||
| + | ls -la /mnt/nfs/nfs_share_02 | ||
| + | </code> | ||
| + | |||
| + | The ls command should show you the content of each nfs share. If it's empty, something is not working as expected. | ||
