From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josh Durgin Subject: Re: rbd snap Date: Fri, 16 Sep 2011 15:23:20 -0700 Message-ID: <4E73CC58.9070503@dreamhost.com> References: <4E736107.4050309@tuxadero.com> <4E73C064.7020104@tuxadero.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mail.hq.newdream.net ([66.33.206.127]:38348 "EHLO mail.hq.newdream.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753549Ab1IPWXU (ORCPT ); Fri, 16 Sep 2011 18:23:20 -0400 In-Reply-To: <4E73C064.7020104@tuxadero.com> Sender: ceph-devel-owner@vger.kernel.org List-ID: To: martin@tuxadero.com Cc: ceph-devel@vger.kernel.org On 09/16/2011 02:32 PM, Martin Mailand wrote: > root@c-brick-001:~# rbd rm --snap=2011091601 test > *** Caught signal (Segmentation fault) ** > in thread 0x7f203d749740 > ceph version 0.34 (commit:2f039eeeb745622b866d80feda7afa055e15f6d6) > 1: rbd() [0x457062] > 2: (()+0xfc60) [0x7f203ccf6c60] > 3: (librbd::snap_set(librbd::ImageCtx*, char const*)+0x10) [0x7f203d32ecd0] > 4: (main()+0x59f) [0x4518ff] > 5: (__libc_start_main()+0xff) [0x7f203b6cdeff] > 6: rbd() [0x44d569] > Segmentation fault I added a bug to the tracker for this (http://tracker.newdream.net/issues/1545). It shouldn't crash the way you ran it, but if you're trying to remove a snapshot you need to use the 'snap rm' command, i.e.: $ rbd snap rm --snap=2011091601 test