Comments (12)
Yes, random.img is for reference purpose only, here any source file which is to be stored needs to be used.
from cortx-motr.
@madhavemuri write error
[root@ssc-vm-1091 var]# cd motr
[root@ssc-vm-1091 motr]# ls
disk0.img disk2.img disk4.img disk6.img disk8.img hax m0d-0x7200000000000001:0xc m0ut
disk1.img disk3.img disk5.img disk7.img disk9.img m0d-0x7200000000000001:0x9 m0spiel.pkg.files root
[root@ssc-vm-1091 motr]# cd ..
[root@ssc-vm-1091 var]# cortx/cortx-motr/motr/st/utils/m0cp -l 10.230.247.138@tcp:12345:4:1 -H 10.230.247.138@tcp:12345:1:1 -p 0x7000000000000001:0x22 -P 0x7200000000000001:0x1c -o 14:10 -s 1m -c 128 motr/disk6.img -L 9
motr[00515]: ea80 ERROR [io_req_fop.c:208:io_bottom_half] ioo=0x1393810 from=10.230.247.138@tcp:12345:2:2 rc=-7 ti_rc=-7 @<4300000300000014:10>
motr[00515]: eab0 ERROR [io_req.c:538:ioreq_iosm_handle_executed] iro_dgmode_write() failed, rc=-7
from cortx-motr.
Yes, random.img is for reference purpose only, here any source file which is to be stored needs to be used.
text file .txt also could be used?
from cortx-motr.
[root@ssc-vm-1091 var]# cortx/cortx-motr/motr/st/utils/m0cp -l 10.230.247.138@tcp:12345:4:1 -H 10.230.247.138@tcp:12345:1:1 -p 0x7000000000000001:0x22 -P 0x7200000000000001:0x1c -o 17:10 -s 1m -c 128 motr/random.txt -L 9
motr[09471]: 72e0 FATAL [lib/assert.c:50:m0_panic] panic: (rc == bcount) at m0_write() (motr/st/utils/helper.c:431) [git: cortx1.0-rc1-235-g4d78776] /var/m0trace.9471
Motr panic: (rc == bcount) at m0_write() motr/st/utils/helper.c:431 (errno: 0) (last failed: none) [git: cortx1.0-rc1-235-g4d78776] pid: 9471 /var/m0trace.9471
/var/cortx/cortx-motr/motr/.libs/libmotr.so.1(m0_arch_backtrace+0x20)[0x7f16fdd972c0]
/var/cortx/cortx-motr/motr/.libs/libmotr.so.1(m0_arch_panic+0xe6)[0x7f16fdd97476]
/var/cortx/cortx-motr/motr/.libs/libmotr.so.1(+0x34d6d4)[0x7f16fdd866d4]
/var/cortx/cortx-motr/motr/st/utils/.libs/lt-m0cp[0x4026fb]
/var/cortx/cortx-motr/motr/st/utils/.libs/lt-m0cp(main+0xad)[0x401acd]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7f16fc537555]
/var/cortx/cortx-motr/motr/st/utils/.libs/lt-m0cp[0x401b92]
Aborted (core dumped)
from cortx-motr.
-s 1m -c 128
Make sure that size of the source file ("motr/random.txt") is greater than equal to (size * count) i.e 128M (1m * 128) here
from cortx-motr.
Also -7 errors means E2BIG error, this means special handling is needed for them.
As you have few devices in the setup, increasing them will resolve the issue.
Or I would recommend to use lower than 100 value like "-b 30 "to the command.,
-b, --blocks-per-io (default is 100)
from cortx-motr.
@madhavemuri write error
[root@ssc-vm-1091 var]# cd motr
[root@ssc-vm-1091 motr]# ls
disk0.img disk2.img disk4.img disk6.img disk8.img hax m0d-0x7200000000000001:0xc m0ut
disk1.img disk3.img disk5.img disk7.img disk9.img m0d-0x7200000000000001:0x9 m0spiel.pkg.files root
[root@ssc-vm-1091 motr]# cd ..
[root@ssc-vm-1091 var]# cortx/cortx-motr/motr/st/utils/m0cp -l 10.230.247.138@tcp:12345:4:1 -H 10.230.247.138@tcp:12345:1:1 -p 0x7000000000000001:0x22 -P 0x7200000000000001:0x1c -o 14:10 -s 1m -c 128 motr/disk6.img -L 9
motr[00515]: ea80 ERROR [io_req_fop.c:208:io_bottom_half] ioo=0x1393810 from=10.230.247.138@tcp:12345:2:2 rc=-7 ti_rc=-7 @<4300000300000014:10>
motr[00515]: eab0 ERROR [io_req.c:538:ioreq_iosm_handle_executed] iro_dgmode_write() failed, rc=-7
These "disk0.img disk2.img disk4.img disk6.img disk8.img" are files to store data for the Motr services!!!
These are "devices" managed by Motr and clovis app is writing data to them.
You are reading these disks and Motr is writing to themselves!!
THIS IS ABSOLUTELY WRONG.
from cortx-motr.
@huanghua78 : Good obeservation, i missed it.
But i think in this case @yanqingfu may be using actual devices in cluster.yaml file.
from cortx-motr.
@madhavemuri @huanghua78 as you can see from singlenode.yaml I am using actual devices
I used command
for i in {0..9}; do
sudo dd if=/dev/zero of=/var/motr/disk$i.img bs=1M seek=9999 count=1
sudo losetup /dev/loop$i /var/motr/disk$i.img
done
to create the disk*.img file
nodes:
hostname: localhost
data_iface: eth0
m0_servers:
runs_confd: true
io_disks:
data: []
io_disks:
data:
- /dev/vde
- /dev/vdf
- /dev/vdg
- /dev/vdh
m0_clients:
s3: 0
other: 2
pools:
name: the pool
data_units: 2
parity_units: 1
from cortx-motr.
Transferring this to the Motr repo. Let me know if there are any issues. Thank you.
from cortx-motr.
This issue/pull request has been marked as needs attention
as it has been left pending without new activity for 4 days. Tagging @huanghua78 @mukundkanekar for appropriate assignment. Sorry for the delay & Thank you for contributing to CORTX. We will get back to you as soon as possible.
from cortx-motr.
This issue is not seen any more.
from cortx-motr.
Related Issues (20)
- Unexpected keyword argument 'priority' in function call HOT 6
- degraded write fails when cob create fails HOT 5
- m0_fom_queue() panic in some UTs while doing cleanup HOT 13
- list of unit test failed HOT 3
- subprocess call with shell=True identified, security issue. HOT 9
- [Codacy code cleanup] occurrence: 8 pattern: hardcoded_sql_expression HOT 7
- Disable alternative pool versions by default HOT 4
- Sustained writes causes Motr to stop responding and require restarting HOT 25
- gccxml_cc1plus: error: cortx-motr/be/btree.h: No such file or directory HOT 6
- UT net-lnet is failing on Jenkins because lnet is not configured/loaded properly. HOT 11
- dtm0/log: record pmsgs from participants HOT 5
- I/O test failed HOT 10
- Error when trying to install Motr+HARE from iosea release HOT 3
- Ctgdump failed and all2all test HOT 7
- Phase2 mkfs failed during cluster bootstrapping after recent updates HOT 8
- Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead. HOT 7
- dix: return obj-version and number of replicas on get HOT 9
- dix: introduce cas-put by obj-version operation HOT 5
- dix: introduce cas-delete by obj-version operation HOT 4
- dix: make index creation/deletion operations fault-tolerant HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cortx-motr.