Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Aug 2007 15:07:05 GMT
From:      Alex Rickabaugh <alx@alxandria.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   gnu/115900: mv between zfs filesystems on the same zpool copies instead of moves
Message-ID:  <200708281507.l7SF75Dk098691@www.freebsd.org>
Resent-Message-ID: <200708281510.l7SFA2R8061344@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708281507.l7SF75Dk098691>