Re: mkcephfs 0.20 failure on debian: FAILED assert(r == 0)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 12 May 2010, Jean-Adrien wrote:
> I try to setup a little test cluster using kvm, and I have exactly the same
> problem.

This is fixed in git, and there are 'testing' packages built that include 
the fix (a v0.20.1 release with these will be out shortly).  Just adjust 
your /etc/apt/source.list to use 'ceph-testing', like so:

 deb http://ceph.newdream.net/debian/ squeeze ceph-testing
 deb-src http://ceph.newdream.net/debian/ squeeze ceph-testing

Alternatively, adding

        osd journal size = 100

to your ceph.conf, or simply creating the journal yourself with 'dd' will 
avoid the issue.

> Moreover, I notice that when I want to delete the data created in the btrfs
> partition it is not possible to remove the current directory, even if it is
> empty:
> 
> root@cods-1:/mnt/btrfs/data# rm -rf osd0/
> rm: cannot remove directory `osd0/current': Directory not empty
>
> The only way is to reformat the partition (mkfs.btrfs /dev/sdb1)

This is a btrfs thing.. you can't remove subvolumes with rmdir.  'btrfsctl 
-D current' will do the trick.  Or, the latest cosd will clean them up for 
you.

sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux