# uname -a
SunOS sol1 5.10 Generic_147148-26 i86pc i386 i86pc
# mkfile 200m disk0
# mkfile 200m disk1
# mkfile 200m disk2
# mkfile 200m disk3
# zpool list
NAME SIZE ALLOC FREE CAP HEALTH ALTROOT
labpool 780M 120K 780M 0% ONLINE -
rpool 31.8G 10.3G 21.4G 32% ONLINE -
# mkfile 200m disk4
# mkfile 200m disk5
# mkfile 200m disk6
# mkfile 200m disk7
# zpool add labpool raidz disk4 disk5 disk6 disk7
# zpool list
NAME SIZE ALLOC FREE CAP HEALTH ALTROOT
labpool 1.52G 168K 1.52G 0% ONLINE -
rpool 31.8G 11.1G 20.6G 35% ONLINE -
# zfs list labpool
NAME USED AVAIL REFER MOUNTPOINT
labpool 97.2K 1.11G 44.9K /labpool
# df -h /labpool
Filesystem size used avail capacity Mounted on
labpool 1.1G 45K 1.1G 1% /labpool
Now we try file system compression
# zfs create labpool/zman
# df -h /labpool/zman
Filesystem size used avail capacity Mounted on
labpool/zman 1.1G 45K 1.1G 1% /labpool/zman
# zfs set compression=gzip labpool/zman
# cp -rp /usr/share/man/man1 /labpool/zman
# du -sh /usr/share/man/man1 /labpool/zman
6.7M /usr/share/man/man1
785K /labpool/zman
# zfs get all labpool
NAME PROPERTY VALUE SOURCE
labpool type filesystem -
labpool creation Tue Apr 15 9:53 2014 -
labpool used 2.82M -
labpool available 1.11G -
labpool referenced 46.4K -
labpool compressratio 2.80x -
labpool mounted yes -
labpool quota none default
labpool reservation none default
labpool recordsize 128K default
labpool mountpoint /labpool default
labpool sharenfs off default
labpool checksum on default
labpool compression off default
labpool atime on default
labpool devices on default
labpool exec on default
labpool setuid on default
labpool readonly off default
labpool zoned off default
labpool snapdir hidden default
labpool aclmode discard default
labpool aclinherit restricted default
labpool canmount on default
labpool shareiscsi off default
labpool xattr on default
labpool copies 1 default
labpool version 5 -
labpool utf8only off -
labpool normalization none -
labpool casesensitivity mixed -
labpool vscan off default
labpool nbmand off default
labpool sharesmb off default
labpool refquota none default
labpool refreservation none default
labpool primarycache all default
labpool secondarycache all default
labpool usedbysnapshots 0 -
labpool usedbydataset 46.4K -
labpool usedbychildren 2.77M -
labpool usedbyrefreservation 0 -
labpool logbias latency default
labpool sync standard default
labpool rekeydate - default
labpool rstchown on default
Are you looking to make money from your websites/blogs by popup advertisments?
ReplyDeleteIn case you do, have you ever used Propeller Ads?