Hi,
i've been messing with Ceph, i had it running previously on a all HHD cluster (10k 149gb sas2 drives). It was fairly performant. but the write speeds weren't there. Now i have bought SSDs for each host (3). I have installed Proxmox on the ssd. set up networking, clustered, install ceph. but now i am facing a problem.
I cannot use /dev/sda (the ssd) as a journal (which is an option in the GUI). i'm getting the following error:
Disks are all raid 0 (HP410i controller, no passthrough sadly). i had no issue with ceph on 4.4 on the all hdd cluster.
pveversion:
pve-manager/5.0-10/0d270679 (running kernel: 4.10.11-1-pve)
Is there a way to create the journal on the SSD?
Thanks in advance!
i've been messing with Ceph, i had it running previously on a all HHD cluster (10k 149gb sas2 drives). It was fairly performant. but the write speeds weren't there. Now i have bought SSDs for each host (3). I have installed Proxmox on the ssd. set up networking, clustered, install ceph. but now i am facing a problem.
I cannot use /dev/sda (the ssd) as a journal (which is an option in the GUI). i'm getting the following error:
Disks are all raid 0 (HP410i controller, no passthrough sadly). i had no issue with ceph on 4.4 on the all hdd cluster.
Code:
root@hv1:~# pveceph createosd /dev/sdb -journal_dev /dev/sda
The ZFS modules are not loaded.
Try running '/sbin/modprobe zfs' as root to load them.
command '/sbin/zpool list -HPLv' failed: exit code 1
create OSD on /dev/sdb (xfs)
using device '/dev/sda' for journal
Caution: invalid backup GPT header, but valid main header; regenerating
backup header from main header.
****************************************************************************
Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
verification and recovery are STRONGLY recommended.
****************************************************************************
GPT data structures destroyed! You may now partition the disk using fdisk or
other utilities.
Creating new GPT entries.
The operation has completed successfully.
prepare_device: OSD will not be hot-swappable if journal is not the same device as the osd data
Setting name!
partNum is 3
REALLY setting name!
Could not create partition 4 from 34 to 10485793
Unable to set partition 4's name to 'ceph journal'!
Could not change partition 4's type code to 45b0969e-9b03-4f30-b4c6-b4b80ceff106!
Error encountered; not saving changes.
'/sbin/sgdisk --new=4:0:+5120M --change-name=4:ceph journal --partition-guid=4:8827ec92-5f5d-4ff2-852e-4bcf7c617fad --typecode=4:45b0969e-9b03-4f30-b4c6-b4b80ceff106 --mbrtogpt -- /dev/sda' failed with status code 4
command 'ceph-disk prepare --zap-disk --fs-type xfs --cluster ceph --cluster-uuid 305873a4-82a5-4e78-b4fd-bac929897526 --journal-dev /dev/sdb /dev/sda' failed: exit code 1
pveversion:
pve-manager/5.0-10/0d270679 (running kernel: 4.10.11-1-pve)
Is there a way to create the journal on the SSD?
Thanks in advance!