To build a hyper-converged Proxmox + Ceph Cluster, you must use at least ... If the disk was in use before (for example, for ZFS or as an OSD) you first need to zap all traces of that usage. To remove the partition table, boot sector and any other OSD ... One of the most common maintenance tasks in Ceph is to replace the disk of an OSD.
zap ¶. This subcommand is used to zap lvs, partitions or raw devices that have been used by ceph OSDs so that they may be reused. If given a path to a logical volume it must be in the format of vg/lv. Any file systems present on the given lv or partition …
09.05.2020 · Proxmox comes with gdisk installed. Just do: gdisk /dev/sda. 'x' for extra commands. 'z' for zap. That will clear the GPT partition table. Just double/triple check which disk you are zapping or you will have another problem. Reactions: vl1969.
28.05.2021 · for drives that were part use with zfs, ceph-volume lvm zap /dev/sdX did not prepare drive for pve: ceph > osd create osd. no unused drives were found this old script fixed the issue: DISK=$1 if [ "$1" = "" ]; then echo "Need to supply a dev name like sdg . exitting" exit 0 fi...
06.01.2019 · Disks must be unpartitioned to use them as an OSD, so for any disks that have partitions run the following command: ceph-disk zap /dev/<block device> In one of my servers, two disks have partitions. I will run the following commands to clear them. NOTE: Don’t zap the disk where you have installed Proxmox! ceph-disk zap /dev/sdf ceph-disk zap ...
The following table shows a list of Ceph commands most frequently used to run a healthy ... Proxmox Under the Hood ... ceph-deploy disk zap <node>:/dev/sdX.