sparse file issue?, dd(1) works well but tar(1) not on different partition

From: Daichi GOTO <daichi_at_ongs.co.jp>
Date: Fri, 23 Jan 2009 16:13:13 +0900
Hi sparse guys (?)

I have been wondering about sparse file transportation between different
partitions on -current. For example,

   /localapps/qemu/ on local disk (UFS2)
   /nfshome/user/ on NFS (UFS2)

   /localapps/qemu/disk0image  20GB qemu diskimage sparsed file

then, follow operation works well.

   # cd /localapps/qemu/
   # tar cpf - disk0image | tar xpf - -C /nfshome/user/
   # cd /nfshome/user/
   # dd if=disk0image of=disk0image-sparse conv=sparse

But

   # cd /localapps/qemu/
   # tar cpf - disk0image | tar xpf - -S -C /nfshome/user/

gets follow error message.

   # tar cpf - disk0image | tar xpf - -S -C /nfshome/user/
   disk0image: Write request too large
   tar: Error exit delayed from previous errors.
   #

tar(1) cannot do sparse output between different partations?
Have I missed something important point?  If you have any ideas,
teach me.

Thanks :)

-- 
   Daichi GOTO, http://people.freebsd.org/~daichi
Received on Fri Jan 23 2009 - 06:13:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:40 UTC