歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Samba共享文件不大於2G限制取消

Samba共享文件不大於2G限制取消

日期:2017/2/28 14:52:55   编辑:Linux教程
[root@test /]# mount -t smbfs -ousername=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
Copyright © Linux教程網 All Rights Reserved