Project

General

Profile

Actions

Bug #5211

closed

ceph-disk prepare: list_partitions() shouldn't return disks

Added by Alexandre Marangone almost 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
High
Category:
-
Target version:
-
% Done:

0%

Source:
Support
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

# ceph-disk-prepare /dev/sda
ceph-disk: Error: Device is mounted: /dev/sdak1

list_partitions('/dev/sda') will on my server return:
/dev/sdaa
/dev/sdab
/dev/sdac
/dev/sdad
/dev/sdae
/dev/sdaf
/dev/sdag
/dev/sdai
/dev/sdah
/dev/sdaj
/dev/sdak
/dev/sdak1

Actions

Also available in: Atom PDF