Hello,

since we need to restructure our gluster infrastructure a wee bit, I'd
need to use disks twice, aka two logical bricks on one physical disk.

Current layout, mountpoint = brick:
/srv/disk1/<volumecontents>
/srv/disk2/<volumecontents>
/srv/disk3/<volumecontents>
/srv/disk4/<volumecontents>

What my plan is currently:
mount /mnt/disk1
mkdir /mnt/disk1/disk1
mv /mnt/disk1/* /mnt/disk1/disk1
mount --bind /mnt/disk1/disk1 /srv/disk1
[repeat...]

so that the final layout looks something like that:
/mnt/disk1/disk1 -> /srv/disk1
/mnt/disk2/disk2 -> /srv/disk2
/mnt/disk3/disk3 -> /srv/disk3
/mnt/disk4/disk4 -> /srv/disk4
/mnt/disk1/disk5 -> /srv/disk5 *new
/mnt/disk2/disk6 -> /srv/disk6 *new
/mnt/disk3/disk7 -> /srv/disk7 *new
/mnt/disk4/disk8 -> /srv/disk8 *new

Now, my questions:
* can I do that without destroying/altering/... relevant dht
information/the distribution of the files? The pathnames of what was
there before stay the same for gluster.
* A mv should carry the extended attributes, shouldn't it?
* Can I use a symlink instead of a bind mount?

Thank you for any insight on this,
Philip
_______________________________________________
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users

Reply via email to