The way I did this was to use:

ceph-volume lvm batch /dev/sda /dev/sdb /dev/sdc /dev/sdd /dev/sde
/dev/sdf etc

Where you just list all of the block devices you want to use in a group. It
will automatically determine which devices are SSD and then automatically
partition it for you and share it amongst the HDD OSDs.

On Tue, 10 Dec 2019 at 05:12, Nathan Fish <[email protected]> wrote:

> You can loop over the creation of LVs on the SSD of a fixed size, then
> loop over creating OSDs assigned to each of them. That is what we did,
> it wasn't bad.
>
> On Mon, Dec 9, 2019 at 9:32 PM Philip Brown <[email protected]> wrote:
> >
> > I have a bunch of hard drives I want to use as OSDs, with ceph nautilus.
> >
> > ceph-volume lvm create makes straight raw dev usage relatively easy,
> since you can just do
> >
> > ceph-volume lvm create --data /dev/sdc
> >
> > or whatever.
> > Its nice that it takes care of all the LVM jiggerypokery automatically.
> >
> > but.. what if you have a single SSD. lets call it /dev/sdx. and I want
> to use it for the WAL, for
> > /dev/sdc, sdd, sde, sdf, and so on.
> >
> > Do you have to associate each OSD with a unique WAL dev, or can they
> "share"?
> >
> > Do I really have to MANUALLY go carve up /dev/sdx into slices, LVM or
> otherwise, and then go hand manage the slicing?
> >
> > ceph-volume lvm create --data /dev/sdc --block.wal /dev/sdx1
> > ceph-volume lvm create --data /dev/sdd --block.wal /dev/sdx2
> > ceph-volume lvm create --data /dev/sde --block.wal /dev/sdx3
> > ?
> >
> > can I not get away with some other more simplified usage?
> >
> >
> >
> > --
> > Philip Brown| Sr. Linux System Administrator | Medata, Inc.
> > 5 Peters Canyon Rd Suite 250
> > Irvine CA 92606
> > Office 714.918.1310| Fax 714.918.1325
> > [email protected]| www.medata.com
> > _______________________________________________
> > ceph-users mailing list
> > [email protected]
> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> _______________________________________________
> ceph-users mailing list
> [email protected]
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>


-- 
*Quadrature Capital*
[email protected]
http://www.quadraturecapital.com
*Dir:* +44-20-3743-0428 *Main:* +44-20-3743-0400 *Fax:* +44-20-3743-0401
The Leadenhall Building, 122 Leadenhall Street, London, EC3V 4AB

---------------------------------------------------------------------------------------------------
Quadrature Capital Limited, a limited company, registered in England and
Wales with registered number 09516131, is authorised and regulated by the
Financial Conduct Authority.

Any e-mail sent from Quadrature Capital may contain information which is
confidential. Unless you are the intended recipient, you may not disclose,
copy or use it; please notify the sender immediately and delete it and any
copies from your systems. You should protect your system from viruses etc.;
we accept no responsibility for damage that may be caused by them.

We may monitor email content for the purposes of ensuring compliance with
law and our policies, as well as details of correspondents to supplement
our relationships database.
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to