Welcome 微信登录

首页 / 操作系统 / Linux / Samba共享文件不大于2G限制取消

[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.txtLinux的用户与权限管理Tomcat与MySQL部署Java环境相关资讯      samba  Samba共享 
  • CentOS部署Samba企业文件共享服务  (06月23日)
  • Redhat 7安装Samba服务后只能读取  (01月01日)
  • 通过Samba从Windows向Linux系统传  (10/22/2015 19:36:59)
  • 给Samba添加回收站功能  (06月18日)
  • Samba 4.3.2 发布下载,最新稳定版  (12/02/2015 10:52:56)
  • Samba 4.3 发布下载,最新稳定版本  (09/09/2015 07:57:02)
本文评论 查看全部评论 (0)
表情: 姓名: 字数