CEPH + CEPH + Dell R310

Disk0 is a 240gb SSD (LVM vg-root)

Disk 1-3 are 4TB sata spindles. (sdb,sdc,sdd)

ceph osd create
ceph-osd -i {osd-num} –mkfs –mkkey
ceph auth add osd.{osd-num} osd ‘allow *’ mon ‘allow rwx’ -i /var/lib/ceph/osd/ceph-{osd-num}/keyring

update ceph.conf for location
start osd daemon

lvcreate -L 60G -n cache-disk1 vg-root
lvcreate -L 60G -n cache-disk2 vg-root
lvcreate -L 60G -n cache-disk3 vg-root
zpool create -o ashift=12 disk1 /dev/sdb
zfs set xattr=sa disk1
zfs set atime=off disk1
zfs set compression=lz4 disk1
zpool add disk1 log /dev/vg-root/cache-disk1
zpool create -o ashift=12 disk1 /dev/sdc
zfs set xattr=sa disk1
zfs set atime=off disk1
zfs set compression=lz4 disk1
zpool add disk2 log /dev/vg-root/cache-disk2
zpool create -o ashift=12 disk1 /dev/sdd
zfs set xattr=sa disk1
zfs set atime=off disk1
zfs set compression=lz4 disk1
zpool add disk3 log /dev/vg-root/cache-disk3

Leave a Reply

Your email address will not be published. Required fields are marked *