From owner-freebsd-bugs@FreeBSD.ORG Tue Aug 28 15:10:02 2007 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFCE316A41B for ; Tue, 28 Aug 2007 15:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 755F513C45B for ; Tue, 28 Aug 2007 15:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l7SFA2EX061345 for ; Tue, 28 Aug 2007 15:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l7SFA2R8061344; Tue, 28 Aug 2007 15:10:02 GMT (envelope-from gnats) Resent-Date: Tue, 28 Aug 2007 15:10:02 GMT Resent-Message-Id: <200708281510.l7SFA2R8061344@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alex Rickabaugh Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3B0C16A418 for ; Tue, 28 Aug 2007 15:07:05 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id D2C9613C465 for ; Tue, 28 Aug 2007 15:07:05 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l7SF75tx098692 for ; Tue, 28 Aug 2007 15:07:05 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id l7SF75Dk098691; Tue, 28 Aug 2007 15:07:05 GMT (envelope-from nobody) Message-Id: <200708281507.l7SF75Dk098691@www.freebsd.org> Date: Tue, 28 Aug 2007 15:07:05 GMT From: Alex Rickabaugh To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: gnu/115900: mv between zfs filesystems on the same zpool copies instead of moves X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Aug 2007 15:10:02 -0000 >Number: 115900 >Category: gnu >Synopsis: mv between zfs filesystems on the same zpool copies instead of moves >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Aug 28 15:10:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Alex Rickabaugh >Release: 7.0-CURRENT-200706 >Organization: >Environment: FreeBSD zebra.moo.gotnull.net 7.0-CURRENT-200706 FreeBSD 7.0-CURRENT-200706 #0: Sun Jun 3 18:41:02 UTC 2007 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: Bug/problem with mv: When I attempt to mv a directory/file between two zfs filesystems on the same zpool, mv copies the data between them instead of moving the files by updating metadata. I'm not sure whether this is intended behavior or something that can/should be optimized. >How-To-Repeat: create a zpool and a filesystem within that zpool create a file with a large amount of data in the zpool root mv the file to the filesystem directory within the zpool mv will copy the data instead of moving it >Fix: >Release-Note: >Audit-Trail: >Unformatted: