Advertisement
Guest User

Untitled

a guest
Oct 15th, 2015
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.91 KB | None | 0 0
  1. SLAVE
  2.  
  3. root@tripax-virt-pra01:~# lvcreate -L300G -n share-geo vg
  4. Logical volume "share-geo" created.
  5.  
  6. root@tripax-virt-pra01:~# mkdir /shared/geo
  7. root@tripax-virt-pra01:~# mkdir /shared/geo/data
  8. root@tripax-virt-pra01:~# mkfs.xfs /dev/vg/share-geo
  9. meta-data=/dev/vg/share-geo isize=256 agcount=4, agsize=19660800 blks
  10. = sectsz=512 attr=2, projid32bit=1
  11. = crc=0 finobt=0
  12. data = bsize=4096 blocks=78643200, imaxpct=25
  13. = sunit=0 swidth=0 blks
  14. naming =version 2 bsize=4096 ascii-ci=0 ftype=0
  15. log =internal log bsize=4096 blocks=38400, version=2
  16. = sectsz=512 sunit=0 blks, lazy-count=1
  17. realtime =none extsz=4096 blocks=0, rtextents=0
  18.  
  19. root@tripax-virt-pra01:~# mount /dev/vg/share-geo /shared/geo
  20. root@tripax-virt-pra01:~#
  21. oot@tripax-virt-pra01:~# mkdir /shared/geo/data
  22. root@tripax-virt-pra01:~# gluster volume create shared-geo node3:/shared/geo/data
  23. volume create: shared-geo: success: please start the volume to access data
  24. root@tripax-virt-pra01:~# gluster volume start shared-geo
  25. volume start: shared-geo: success
  26. root@tripax-virt-pra01:~# ls -la /shared/geo/data/
  27. total 0
  28. drwxr-xr-x 4 root root 39 Oct 15 14:30 .
  29. drwxr-xr-x 3 root root 17 Oct 15 14:29 ..
  30. drw------- 6 root root 130 Oct 15 14:31 .glusterfs
  31. drwxr-xr-x 3 root root 24 Oct 15 14:30 .trashcan
  32. root@tripax-virt-pra01:~#
  33.  
  34.  
  35.  
  36. MASTER
  37.  
  38. root@devnix-virt-master01:~# gluster volume geo-replication pve-gluster-share node3::shared-geo create push-pem
  39. node3::shared-geo is not empty. Please delete existing files in node3::shared-geo and retry, or use force to continue without deleting the existing files.
  40. Gluster version mismatch between master and slave.
  41. geo-replication command failed
  42. root@devnix-virt-master01:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement