On Mon, Jul 12, 2021 at 04:43:49PM +0430, Hamed Bahadorzadeh via Bug reports 
for the GNU Parted disk partition editor wrote:
> Hi 
> I'm hamed. 
> 
> We're using rook to deply a Ceph cluster. Rook periodically check empty disk 
> and when it found one it prepare to be used as a ceph osd. Ceph uses Atari 
> partition table to create bluestore for it osds. 

According to this FAQ entry this is just by chance, they are not using
Atari partition tables (nor should they!) -

https://rook.io/docs/rook/v1.6/ceph-common-issues.html#unexpected-partitions-created

> The problem happens when they use parted to check if disk is partition or 
> have a partition table. 

If you are not using partitioned disks you cannot expect parted to
properly identify the disk, even if it randomly works more often than
not. If someone is depending on this as a method for detecting Ceph or
not Ceph they need to find a better way.

My suggestion would be to use GPT partition tables and a ceph related
UUID for the partition type. Or names for the partitions.

Brian


-- 
Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart




  • ... Hamed Bahadorzadeh via Bug reports for the GNU Parted disk partition editor
    • ... Brian C. Lane

Reply via email to