Re: Erasure-coded Block Device Image Creation With qemu-img - Help

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

 



On Wed, Mar 17, 2021 at 04:29:10PM +1100, duluxoz wrote:

> ```
> 
> rbd create -s 1T --data-pool my_pool my_pool_metadata/my_data
> 
> ```
> 
> First Question: Is this correct?

Yes

> 
> Second Question: What is the qemu-img equivalent command - is it:
> 
> ```
> 
> qemu-img create -f rbd rbd:--data-pool my_pool my_pool_metadata/my_data 1T
> 
> ```

To make qemu-img use the data pool you can set rbd_default_data_pool
param in ceph.conf, or use CEPH_ARGS environment variable. Something
like this:

```

CEPH_ARGS=--rbd_default_data_pool=my_pool qemu-img create -f rbd rbd:my_pool_metadata/my_data 1T

```

-- 
Mykola Golub
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux