Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Apr 2007 00:56:50 +0400
From:      Alexey Tarasov <master@preved.cn>
To:        Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc:        current@freebsd.org
Subject:   ZFS and mv utility
Message-ID:  <C8DC4B59-C431-4404-8E15-E09412E1368B@preved.cn>

next in thread | raw e-mail | index | archive | help
Hello Pawel.

I have a question about ZFS and mv utility. I have the following pool  
configuration:

NAME                          USED  AVAIL  REFER  MOUNTPOINT
storage                      62,1G   121G    26K  /storage
storage/music                7,95G   121G  7,95G  /storage/music
storage/oldhome              47,5G   121G  47,5G  /storage/oldhome

I made the following operation: mv /storage/oldhome/lexa/music/* / 
storage/music and that operation took a very long time. It seems that  
MV copies files first from storage/oldhome/lexa/musc to storage/music  
and then deletes them from old location. But I move files within one  
storage pool and it should work as fast, as it works on UFS  
partition. Does it need to be modified for compatibility with ZFS?

Thanks,

--
Alexey Tarasov
master@preved.cn





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C8DC4B59-C431-4404-8E15-E09412E1368B>