diff options
author | Raghavendra Bhat <raghavendra@redhat.com> | 2013-11-19 18:04:39 +0530 |
---|---|---|
committer | Raghavendra Bhat <raghavendra@redhat.com> | 2013-11-22 12:18:33 +0530 |
commit | fae2c3e27037899198d8e7d83ea6aeb7f45f0ebd (patch) | |
tree | f3f7d8176a2e1244b35fbcc4a72f51b5a85666f9 /argp-standalone | |
parent | 2b8fccc75f6a4a2bc7f2e2027f92f4ecd4942f64 (diff) |
mgmt/glusterd: do not use the root of the snaped device as the brick path
Suppose a volume's brick has the path /export/brick/vol/dir and lvm
of that brick is mounted at /export. Now snap of that brick is
taken, and is mounted on a path (say /run/gluster/snaps/<snapname>)
While creating the brick for the snap volume, /run/gluster/snaps/<snapname>
(i.e the mount point of the snap lvm) should not be used as the export
directory. The directory path remaining after the mount point of the
original lvm should be appended to the snap lvm mounted path and
should be used as the export directory
(ex: /run/gluster/snaps/<snapname>/brick/vol/dir in this case).
Its because the volume-id of the original volume and other extended
attributes wont be set on the root. It will be in the same path as the
original lvm.
Change-Id: I832dac8478eba1a318bdbcdf6cd8bf55b2a3261d
Signed-off-by: Raghavendra Bhat <raghavendra@redhat.com>
Diffstat (limited to 'argp-standalone')
0 files changed, 0 insertions, 0 deletions