手机版
你好,游客 登录 注册 搜索
背景:
阅读新闻

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

[日期:2013-02-03] 来源:Linux社区  作者:deitylee [字体:大 中 小]
[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
相关资讯       samba  Samba共享 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款