gnu/115900: mv between zfs filesystems on the same zpool copies instead of moves

Alex Rickabaugh alx at alxandria.net
Tue Aug 28 08:10:02 PDT 2007


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


More information about the freebsd-bugs mailing list