Hi Folks,
Just got my new cluster machines all NVMe
I have one Journaldisk Fast NVMe with 1.5 TB you can not partion this on gui so i did this in cli...
parted /dev/nvme0n1
mkpart journal01 1 250G
mkpart journal02 250G 500G
mkpart journal03 500G 750G
mkpart journal04 750G 1000G
mkpart journal05 1000G 1250G
mkpart journal06 1250G 1500G
print
quit
Disk /dev/nvme0n1: 1.5 TiB, 1600321314816 bytes, 3125627568 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 956A2C38-D7FF-4B03-9B18-76903797A0E6
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 488282111 488280064 232.9G Linux filesystem
/dev/nvme0n1p2 488282112 976562175 488280064 232.9G Linux filesystem
/dev/nvme0n1p3 976562176 1464844287 488282112 232.9G Linux filesystem
/dev/nvme0n1p4 1464844288 1953124351 488280064 232.9G Linux filesystem
/dev/nvme0n1p5 1953124352 2441406463 488282112 232.9G Linux filesystem
/dev/nvme0n1p6 2441406464 2929686527 488280064 232.9G Linux filesystem
and 6 Data NVMe with 1.8 TB
i only be able to create osd via cli, GUI does not present one of the 6 Partinions of journaldisk !
pveceph createosd /dev/nvme1n1 -journal_dev /dev/nvme0n1p1
create OSD on /dev/nvme1n1 (xfs)
using device '/dev/nvme0n1p1' 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
prepare_device: Journal /dev/nvme0n1p1 was not prepared with ceph-disk. Symlinking directly.
Setting name!
partNum is 0
REALLY setting name!
The operation has completed successfully.
meta-data=/dev/nvme1n1p1 isize=2048 agcount=4, agsize=122094597 blks
= sectsz=512 attr=2, projid32bit=1
= crc=0 finobt=0
data = bsize=4096 blocks=488378385, imaxpct=5
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0 ftype=0
log =internal log bsize=4096 blocks=238466, version=2
= sectsz=512 sunit=0 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
The operation has completed successfully.
But osd does not show up and is not declared in /var/lib/ceph/osd !
so I'm stuck !...
any help is appreciated !
regards
Gerhard
Just got my new cluster machines all NVMe
I have one Journaldisk Fast NVMe with 1.5 TB you can not partion this on gui so i did this in cli...
parted /dev/nvme0n1
mkpart journal01 1 250G
mkpart journal02 250G 500G
mkpart journal03 500G 750G
mkpart journal04 750G 1000G
mkpart journal05 1000G 1250G
mkpart journal06 1250G 1500G
quit
Disk /dev/nvme0n1: 1.5 TiB, 1600321314816 bytes, 3125627568 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 956A2C38-D7FF-4B03-9B18-76903797A0E6
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 488282111 488280064 232.9G Linux filesystem
/dev/nvme0n1p2 488282112 976562175 488280064 232.9G Linux filesystem
/dev/nvme0n1p3 976562176 1464844287 488282112 232.9G Linux filesystem
/dev/nvme0n1p4 1464844288 1953124351 488280064 232.9G Linux filesystem
/dev/nvme0n1p5 1953124352 2441406463 488282112 232.9G Linux filesystem
/dev/nvme0n1p6 2441406464 2929686527 488280064 232.9G Linux filesystem
and 6 Data NVMe with 1.8 TB
i only be able to create osd via cli, GUI does not present one of the 6 Partinions of journaldisk !
pveceph createosd /dev/nvme1n1 -journal_dev /dev/nvme0n1p1
create OSD on /dev/nvme1n1 (xfs)
using device '/dev/nvme0n1p1' 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
prepare_device: Journal /dev/nvme0n1p1 was not prepared with ceph-disk. Symlinking directly.
Setting name!
partNum is 0
REALLY setting name!
The operation has completed successfully.
meta-data=/dev/nvme1n1p1 isize=2048 agcount=4, agsize=122094597 blks
= sectsz=512 attr=2, projid32bit=1
= crc=0 finobt=0
data = bsize=4096 blocks=488378385, imaxpct=5
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0 ftype=0
log =internal log bsize=4096 blocks=238466, version=2
= sectsz=512 sunit=0 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
The operation has completed successfully.
But osd does not show up and is not declared in /var/lib/ceph/osd !
so I'm stuck !...
any help is appreciated !
regards
Gerhard