[node-patches] Change in ovirt-node[master]: Unmount partitions before we mkfs them

fabiand at redhat.com fabiand at redhat.com
Mon Sep 22 14:49:24 UTC 2014


Fabian Deutsch has submitted this change and it was merged.

Change subject: Unmount partitions before we mkfs them
......................................................................


Unmount partitions before we mkfs them

It seems that some partitions get held by EL7. They don't appear
in mtab, /proc/mounts, or any other location, but siphoning off
mkfs output shows it cowardly refusing because the partition is
mounted. Unmount before formatting, just in case.

Change-Id: Ib9ad90f7876137ec08f840e4b4cd649d55fe3f0e
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1095081
Signed-off-by: Ryan Barry <rbarry at redhat.com>
---
M src/ovirtnode/ovirtfunctions.py
M src/ovirtnode/storage.py
2 files changed, 6 insertions(+), 2 deletions(-)

Approvals:
  Fabian Deutsch: Looks good to me, approved
  Ryan Barry: Verified



-- 
To view, visit http://gerrit.ovirt.org/33088
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib9ad90f7876137ec08f840e4b4cd649d55fe3f0e
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Ryan Barry <rbarry at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: Ryan Barry <rbarry at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the node-patches mailing list