I have have 2 identical pc's with each 2 nvme storages for the cluser and for a local backup.
When installing only nvme0n1 was selected. After installing nvme0n1 changes to nvme1n1 on the master.
The config of drbd does not reflect the output of blkid or parted -l
I wonder why this behaviuor occurs and if the second nvme is usable for backups.
wkr
Olaf
******** MASTER
****** exceprt from /etc/drbd.conf
resource iscsi1
{
protocol C;
on vates
{
device /dev/drbd1;
disk /dev/nvme1n1p3;
address 10.10.10.1:7789;
meta-disk internal;
}
on inria
{
device /dev/drbd1;
disk /dev/nvme1n1p3;
address 10.10.10.2:7789;
meta-disk internal;
}
}
Based on the provided information, it seems that the second NVMe storage device (nvme1n1) is visible and accessible on both the master and the slave nodes. However, when configuring DRBD (Distributed Replicated Block Device), you specified /dev/nvme1n1p3 as the disk for replication, which is a partition on the second NVMe device.
The output of lsblk shows that nvme1n1p3 is used by the DRBD device (drbd1), indicating that the second NVMe storage is being utilized for replication. On the master node, nvme1n1p3 is mounted as /dev/drbd1, and on the slave node, it is mounted as /dev/drbd1 as well.
As for the discrepancy between the device names (nvme0n1 changing to nvme1n1), it could be due to the order in which the devices are detected during the boot process. The naming scheme for NVMe devices
hdpcgames
might vary depending on the system configuration. It's important to note that the naming itself doesn't affect the functionality or usability of the devices.
Regarding the usage of the second NVMe device for backups, you can certainly utilize it for that purpose. Since it is already being used for DRBD replication, you may consider creating a separate partition or file system on the second NVMe device to store your backup data. Alternatively, you can mount the existing partitions (nvme1n1p2, nvme1n1p4, nvme1n1p5, etc.) on the second NVMe device to specific mount points for backup purposes.
Ensure that you have a suitable backup strategy in place to manage the backup process effectively and protect your data.