User Tools

Site Tools


cluster:151

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
cluster:151 [2016/10/31 19:24]
hmeij07 [Mirror Data]
cluster:151 [2016/11/03 13:45]
hmeij07 [Mirror Data]
Line 27: Line 27:
 ==== Mirror Data ==== ==== Mirror Data ====
  
-** Before**+** Before **
  
 <code> <code>
Line 44: Line 44:
    21701         low     291.2GiB      61.8GiB  21%       18.5M       15.8M  85%    21701         low     291.2GiB      61.8GiB  21%       18.5M       15.8M  85%
 </code> </code>
 +
 +** Before **
  
 <code> <code>
Line 65: Line 67:
 # copy some contents in (~hmeij is 10G) # copy some contents in (~hmeij is 10G)
 [root@n7 ~]# rsync -vac --bwlimit /home/hmeij /mnt/beegfs/hmeij-mirror-data/  [root@n7 ~]# rsync -vac --bwlimit /home/hmeij /mnt/beegfs/hmeij-mirror-data/ 
 +
 +</code>
 +
 +** After **
 +
 +<code>
 +
 +[root@n7 ~]# beegfs-df
 +
 +METADATA SERVERS: (almost no changes...)
 +STORAGE TARGETS: (each target less circa 10G)
 +TargetID        Pool        Total         Free    %      ITotal       IFree    %
 +========        ====        =====         ====    =      ======       =====    =
 +   13601         low     291.4GiB      40.7GiB  14%       18.5M       18.4M  99%
 +   21701         low     291.2GiB      51.9GiB  18%       18.5M       15.8M  85%
 +
 +# lets find an object
 +[root@n7 ~]# beegfs-ctl --getentryinfo /mnt/beegfs/hmeij-mirror-data/hmeij/xen/bvm1.img
 +Path: /hmeij-mirror-data/hmeij/xen/bvm1.img
 +Mount: /mnt/beegfs
 +EntryID: 178-581797C8-30
 +Metadata node: n38 [ID: 48]
 +Stripe pattern details:
 ++ Type: Buddy Mirror
 ++ Chunksize: 512K
 ++ Number of storage targets: desired: 2; actual: 1
 ++ Storage mirror buddy groups:
 +  + 101
 +
 +# original
 +[root@n7 ~]# ls -lh /mnt/beegfs/hmeij-mirror-data/hmeij/xen/bvm1.img
 +-rwxr-xr-x 1 hmeij its 4.9G 2014-04-07 13:39 /mnt/beegfs/hmeij-mirror-data/hmeij/xen/bvm1.img
 +
 +# copy on primary
 +[root@petaltail chroots]# ls -lh /var/chroots/data/beegfs_storage/buddymir/u2018/5817/9/60-58179513-30/178-581797C8-30
 +-rw-rw-rw- 1 root root 4.9G Apr  7  2014 /var/chroots/data/beegfs_storage/buddymir/u2018/5817/9/60-58179513-30/178-581797C8-30
 +
 +# copy on secondary
 +[root@swallowtail ~]# find /data/beegfs_storage -name 178-581797C8-30
 +/data/beegfs_storage/buddymir/u2018/5817/9/60-58179513-30/178-581797C8-30
 +[root@swallowtail ~]# ls -lh /data/beegfs_storage/buddymir/u2018/5817/9/60-58179513-30/178-581797C8-30
 +-rw-rw-rw- 1 root root 4.9G Apr  7  2014 /data/beegfs_storage/buddymir/u2018/5817/9/60-58179513-30/178-581797C8-30
 +
 +# seems to work, notice the ''buddymir'' directory on primary/secondary
  
 </code> </code>
cluster/151.txt ยท Last modified: 2016/12/06 20:14 by hmeij07