UEBO S400 User Manual

Page 134

Advertising
background image

UEBO S400 User Manual

3-22

[root@localhost ~]# mount 192.168.17.50: /share/shenzhen/documents /mnt/c

3. Read, write and delete the data in the NFS share.

[root@localhost ~]# cd /mnt/c
[root@localhost c]#
[root@localhost c]# dd if=/dev/zero of=/mnt/c/1.iso bs=1M count=1
1+0 records in
1+0 records out
1048576 bytes (1.0 MB) copied, 0.099795 seconds, 10.5 MB/s
[root@localhost c]# ls -l
Total: 1024
-rw-r--r-- 1 nobody nogroup 1048576 Jan.10 15:43 1.iso
[root@localhost c]# rm -rf 1.iso
[root@localhost c]#
[root@localhost c]# echo $?
0

4. Uninstall the NFS share.

[root@localhost c]# cd
[root@localhost ~]# umount /mnt/c

Linux Client Accessing the CIFS Share

5. Connect the CIFS share, and then enter the user name Philip and its password.

[root@localhost ~]#mount -t CIFS -o username=phillip 192.168.17.50:
/share/shenzhen/documents /mnt/c
Password:

6. Read, write and delete the data in the CIFS share.

[root@localhost ~]# cd /mnt/c
[root@localhost c]# dd if=/dev/zero of=/mnt/c/3.iso bs=1M count=1
[root@localhost c]# ls -l
Total: 1024
-rwxrw-rw- 1 1051 1025 1048576 Jan.10 15:56 3.iso*
[root@localhost c]# rm -rf 1.iso
[root@localhost c]#
[root@localhost c]# echo $?
0

7. Uninstall the CIFS share.

[root@localhost c]# cd

Advertising