Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SLAVE
- root@tripax-virt-pra01:~# lvcreate -L300G -n share-geo vg
- Logical volume "share-geo" created.
- root@tripax-virt-pra01:~# mkdir /shared/geo
- root@tripax-virt-pra01:~# mkdir /shared/geo/data
- root@tripax-virt-pra01:~# mkfs.xfs /dev/vg/share-geo
- meta-data=/dev/vg/share-geo isize=256 agcount=4, agsize=19660800 blks
- = sectsz=512 attr=2, projid32bit=1
- = crc=0 finobt=0
- data = bsize=4096 blocks=78643200, imaxpct=25
- = sunit=0 swidth=0 blks
- naming =version 2 bsize=4096 ascii-ci=0 ftype=0
- log =internal log bsize=4096 blocks=38400, version=2
- = sectsz=512 sunit=0 blks, lazy-count=1
- realtime =none extsz=4096 blocks=0, rtextents=0
- root@tripax-virt-pra01:~# mount /dev/vg/share-geo /shared/geo
- root@tripax-virt-pra01:~#
- oot@tripax-virt-pra01:~# mkdir /shared/geo/data
- root@tripax-virt-pra01:~# gluster volume create shared-geo node3:/shared/geo/data
- volume create: shared-geo: success: please start the volume to access data
- root@tripax-virt-pra01:~# gluster volume start shared-geo
- volume start: shared-geo: success
- root@tripax-virt-pra01:~# ls -la /shared/geo/data/
- total 0
- drwxr-xr-x 4 root root 39 Oct 15 14:30 .
- drwxr-xr-x 3 root root 17 Oct 15 14:29 ..
- drw------- 6 root root 130 Oct 15 14:31 .glusterfs
- drwxr-xr-x 3 root root 24 Oct 15 14:30 .trashcan
- root@tripax-virt-pra01:~#
- MASTER
- root@devnix-virt-master01:~# gluster volume geo-replication pve-gluster-share node3::shared-geo create push-pem
- 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.
- Gluster version mismatch between master and slave.
- geo-replication command failed
- root@devnix-virt-master01:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement