markcox / opendedup

Automatically exported from code.google.com/p/opendedup
0 stars 0 forks source link

there is enough space to store it ,but occur write err #62

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. [root@cent mnt]# mkfs.sdfs   --volume-name sdfs1   --base-path  /vm/sdfs1  
--volume-capacity 20GB  --chunk-store-read-cache  256  --io-file-read-cache  
200     --io-max-file-write-buffers 257  --io-safe-sync  true  
--permissions-file 777  --permissions-owner dsg --io-log io.log

[root@cent mnt]# nohup mount.sdfs  -d  -v sdfs1 -m /mnt  -o 
direct_io,big_writes,allow_other,fsname=SDFS   >/vm/sdfs1/sdfs1.log 2>&1 &
2.[root@cent mnt]# cp -rf /u01/oradata/11g .
cp: 正在写入"./11g/system01.dbf": 数值结果超出范围

3.root@cent mnt]# df -h
文件系统          容量  已用  可用 已用%% 挂载点
/dev/sda5             311G  241G   55G  82% /
tmpfs                 2.8G  164K  2.8G   1% /dev/shm
/dev/sda1             1.5G   61M  1.4G   5% /boot
/dev/sda3             101G   45G   57G  45% /u01
/dev/sda2              40G   27G   14G  67% /win7
/dev/mmcblk0p1        7.3G   23M  7.3G   1% /media/新卷
/dev/sr1               33M   33M     0 100% /media/ChinaTelecom
SDFS                   21G  1.5G   20G   7% /mnt

[root@cent mnt]# sdfscli  --dse-info 
DSE Max Size : 20 GB
DSE Current Size : 1 GB
DSE Percent Full : 6.74%
DSE Page Size : 131072
DSE Blocks Available for Reuse : 0
DSE Listen Port : 2222
DSE Listen Host : 0.0.0.0
DSE Listen SSL : true

What is the expected output? What do you see instead?
to cp a directoy to sdfs  , there is enough space to store it ,but occur this 
err

What version of the product are you using? On what operating system?
sdfs-1.2.5   centos 6.2 x64

Please provide any additional information below.
LOOKUP /dsg2.dbf
getattr /dsg2.dbf
   NODEID: 28
   unique: 60055, success, outsize: 144
unique: 60056, opcode: GETXATTR (22), nodeid: 28, insize: 68
getxattr /dsg2.dbf security.capability 20
   unique: 60056, error: -61 (没有可用的数据), outsize: 16
unique: 60057, opcode: READDIR (28), nodeid: 1, insize: 80
   unique: 60057, success, outsize: 16
unique: 60058, opcode: RELEASEDIR (29), nodeid: 1, insize: 64
   unique: 60058, success, outsize: 16
unique: 60059, opcode: GETATTR (3), nodeid: 1, insize: 56
getattr /
   unique: 60059, success, outsize: 120
unique: 60060, opcode: LOOKUP (1), nodeid: 1, insize: 51
LOOKUP /.hotspotrc
getattr /.hotspotrc
   unique: 60060, error: -2 (no such file or directory  没有那个文件或目录), outsize: 16
unique: 60061, opcode: LOOKUP (1), nodeid: 1, insize: 58
LOOKUP /.hotspot_compiler
getattr /.hotspot_compiler
   unique: 60061, error: -2 (...没有那个文件或目录), outsize: 16
unique: 60062, opcode: GETATTR (3), nodeid: 1, insize: 56
getattr /
   unique: 60062, success, outsize: 120
unique: 60063, opcode: LOOKUP (1), nodeid: 1, insize: 51
LOOKUP /.hotspotrc
getattr /.hotspotrc
   unique: 60063, error: -2 (没有那个文件或目录), outsize: 16
unique: 60064, opcode: LOOKUP (1), nodeid: 1, insize: 58
LOOKUP /.hotspot_compiler
getattr /.hotspot_compiler
   unique: 60064, error: -2 (没有那个文件或目录), outsize: 16
unique: 60065, opcode: FORGET (2), nodeid: 25, insize: 48
FORGET 25/1

Original issue reported on code.google.com by oraclesu...@gmail.com on 22 Sep 2013 at 11:30

Attachments:

GoogleCodeExporter commented 9 years ago
I had modify --volume-maximum-full-percentage to -1 ,no affect

Original comment by oraclesu...@gmail.com on 22 Sep 2013 at 11:33