Hi.

Just to report the following.

Thanks for your time.

Regards.

****************************************

Forwarded conversation
Subject: Difference in reported available space?
------------------------

From: Rodrigo E. De León Plicet <rdele...@gmail.com>
Date: Wed, May 27, 2009 at 1:00 PM
To: zfs-f...@googlegroups.com

Sorry if the following is a dumb question.

Related to the attached file, I just want to understand why, if 'zpool
list' reports 191MB available for coolpool, 'df -h|grep cool' only
shows 159MB available for coolpool?

Thanks for your time.

Regards.

----------
From: Rodrigo E. De León Plicet <rdele...@gmail.com>
Date: Sat, May 30, 2009 at 8:51 PM
To: zfs-f...@googlegroups.com

Anyone?

----------
From: Fajar A. Nugraha <fa...@fajar.net>
Date: Sun, May 31, 2009 at 5:34 AM
To: zfs-f...@googlegroups.com

Possibly upstream bug.
http://markmail.org/message/zmygvaarfvseipzx

Better ask Sun folks, as it still happens on latest opensolaris
(2009.06) as well.

--
Fajar

****************************************
r...@localhost:/# uname -a
Linux newage 2.6.24-24-generic #1 SMP Wed Apr 15 15:54:25 UTC 2009 i686 
GNU/Linux

r...@localhost:/# zpool upgrade -v
This system is currently running ZFS pool version 13.

The following versions are supported:

VER  DESCRIPTION
---  --------------------------------------------------------
 1   Initial ZFS version
 2   Ditto blocks (replicated metadata)
 3   Hot spares and double parity RAID-Z
 4   zpool history
 5   Compression using the gzip algorithm
 6   bootfs pool property
 7   Separate intent log devices
 8   Delegated administration
 9   refquota and refreservation properties
 10  Cache devices
 11  Improved scrub performance
 12  Snapshot properties
 13  snapused property
For more information on a particular version, including supported releases, see:

http://www.opensolaris.org/os/community/zfs/version/N

Where 'N' is the version number.

r...@localhost:/# for i in 1 2 3 4; do dd if=/dev/zero of=disk$i bs=1024k 
count=100; done

r...@localhost:/# du -h disk*
101M    disk1
101M    disk2
101M    disk3
101M    disk4

r...@localhost:/# zpool create coolpool mirror /disk1 /disk2

r...@localhost:/# zpool add coolpool mirror /disk3 /disk4

r...@localhost:/# zpool status
  pool: coolpool
 state: ONLINE
 scrub: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        coolpool    ONLINE       0     0     0
          mirror    ONLINE       0     0     0
            /disk1  ONLINE       0     0     0
            /disk2  ONLINE       0     0     0
          mirror    ONLINE       0     0     0
            /disk3  ONLINE       0     0     0
            /disk4  ONLINE       0     0     0

errors: No known data errors

r...@localhost:/# zpool list
NAME       SIZE   USED  AVAIL    CAP  HEALTH  ALTROOT
coolpool   191M    78K   191M     0%  ONLINE  -

r...@localhost:/# df -h|grep cool
coolpool              159M   18K  159M   1% /coolpool

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to