From owner-freebsd-stable@freebsd.org Wed Jun 5 15:03:56 2019 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 325E215B090B for ; Wed, 5 Jun 2019 15:03:56 +0000 (UTC) (envelope-from mario.olofo@gmail.com) Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5B72486C11 for ; Wed, 5 Jun 2019 15:03:55 +0000 (UTC) (envelope-from mario.olofo@gmail.com) Received: by mail-qt1-x832.google.com with SMTP id l3so18329825qtj.5 for ; Wed, 05 Jun 2019 08:03:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6LlfWZcWu7u0zrxecZn4fpC4+ysDPPtyKMaWNnswFAk=; b=NIxyjmbzp/LOK8tq8uugzuCTsVP/JGaxsgjvoMR5fjKNdn1wQ46gHsQCk6auHr2aWb bddwiiCZAJ0GLWMswXAb5rvmW2R8hyJhI/qvrIxm4IDKM2u0ecQLwhS0/3kyDhJLDmeT yVVRNErdqxXSRLy0i4wGV3xhAueafWj1JCbvxpOp4UMQOTgAN06j6dgaHi6g7IFCzI+Q oqw3EJgUtthmohUE5n00pIYxin+wtEKSYQ9LYFrLVILTTtfIuDKiiYBpoNjOTJhR1DOU hyphtfhn533H4DKMhIxbUASnxexffUBpz8+oEeqq56CBwl/Qz6x+5x8g+9op+G1LJbyV pNHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6LlfWZcWu7u0zrxecZn4fpC4+ysDPPtyKMaWNnswFAk=; b=P/fj5CpnQuVWLyZnLxN5AgM0YIxYi+BH7VassKNJZyaASi/rl9ALDs2PUY5/fLeHKl N6FSYGiwunqR7Gavh5YK7OnjM/EZQ+9R+qxHP5rtMFBTKTsqYbTv4SycDsb+kJzGCI/U mHaIkMeDEJkzyCHkXfpi48DMmYOWlMUWJiIs2rxrEuKRk5bQYM778vSJirQe5VLLCrXz q3cG7wr2qIOxQAkuHCoQAQpu4kh0zZYGYvSW+kbgF4QRJs3nTtlnQo0cmSHKCqt320Gq E2pO+Elfcx1pcLecWjCAgI8S4WRKndRN6oqTQuIrgv+cU2VuuFx1RZrvO0u/uoS2RvJV zYtw== X-Gm-Message-State: APjAAAXgtgl3G8VQE4dfIHVMsmCA2gSbR9QtOI65Q9m+gEheu/WWpCFw 6nzc9o7ircpYlYSKdtYNUwcGcBILG09UVgkpHR0= X-Google-Smtp-Source: APXvYqwyGKS/PlbvE3DymLdbW4/3VzD5Ly3srCsA5LYVyk0sGcMkVBQ8SkwDwVEGHbQ/iSBvq1KQlQykWmNov1Dt3kg= X-Received: by 2002:a0c:acd2:: with SMTP id n18mr34723877qvc.9.1559747034306; Wed, 05 Jun 2019 08:03:54 -0700 (PDT) MIME-Version: 1.0 References: <00ea216052cd77e568ac6d3b21a53e4d@dweimer.net> In-Reply-To: <00ea216052cd77e568ac6d3b21a53e4d@dweimer.net> From: Mario Olofo Date: Wed, 5 Jun 2019 12:03:43 -0300 Message-ID: Subject: Re: ZFS - Problem removing files after changing the compression type To: dweimer@dweimer.net Cc: freebsd-stable@freebsd.org X-Rspamd-Queue-Id: 5B72486C11 X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=NIxyjmbz; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of marioolofo@gmail.com designates 2607:f8b0:4864:20::832 as permitted sender) smtp.mailfrom=marioolofo@gmail.com X-Spamd-Result: default: False [-7.01 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-1.00)[-0.995,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2.3.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-3.01)[ip: (-9.44), ipnet: 2607:f8b0::/32(-3.23), asn: 15169(-2.30), country: US(-0.06)]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2019 15:03:56 -0000 Hello, In the logs I don't have any output about problems with the filesystem. Indeed I had a corrupted file after learning about the zpool status -v, but the ones that I can't delete didn't show up. Searching on the web I found that running the command #echo > /path/to/undetelable/file seems to fix the file to become deletable, but Im not sure why the file was stuck in the first place... Taking advantage of the opportunity, where is the best place I can seek advice to solve issues with 3D acceleration with Intel while I have this notebook with Optimus? Thank you for the pacience, Best regards, Mario Em qua, 5 de jun de 2019 =C3=A0s 10:34, Dean E. Weimer escreveu: > On 2019-06-05 8:14 am, Mario Olofo wrote: > > Hello guys, > > > > I'm configuring a new installation of FreeBSD-12.0-RELEASE and > > installed > > with ZFS for the root file system. > > I run the command zfs set compression=3Dlz4 root, and after this, the > > system > > become a little weird. > > I tried to test some npm install to see if the compression was working > > and > > it is, but when I try to run some commands (ie. ng serve), it fails > > with > > I/O error. > > Deleted the node_modules directory and when I tried to delete the .npm > > dir, > > the system returns "Directory not empty". > > When run as sudo rm -rf, the result is "Unknown error: 122" > > > > I did something that I was not supposed to? > > In the btrfs one can change the compression on the fly without issues > > because of metadata, don't know if zfs behaves this way too. > > > > My system is a Dell G3, with a i5 8gen and an SSD on the m.2 slot > > running > > the FreeBSD (on UFS the notebook freezes and halt when I run npm > > install). > > Gentoo and Windows running on the same SSD and it's all good. > > > > Thank you, > > Best reggards, > > > > Mario > > You should be able to change ZFS compression on the fly. Old data > already written is not changed, but new writes will use the new > compression setting. I have done this before, It looks like something > else is happening I don't think the issue is related to the ZFS > compression setting. I am not familiar with npm, so I have no idea whats > going on there. Look at your dmesg output and check logs to see if the > system logged any disk access errors also check status of zpool with > zpool status. > > -- > Thanks, > Dean E. Weimer > http://www.dweimer.net/ >