From: Ian Jackson Subject: [OSSTEST PATCH 0/6] Use mkfs rather than resize2fs for build fs Date: Wed, 13 May 2015 12:15:16 +0100 Message-ID: <1431515722-5016-1-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YsUdN-0006TS-MF for xen-devel@lists.xenproject.org; Wed, 13 May 2015 11:15:29 +0000 List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: Ian Campbell List-Id: xen-devel@lists.xenproject.org At the moment, when we set up a machine for builds, we: - install Debian, leaving plenty of space in the root LVM VG - install the build tools - resize the root fs to make room for the builds This fs resize runs (mostly) in the background, alongside the first build(s). This is, it turns out, not a good idea: fs resize is massively slower than mkfs (so takes a long time) and very demanding of IO bandwidth (so it makes builds run more slowly). We have worked around this slowness to an extent, for example in fbd803f7 "ts-rumpuserxen-build: Double the build timeout" and ee31a32a "ts-xen-build-prep: Run the backgrounded resize2fs with ionice". This series: - reverts our previous attempt to deal with this problem with ionice - reverts the (ancient) arrangements to resize in the background - instead, arranges to lvcreate and mkfs a new fs for /home/osstest (and copy the existing contents into it).