Re: [Gluster-users] How to retrieve gluster snap volume name

2015-09-03 Thread Merlin Morgenstern
Interesting hack :-) Should work but the regex seems not fitting: Returns: Snap Volume Name : 2d828e6282964e0e89616b297130aa1b 2015-09-03 17:11 GMT+02:00 Alex Crow : > How about just: > > sudo gluster snapshot info | grep "Snap\ Volume\ Name" | sed -e >

Re: [Gluster-users] How to retrieve gluster snap volume name

2015-09-03 Thread Merlin Morgenstern
got it... sudo gluster snapshot info snap1 | grep "Snap\ Volume\ Name" | sed -e 's/.*S.*:.//g' 2015-09-03 17:36 GMT+02:00 Merlin Morgenstern : > Interesting hack :-) > > Should work but the regex seems not fitting: > Returns: > > Snap Volume Name :

Re: [Gluster-users] How to retrieve gluster snap volume name

2015-09-03 Thread Alex Crow
How about just: sudo gluster snapshot info | grep "Snap\ Volume\ Name" | sed -e 's/^S.*://g' ?? Alex On 03/09/15 16:06, Merlin Morgenstern wrote: Is there a way to retrieve the snap volume name from gluster? $ sudo gluster snapshot info returns all kinds of info: Snapshot

Re: [Gluster-users] How to retrieve gluster snap volume name

2015-09-03 Thread Rajesh Joseph
- Original Message - > From: "Merlin Morgenstern" <merlin.morgenst...@gmail.com> > To: "Alex Crow" <ac...@integrafin.co.uk> > Cc: "gluster-users" <gluster-users@gluster.org> > Sent: Thursday, September 3, 2015 9:13:55 PM > S