Ronny Kopischke
2007-Jun-14 12:22 UTC
[zfs-discuss] different filesystem size after raidz creation
Hi, after creation of a raidz2 pool with # zpool create -f mypool raidz2 c1t1d0 c1t2d0 c1t3d0 c1t4d0 c1t5d0 the commands zpool list and df showing different sizes for the created fs # zpool list NAME SIZE USED AVAIL CAP HEALTH ALTROOT mypool 340G 194K 340G 0% ONLINE - # df -h mypool 199G 43K 199G 1% /mypool What can explain this? Thanks Ronny -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 5659 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20070614/3a76f819/attachment.bin>
Marko Milisavljevic
2007-Jun-14 16:54 UTC
[zfs-discuss] different filesystem size after raidz creation
zpool shows space of all underlying disks - so a 5 x 100gb raidz2 would show as 500gb. However, only 300gb is usable from filesystem perspective, so zfs list and df will consider this a 300gb volume. On 6/14/07, Ronny Kopischke <roko at gfz-potsdam.de> wrote:> > Hi, > > after creation of a raidz2 pool with > > # zpool create -f mypool raidz2 c1t1d0 c1t2d0 c1t3d0 c1t4d0 c1t5d0 > > the commands zpool list and df showing different sizes for the created fs > > # zpool list > NAME SIZE USED AVAIL CAP HEALTH ALTROOT > mypool 340G 194K 340G 0% ONLINE - > > # df -h > mypool 199G 43K 199G 1% /mypool > > What can explain this?-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20070614/7eb30075/attachment.html>
Eric Schrock
2007-Jun-14 16:56 UTC
[zfs-discuss] different filesystem size after raidz creation
See: 6308817 discrepancy between zfs and zpool space accounting - Eric On Thu, Jun 14, 2007 at 02:22:35PM +0200, Ronny Kopischke wrote:> Hi, > > after creation of a raidz2 pool with > > # zpool create -f mypool raidz2 c1t1d0 c1t2d0 c1t3d0 c1t4d0 c1t5d0 > > the commands zpool list and df showing different sizes for the created fs > > # zpool list > NAME SIZE USED AVAIL CAP HEALTH ALTROOT > mypool 340G 194K 340G 0% ONLINE - > > # df -h > mypool 199G 43K 199G 1% /mypool > > What can explain this? > > > Thanks Ronny >> _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss-- Eric Schrock, Solaris Kernel Development http://blogs.sun.com/eschrock