TomK
2016-May-03 01:55 UTC
[Gluster-users] Hey All, Anyway to remove the last brick or change it? Added erronously.
Hey All, New here and first time posting. I've made a typo in configuration and entered: gluster volume create mdsglusterv01 transport rdma mdskvm-p01:/mnt/p01-d01/glusterv01/ but couldn't start since rdma didn't exist: [root at mdskvm-p01 glusterfs]# ls -altri /usr/lib64/glusterfs/3.7.11/rpc-transport/* 135169384 -rwxr-xr-x. 1 root root 99648 Apr 18 08:21 /usr/lib64/glusterfs/3.7.11/rpc-transport/socket.so [root at mdskvm-p01 glusterfs]# So how do I reconfigure gluster to remove the rdma option and redefine this brick? [root at mdskvm-p01 glusterfs]# gluster volume info Volume Name: mdsglusterv01 Type: Distribute Volume ID: 84df37b3-3c68-4cc0-9383-3ff539a4d785 Status: Stopped Number of Bricks: 1 Transport-type: rdma Bricks: Brick1: mdskvm-p01:/mnt/p01-d01/glusterv01 Options Reconfigured: performance.readdir-ahead: on [root at mdskvm-p01 glusterfs]# I figure I can add in a dummy block device however wanted to find out if there's anyway to change the above or redefine it before I do that. Cheers, Tom K. ------------------------------------------------------------------------------------- Living on earth is expensive, but it includes a free trip around the sun. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160502/1603169e/attachment.html>
Chen Chen
2016-May-03 02:17 UTC
[Gluster-users] Hey All, Anyway to remove the last brick or change it? Added erronously.
Hi Tom, You may try: gluster volume set volname config.transport tcp ref: http://www.gluster.org/community/documentation/index.php/RDMA_Transport#Changing_Transport_of_Volume Best regards, Chen On 5/3/2016 9:55 AM, TomK wrote:> Hey All, > > New here and first time posting. I've made a typo in configuration and > entered: > > gluster volume create mdsglusterv01 transport rdma > mdskvm-p01:/mnt/p01-d01/glusterv01/ > > but couldn't start since rdma didn't exist: > > [root at mdskvm-p01 glusterfs]# ls -altri > /usr/lib64/glusterfs/3.7.11/rpc-transport/* > 135169384 -rwxr-xr-x. 1 root root 99648 Apr 18 08:21 > /usr/lib64/glusterfs/3.7.11/rpc-transport/socket.so > [root at mdskvm-p01 glusterfs]# > > So how do I reconfigure gluster to remove the rdma option and redefine > this brick? > > [root at mdskvm-p01 glusterfs]# gluster volume info > > Volume Name: mdsglusterv01 > Type: Distribute > Volume ID: 84df37b3-3c68-4cc0-9383-3ff539a4d785 > Status: Stopped > Number of Bricks: 1 > Transport-type: rdma > Bricks: > Brick1: mdskvm-p01:/mnt/p01-d01/glusterv01 > Options Reconfigured: > performance.readdir-ahead: on > [root at mdskvm-p01 glusterfs]# > > I figure I can add in a dummy block device however wanted to find out if > there's anyway to change the above or redefine it before I do that. > > Cheers, > Tom K. > ------------------------------------------------------------------------------------- > > Living on earth is expensive, but it includes a free trip around the sun. > > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://www.gluster.org/mailman/listinfo/gluster-users >-- Chen Chen Shanghai SmartQuerier Biotechnology Co., Ltd. Add: Add: 3F, 1278 Keyuan Road, Shanghai 201203, P. R. China Mob: +86 15221885893 Email: chenchen at smartquerier.com Web: www.smartquerier.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4260 bytes Desc: S/MIME Cryptographic Signature URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160503/5a60f487/attachment.p7s>