Re: RAIDZ capacity (was ZFS version 15 committed to head)
Am 17.07.2010 um 16:30 schrieb Marco van Lienen: I also posted the example of creating a test raidz pool based on 3 65Mb files. On osol there is more available space being reported by 'zfs list' on that test raidz pool When I created a similar test raidz pool also based on 3 65Mb files, 'zfs list' on my FreeBSD boxes (9.0-CURRENT amd64 and 8.0-RELEASE-p2 i386) is showing much less available space. So regardless whether we use whole disks or simply files for testing purposes, 'zfs list' on the osol system is reporting more available space. I suggest to read up on ZFS a bit more. With OpenSolaris 09.06, with three 20 GB virtual disks, I'm getting this: r...@opensolaris:~# zpool create tank raidz c8t1d0 c8t2d0 c8t3d0 r...@opensolaris:~# zpool list NAME SIZE USED AVAILCAP HEALTH ALTROOT tank 59.5G 881K 59.5G 0% ONLINE - r...@opensolaris:~# zfs list NAME USED AVAIL REFER MOUNTPOINT tank 91.2K 39.0G 25.3K /tank Which is exactly the same behavior as with FreeBSD. And of course you only get to store 40 GB worth of files on this filesystem. Stefan -- Stefan Bethke s...@lassitu.de Fon +49 151 14070811 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
RAIDZ capacity (was ZFS version 15 committed to head)
Am 17.07.2010 um 12:51 schrieb Marco van Lienen: On Sat, Jul 17, 2010 at 12:25:56PM +0200, you (Stefan Bethke) sent the following to the -current list: Am 17.07.2010 um 12:14 schrieb Marco van Lienen: # zpool list pool1 NAMESIZE USED AVAILCAP HEALTH ALTROOT pool1 5.44T 147K 5.44T 0% ONLINE - ... zfs list however only shows: # zfs list pool1 NAMEUSED AVAIL REFER MOUNTPOINT pool1 91.9K 3.56T 28.0K /pool1 I just lost the space of an entire hdd! zpool always shows the raw capacity (without redundancy), zfs the actual available capacity. I have read many things about those differences, but why then does zfs on opensolaris report more available space whereas FreeBSD does not? That would imply that my friend running osol build 117 couldn't fill up his raidz pool past the 3.56T. You didn't show us how your friends pool is set up. With RAIDZ1, the capacity of one of the devices in the pool is used for redundancy, with RAIDZ2 it's two disks worth. So three 2TB disks with RAIDZ1 gives you 4TB net capacity. If you don't care about redundancy, use a simple concatenation, i. e. don't specify mirror, raidz or raidz2 when creating the pool. Stefan -- Stefan Bethke s...@lassitu.de Fon +49 151 14070811 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: RAIDZ capacity (was ZFS version 15 committed to head)
On Sat, Jul 17, 2010 at 01:04:52PM +0200, you (Stefan Bethke) sent the following to the -current list: I have read many things about those differences, but why then does zfs on opensolaris report more available space whereas FreeBSD does not? That would imply that my friend running osol build 117 couldn't fill up his raidz pool past the 3.56T. You didn't show us how your friends pool is set up. With RAIDZ1, the capacity of one of the devices in the pool is used for redundancy, with RAIDZ2 it's two disks worth. So three 2TB disks with RAIDZ1 gives you 4TB net capacity. If you don't care about redundancy, use a simple concatenation, i. e. don't specify mirror, raidz or raidz2 when creating the pool. My friend created his raidz pool just the same way as I did: zpool create pool2 raidz c0d0 c0d1 c0d2 So just 3 dedicated drives. I also posted the example of creating a test raidz pool based on 3 65Mb files. On osol there is more available space being reported by 'zfs list' on that test raidz pool When I created a similar test raidz pool also based on 3 65Mb files, 'zfs list' on my FreeBSD boxes (9.0-CURRENT amd64 and 8.0-RELEASE-p2 i386) is showing much less available space. So regardless whether we use whole disks or simply files for testing purposes, 'zfs list' on the osol system is reporting more available space. cheers, marco pgpvoeRVwVWU8.pgp Description: PGP signature