Re: How fill my volume for test?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
Do you mean to fill your gluster volume?
If so, without getting into the details, I can try giving some pointers:
1)As I see you want to fill data randomly with many directories and files, you can try to download linux kernel(kernel.org) and untar it 
2)there are different tools available in github like FIO, smallfile(https://github.com/bengland2/smallfile/blob/master/smallfile_cli.py), crefi
3)One last hack-->If the intention is to fill your volume as fast of possible and assuming your volume is inside a directory on a thin lv(not directly using the mount path as the brick ), then you can directly copy  data into the LV mount with some random data or huge files(any log files or use above tools)
  This helps fill faster, as you are avoiding network as in a mount.
  IMPORTANT NOTE: I would like to reinstate, that you must be filling into the LV mount instead of the brick mount. Eg: if you LV mount is /rhs/lv1, I expect(as recommended), your brick path is something like /rhs/lv1/<brickname> . Hence you can fill in data under /rhs/lv1/<datadump> 


Regards,
nag

----- Original Message -----
From: "Tahereh Fattahi" <t28.fattahi@xxxxxxxxx>
To: gluster-users@xxxxxxxxxxx
Sent: Tuesday, 30 May, 2017 3:29:40 PM
Subject:  How fill my volume for test?

Hi 
I need to fill my volume and after that start testing. 
Is there a test case, test bench (I dont know the name) a program that create a lot of directory and files with different type and size (the data in files is not important, maybe random)? 
I can do this by my self but I dont know is this work correct? 
Is there any standard for fill a file system? 

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://lists.gluster.org/mailman/listinfo/gluster-users
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://lists.gluster.org/mailman/listinfo/gluster-users



[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux