Re: [zfs-discuss] Possible ZFS problem

2011-08-14 Thread Sven Kirmess
I've noticed strange effects between ZFS compression and GNU tar 1.17. Take a look at this forum post: http://forums.zmanda.com/showthread.php?t=3792 ___ zfs-discuss mailing list zfs-discuss@opensolaris.org

[zfs-discuss] Possible ZFS problem

2011-08-13 Thread andy thomas
We are using ZFS on a Sun E450 server (4 x 400 MHz CPU, 1 Gb memory, 18 Gb system disk and 19 x 300 Gb disks running OSOL snv 134) for archive storage where speed is not important. We have 2 RAID-Z1 pools of 8 disks plus one spare disk shared between the two pools and this has apparently

Re: [zfs-discuss] Possible ZFS problem

2011-08-13 Thread Bob Friesenhahn
On Sat, 13 Aug 2011, andy thomas wrote: However, one of our users recently put a 35 Gb tar.gz file on this server and uncompressed it to a 215 Gb tar file. But when he tried to untar it, after about 43 Gb had been extracted we noticed the disk usage reported by df for that ZFS pool wasn't

Re: [zfs-discuss] Possible ZFS problem

2011-08-13 Thread andy thomas
On Sat, 13 Aug 2011, Bob Friesenhahn wrote: On Sat, 13 Aug 2011, andy thomas wrote: However, one of our users recently put a 35 Gb tar.gz file on this server and uncompressed it to a 215 Gb tar file. But when he tried to untar it, after about 43 Gb had been extracted we noticed the disk usage

Re: [zfs-discuss] Possible ZFS problem

2011-08-13 Thread Joerg Schilling
andy thomas a...@time-domain.co.uk wrote: What 'tar' program were you using? Make sure to also try using the Solaris-provided tar rather than something like GNU tar. I was using GNU tar actually as the original archive was created on a Linux machine. I will try it again using Solaris

Re: [zfs-discuss] Possible ZFS problem

2011-08-13 Thread andy thomas
On Sat, 13 Aug 2011, Joerg Schilling wrote: andy thomas a...@time-domain.co.uk wrote: What 'tar' program were you using? Make sure to also try using the Solaris-provided tar rather than something like GNU tar. I was using GNU tar actually as the original archive was created on a Linux

Re: [zfs-discuss] Possible ZFS problem

2011-08-13 Thread Joerg Schilling
andy thomas a...@time-domain.co.uk wrote: So it is GNU tar that is broken and not Solaris tar? I always thought it was the other way round. Thanks for letting me know. Before autoumn 2004, Sun tar had several problems with standard compliance but then it has been tested against tartest(1)

Re: [zfs-discuss] Possible ZFS problem

2011-08-13 Thread Joerg Schilling
andy thomas a...@time-domain.co.uk wrote: I've tended to use GNU tar on Solaris as apparently there was a bug in the Solaris version of tar from very log ago where it would not extract files properly from tarfiles created on non-Solaris systems. Maybe this long-standing bug has been fixed

Re: [zfs-discuss] Possible ZFS problem

2011-08-13 Thread Roy Sigurd Karlsbakk
GNU tar does not follow the standard when creating archives, so Sun tar may be unable to unpack the archive correctly. But GNU tar makes strange things when unpacking symlinks. I recommend to use star, it understands GNU tar archives. Even if you used some wierd tar program, the I/O