Hi,

 

My swap is on raidz1. Df -k and swap -l are showing almost no usage of
swap, while zfs list and zpool list are showing me 96% capacity. Which
should i believe?

 

Justin

 

# df -hk

Filesystem             size   used  avail capacity  Mounted on

/dev/dsk/c3t0d0s1       14G   4.0G    10G    28%    /

/devices                 0K     0K     0K     0%    /devices

ctfs                     0K     0K     0K     0%    /system/contract

proc                     0K     0K     0K     0%    /proc

mnttab                   0K     0K     0K     0%    /etc/mnttab

swap                   6.4G   684K   6.4G     1%    /etc/svc/volatile

objfs                    0K     0K     0K     0%    /system/object

/usr/lib/libc/libc_hwcap2.so.1

                        14G   4.0G    10G    28%    /lib/libc.so.1

fd                       0K     0K     0K     0%    /dev/fd

swap                   6.4G    28K   6.4G     1%    /tmp

swap                   6.4G    24K   6.4G     1%    /var/run

swap                   9.8G    24K   236M     1%    /swap

# swap -l

swapfile             dev  swaplo blocks   free

/dev/zvol/dsk/swap/vol 181,1       8 19922936 19687704

# zfs list

NAME                   USED  AVAIL  REFER  MOUNTPOINT

swap                  9.61G   236M  24.5K  /swap

swap/vol              9.61G   236M  9.61G  -

# zpool list

NAME                    SIZE    USED   AVAIL    CAP  HEALTH     ALTROOT

swap                     20G   19.2G    791M    96%  ONLINE     -

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

Reply via email to