From 939a0f5b10afe20d804061902e8d8c0ea8ac596c Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 27 Feb 2018 00:08:17 +0100 Subject: [PATCH] Match OSD in partition name --- ceph-osd-activate-all | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceph-osd-activate-all b/ceph-osd-activate-all index 1cfdab0..8c64dfb 100755 --- a/ceph-osd-activate-all +++ b/ceph-osd-activate-all @@ -7,7 +7,7 @@ set -x tmpdir=$(mktemp -d) -for dev in $(fdisk -l | awk '$6 ~/Ceph/ { print $1 }'); do +for dev in $(fdisk -l | awk '$6 ~/Ceph OSD/ { print $1 }'); do mount "$dev" "$tmpdir" id=$(cat "${tmpdir}/whoami")