From owner-freebsd-stable@FreeBSD.ORG Mon May 24 18:49:51 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F36531065670 for ; Mon, 24 May 2010 18:49:51 +0000 (UTC) (envelope-from vrachil@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7B7158FC08 for ; Mon, 24 May 2010 18:49:51 +0000 (UTC) Received: by bwz2 with SMTP id 2so1380001bwz.13 for ; Mon, 24 May 2010 11:49:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=Z7PhWMC3BC7PAkTsgsNm3/IgiABYwn96I8p1Ueu6OiA=; b=rNzgUJBL3dRf6sUoTzF90OzQ1P/wO9vRQLok36+MY0g58afiAh41aptMYzqQrw7ohm ykNGTCGLjPsoFZkjtbBJQnfzxQDRHIYsZxKcfDvcDdmnOG6KWdDPaNlW3A3e+bnI+JAI 3jzw/qtEHN6PJs4E4sowtVDrSL7YsQIsl4hcA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=s/AzWszBTguwyHajWvGtm7Q3om1aESN0YCu4tnDCeDqaj/NifISF18JFmpwYh+5rav qbWRFUD2GNhovpOUDZm4WEki33t/zHrdpoImBSv4ZO2IRDoJd6BKcmiGWMJtrsWJa8I1 R+irgSf9oQ+xjcLlSjIkI+HhkNS3M5k6Yu4s8= Received: by 10.204.7.200 with SMTP id e8mr2641242bke.46.1274725342629; Mon, 24 May 2010 11:22:22 -0700 (PDT) Received: from [192.168.2.64] (77.49.1.2.dsl.dyn.forthnet.gr [77.49.1.2]) by mx.google.com with ESMTPS id d5sm20220664bkd.1.2010.05.24.11.22.21 (version=SSLv3 cipher=RC4-MD5); Mon, 24 May 2010 11:22:22 -0700 (PDT) Message-ID: <4BFAC47F.1090109@gmail.com> Date: Mon, 24 May 2010 21:25:03 +0300 From: Vrachnis Ilias-Dimitrios User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100330 Shredder/3.0.4 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Zpool scrub and not-root users X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 May 2010 18:49:52 -0000 On 05/24/2010 06:00 PM, Mikkel Skaerris wrote: > Hello everyone > > Im wondering if there is a way of allowing non-root users to perform a disk > scrub using zpool scrub . I've been messing around with permissions, > but no luck so far. Anyone got a clue? > > Skaerris i'm not sure, but my guess is that there isn't. scrubbing a pool can put a stress to your system. Especially if there is resilvering to be done. So even if there is a way, I'd suggest against it as a security measure. just my .02$