Hi there.
I am deploying a glusterfs 2-node server, just for fun!
So in each server, I have:
2x - 500G - Operational System
2x - 2TB
1x - 1TB
I formatted the 2x 2TB and the 1x 1TB with XFS and mounted it in this order:
/dev/sdc -> /disk1 -----> 2TB
/dev/sdd -> /disk2 -----> 2TB
/dev/sde -> /disk3 -----> 1TB
And the create a gluster vol with this command:
gluster vol create VMS replica 2 gluster1:/disco1/vms1 gluster1:/disco2/vms2 gluster1:/disco3/vms3 gluster2:/disco1/vms1 gluster2:/disco2/vms2 gluster2:/disco3/vms3 force
And mounted into /vms
like this:
gluster1:VMS /vms glusterfs defaults,_netdev,x-systemd.automount,backupvolfile-server=gluster2 0 0
Later on, I add more 3 HDD, like:
mkfs.xfs /dev/sdf
mkfs.xfs /dev/sdg
mkfs.xfs /dev/sdh
mount /dev/sdf /disk4
mount /dev/sdg /disk5
mount /dev/sdh /disk6
mount /dev/sdf /disk4
mount /dev/sdg /disk5
mount /dev/sdh /disk6
And than, I add the bricks:
gluster vol add-brick VMS replica 2 gluster1:/disco4/vms4 gluster1:/disco4/vms5 gluster1:/disco5/vms5 gluster2:/disco4/vms4 gluster2:/disco4/vms5 gluster2:/disco5/vms5 force
The /vms mounted grow up normally.
So my question: is there anything dangerous to do this way?
Any better alternative will be welcome.
Thanks
---
Gilberto Nunes Ferreira
________ Community Meeting Calendar: Schedule - Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC Bridge: https://meet.google.com/cpu-eiue-hvk Gluster-users mailing list Gluster-users@xxxxxxxxxxx https://lists.gluster.org/mailman/listinfo/gluster-users