From owner-freebsd-questions@freebsd.org Wed Mar 25 03:27:30 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3783C2738FD for ; Wed, 25 Mar 2020 03:27:30 +0000 (UTC) (envelope-from nick.papadonis.ml@gmail.com) Received: from mail-qv1-xf41.google.com (mail-qv1-xf41.google.com [IPv6:2607:f8b0:4864:20::f41]) (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 48nD7d6TMTz3Jht for ; Wed, 25 Mar 2020 03:27:09 +0000 (UTC) (envelope-from nick.papadonis.ml@gmail.com) Received: by mail-qv1-xf41.google.com with SMTP id f7so343227qvr.11 for ; Tue, 24 Mar 2020 20:27:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=CvcgeEtv9hLF6718gRnUsz5YlHjr0cbLJqx2DbzKU04=; b=QRCS6NyqAPr6h34szYNeb8ZZLts+d9qXmH+TwLIRcXeUP9WaJvw6GFEVXWrdUqkaOR 1T4+jRhL9ysA1PMaME+MG6iTldlu+GqqRWcUXTmk7CeVZPpcbRC1LnElNcOsSEibOmdl StLh7Z0ktDka75HwFe0uQm+s8rfykTEX4G3umK7rjSlABTZnSKII9VFAYzraZlImEU7V Az5SzhetqSI00/LwH3yNm4w87/dGIxXpREO5Y9ayqe8U0bYi9sYmoGWCpogxmJ/8znzz ctBny3sJ5v8/FVsqBsKxjRxpmcSMhrL+ktN2sCho6xl1TTzpGqIJaQfiZZQWDG/URK9S HrcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=CvcgeEtv9hLF6718gRnUsz5YlHjr0cbLJqx2DbzKU04=; b=Cbxm/TMlC68TzsA68TjSxpN53qf005QMN+558DYA/F/DodMu/6NyT3x/2pUSyFXS+X 30rzy0uYLuBfc8Kkx/M/xtUFPZfb/UrI6F3ipa3JVfhaD1dQMNhDZ+LDSce1ZI8xyDZt etbqKxbTZi0B18hIMHcJ/qSFjHHdpSGH3AbgZn1PL6BjPwL9J8hXCGleHJPIBLF/Kens rwM+JKjknwQdt33dEuluygS2jjJPbVZIyZ8PZL9ZtIKca+0xfvfpJW4/U0oiQCWoc1bz 5IxuzNLoaq3UlU1PW8u5WxVJFRWlUVDO+Lf0kjKhcT//KtCR9Uwjd47bYXZy1ZJEvfrM LYQA== X-Gm-Message-State: ANhLgQ3R+V02SA+MG27Za705qMQzkUr5545nbZb/69VU7ZKFJkX87kD0 9q6imk0VWofkVhA8SH6M11vUhlMZsPk= X-Google-Smtp-Source: ADFU+vt88lzDxiygseg5iLgLtO2if39+q2nqPH0yBXPm/6bMN5iOlPptmTjaav75ehQCkhLwISGPCw== X-Received: by 2002:a0c:9e68:: with SMTP id z40mr1278254qve.242.1585106819399; Tue, 24 Mar 2020 20:26:59 -0700 (PDT) Received: from ?IPv6:2601:18c:c900:5070:cc56:bcd2:d92f:89e2? ([2601:18c:c900:5070:cc56:bcd2:d92f:89e2]) by smtp.gmail.com with ESMTPSA id l188sm14340475qkc.106.2020.03.24.20.26.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Mar 2020 20:26:59 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: vboxvfs file integrity problems? From: Nicholas Papadonis In-Reply-To: Date: Tue, 24 Mar 2020 23:26:55 -0400 Cc: Mario Lobo , Manish Jain Content-Transfer-Encoding: quoted-printable Message-Id: References: <0438AA11-06BB-4D8B-BDF9-8F15E785882D@gmail.com> <27A6356A-AC35-4526-898B-88C87FAC703B@gmail.com> To: "freebsd-questions@freebsd.org" X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 48nD7d6TMTz3Jht X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=QRCS6Nyq; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of nickpapadonisml@gmail.com designates 2607:f8b0:4864:20::f41 as permitted sender) smtp.mailfrom=nickpapadonisml@gmail.com X-Spamd-Result: default: False [-1.50 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MV_CASE(0.50)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; 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)[-0.999,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; SPAMHAUS_AUTHBL_RECEIVED_FAIL(0.00)[2.e.9.8.f.2.9.d.2.d.c.b.6.5.c.c.0.7.0.5.0.0.9.c.c.8.1.0.1.0.6.2.khpj7ygk5idzvmvt5x4ziurxhy.authbl.dq.spamhaus.net:query timed out]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[1.4.f.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]; RBL_BLOCKLISTDE_FAIL(0.00)[1.4.f.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.bl.blocklist.de:query timed out]; IP_SCORE(0.00)[ip: (0.00), ipnet: 2607:f8b0::/32(-0.38), asn: 15169(-0.48), country: US(-0.05)]; RCVD_TLS_ALL(0.00)[]; RECEIVED_SPAMHAUS_FAIL(0.00)[2.e.9.8.f.2.9.d.2.d.c.b.6.5.c.c.0.7.0.5.0.0.9.c.c.8.1.0.1.0.6.2.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net:query timed out] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2020 03:27:30 -0000 I compared the results between configurations of same directory tree. = Using mounted filesystem with vboxvfs, using filesystem directly on Mac, = using NFS mounted filesystem. All of the same data. It appears the results over the vboxvfs driver mounted filesystem differ = in that vboxvfs mount is missing the =E2=80=9Cnlink=3DX=E2=80=9D field. = size is also missing, but I=E2=80=99m assuming that=E2=80=99s expected = as it=E2=80=99s missing on the nfs mount as well. $ diff mtreenfs-mount.txt mtreeonmac.txt|more < branches type=3Ddir nlink=3D2 time=3D1547439167.000000000 --- > branches type=3Ddir nlink=3D2 size=3D64 = time=3D1547439167.000000000 diff mtreenfs-mount.txt mtree-fbsd-vboxvfs.txt |less < branches type=3Ddir nlink=3D2 time=3D1547439167.000000000 --- > branches type=3Ddir time=3D1547439167.000000000 Perhaps the missing nlink is the problem? Thanks > On Mar 24, 2020, at 1:05 PM, Nicholas Papadonis = wrote: >=20 > vboxvfs works to mount the directory. I can read and write files, = however I=E2=80=99m observing integrity issues of the mount point. >=20 > Does anyone know of an application to test file integrity over the = mount? >=20 > Files in the mount subpath that are accessible from the host and = Debian are not accessible in FreeBSD via vboxvfs. Oddly, command line = completion will show the directory, however the directory is missing = from =E2=80=98ls -l=E2=80=99. Appreciate any guidance on how to test = the integrity of vboxvfs. >=20 > Thanks >=20 >=20 >> On Mar 24, 2020, at 12:34 PM, Nicholas Papadonis = wrote: >>=20 >> Solved. >>=20 >> /etc/fstab: >> Source /mnt/srcr vboxvfs rw,uid=3D1001 0 = 0 >>=20 >>> On Mar 24, 2020, at 12:12 PM, Nicholas Papadonis = wrote: >>>=20 >>> I updated to the latest and it works! >>>=20 >>> $ sudo mount -t vboxvfs -o uid=3D1001 Source /mnt/srcr >>>=20 >>> $ uname -a >>> FreeBSD fbsd 12.1-RELEASE FreeBSD 12.1-RELEASE r354233 GENERIC = amd64 >>>=20 >>> The only issue is the mount points are not made permanent according = to the Shared Folders dialog in VirtualBox. >>>=20 >>> I tried editing fstab, however the changes were lost. Does anyone = know where to place the mount options? >>>=20 >>> Thanks >>>=20 >>>> On Mar 23, 2020, at 7:33 PM, Manish Jain = wrote: >>>>=20 >>>> Another correction : the type should not be vboxvfs, rather vboxsf = : >>>>=20 >>>> sudo mount -t vboxsf -o uid=3D1000 Source /mnt/srcr >>>>=20 >>>>=20 >>>> On 24/03/2020 04:54, Manish Jain wrote: >>>>> On 24/03/2020 03:42, Nicholas Papadonis wrote: >>>>>> sudo mount -t vboxvfs Source /mnt/srcr >>>>> I think that command is wrong. Try: >>>>> sudo mount -t vboxvfs -o uid=3D1000 Source /mnt/srcr >>>>> (Presuming your non-root user is UID 1000) >>>>> Regards, >>>>> Manish Jain >>>=20 >>=20 >=20