[PVE-User] Ceph: Some trouble creating OSD with journal on a sotware raid device...
Marco Gaiarin
gaio at sv.lnf.it
Thu Dec 15 12:48:53 CET 2016
Sorry, i came back to this topic because i've done some more tests.
Seems that 'pveceph' tool have some trouble creating OSD with journal
on ''nonstandard'' partition, for examply on a MD device.
A command like:
pveceph createosd /dev/sde --journal_dev /dev/md4
fail mysteriously (OSD are added to the cluster, out and down, but on
the node even the service get not created, eg, there's nothing to
restart).
Disks get partitioned/formatted (/dev/sde, but also /dev/md4).
If instead i create on the device a GPT partition, for example of type
Linux, i can do:
pveceph createosd /dev/sde --journal_dev /dev/md4p1
and creation of the OSD work flawlessy, with only a single warning
emitted:
WARNING:ceph-disk:Journal /dev/md4p1 was not prepared with ceph-disk. Symlinking directly.
But journal work as expected.
I make a note. Thanks.
--
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/
Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN)
marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797
Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
http://www.lanostrafamiglia.it/25/index.php/component/k2/item/123
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
More information about the pve-user
mailing list