You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. I set "mogadm class modify mydomain myclass --mindevcount=3"
2. I check "mogadm class list" (looks good)
[administrator@mogTracker ~]$ mogadm class list
domain class mindevcount replpolicy hashtype
-------------------- -------------------- ------------- ------------ -------
mydomain default 2 MultipleHosts() NONE
mydomain myclass 3 MultipleHosts() NONE
3. I Upload a file "mogupload --domain=mydomain --class=myclass
--key='myclass:test01' --file=test --trackers=10.10.1.216:7001"
4. Now check the file and see only 1 copy "mogfileinfo --tracker=10.10.1.216
--domain=mydomain --key='myclass:test01'"
- file: myclass:test01
class: myclass
devcount: 1
domain: mydomain
fid: 51
key: myclass:test01
length: 7
- http://10.10.1.217:7505/dev11/0/000/000/0000000051.fid
5. Now I check with mogstats and get this,
[administrator@mogTracker ~]$ mogstats
Fetching statistics... (all)
Statistics for devices...
device host files status
---------- ---------------- ------------ ----------
dev11 mogStor1 2 alive
dev12 mogStor1 3 alive
dev13 mogStor1 2 alive
dev22 mogStor2 2 alive
dev23 mogStor2 3 alive
---------- ---------------- ------------ ----------
Statistics for file ids...
Max file id: 51
Statistics for files...
domain class files size (m) fullsize (m)
-------------------- ----------- ---------- ----------- -------------
mydomain myclass 1 0 0
anotherD Original 1 0 0
anotherD default 10 0 0
-------------------- ----------- ---------- ----------- -------------
Statistics for replication...
domain class devcount files
-------------------- ----------- ---------- ----------
mydomain myclass 1 1
anotherD Original 1 1
anotherD default 1 10
-------------------- ----------- ---------- ----------
Statistics for replication queue...
status count
-------------------- ------------
deferred 12
-------------------- ------------
Statistics for delete queue...
status count
-------------------- ------------
-------------------- ------------
Statistics for general queues...
queue status count
--------------- -------------------- ------------
FSCK_QUEUE overdue 11
--------------- -------------------- ------------
done
What is the expected output? What do you see instead?
When i setup mindevcount to 3 I expect to see 3 copies of the same file
distributed to different devices.
What version of the product are you using? On what operating system?
Centos 6.4 min x64
Please provide any additional information below.
1 tracker, 2 storage nodes with 3 drives each.
[administrator@mogTracker ~]$ cat /etc/mogilefs/mogilefsd.conf
db_dsn = DBI:mysql:mogilefsdb:host=mysql01;port=3306;mysql_connect_timeout=5
db_user = mogilefsuser
db_pass = mypassword
conf_port = 7001
listener_jobs = 5
node_timeout = 5
default_mindevcount = 1
[administrator@mogStor2 ~]$ cat /etc/mogilefs/mogstored.conf
httplisten=0.0.0.0:7500
mgmtlisten=0.0.0.0:7501
docroot=/var/mogdata
server=none
Original issue reported on code.google.com by [email protected] on 10 Sep 2013 at 10:40
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 10 Sep 2013 at 10:40The text was updated successfully, but these errors were encountered: