[root@
[root@test /]# mount -t smbfs -o username=oracle,password=foxconn.6343,uid=500,gid=500 //192.168.1.100/Oracle /data/rman
[root@test /]# df -h
Filesystem 容量 已用可用 已用% 掛載點
/dev/sda2 49G 12G 34G 26% /
/dev/sda1 190M 12M 169M 7% /boot
none 3.9G 0 3.9G 0% /dev/shm
/dev/mapper/vg01-lv01
177G 62G 106G 37% /data
//192.168.1.100/Oracle
1.3T 204G 1.1T 16% /data/rman
[root@test /]# cd /data/rman
[root@test rman]# ls
pms_rman
[root@test rman]# cd pms_rman/
[root@test pms_rman]# ls -lh
總計 5.2G
-rwxr-xr-x 1 oracle dba 5.2G 1月 28 04:19 test_file.txt
[root@test pms_rman]# cp test_file.txt test.txt
檔案大小超過上限
[root@test rman]# cd /
[root@test /]# umount /data/rman
[root@test /]# df -h
Filesystem 容量 已用 可用 已用% 掛載點
/dev/sda2 49G 12G 34G 26% /
/dev/sda1 190M 12M 169M 7% /boot
none 3.9G 0 3.9G 0% /dev/shm
/dev/mapper/vg01-lv01
177G 62G 106G 37% /data
[root@test dmp]# mount -t smbfs -o username=oracle,password=foxconn.6343,uid=500,gid=500 //192.168.1.100/Oracle /data/rman -o lfs
[root@test dmp]# df -h
Filesystem 容量 已用 可用 已用% 掛載點
/dev/sda2 49G 12G 34G 26% /
/dev/sda1 190M 12M 169M 7% /boot
none 3.9G 0 3.9G 0% /dev/shm
/dev/mapper/vg01-lv01
177G 62G 106G 37% /data
//192.168.1.100/Oracle
1.3T 211G 1.1T 17% /data/rman
[root@test dmp]# cd /data/rman
[root@test rman]# ls
pms_rman
[root@test rman]# cd pms_rman
[root@test pms_rman]# ls
test_file.txt test.txt
[root@test pms_rman]# ls -lh
總計 7.2G
-rwxr-xr-x 1 oracle dba 5.2G 1月 28 04:19 test_file.txt
-rwxr-xr-x 1 oracle dba 2.0G 1月 31 13:28 test.txt
[root@test pms_rman]# rm test.txt
rm:是否移除普通檔案‘test.txt’? y
[root@test pms_rman]# ls
test_file.txt
[root@test pms_rman]# cp test_file.txt test.txt
[root@test pms_rman]# ls -lh
總計 11G
-rwxr-xr-x 1 oracle dba 5.2G 1月 28 04:19 test_file.txt
-rwxr-xr-x 1 oracle dba 5.2G 1月 31 14:44 test.txt
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/16381228/viewspace-753679/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/16381228/viewspace-753679/