meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
linux:fs:zfs [2015/03/25 22:36] niziaklinux:fs:zfs [2020/04/19 14:25] niziak
Line 26: Line 26:
 </code> </code>
  
-====== ZFS implementations ======+===== ZFS implementations =====
  
 ZFS-Fuse 0.7 is using old pool version 23, where [[http://zfsonlinux.org|ZFSonLinux]] is using pool version 28. ZFS-Fuse 0.7 is using old pool version 23, where [[http://zfsonlinux.org|ZFSonLinux]] is using pool version 28.
Line 35: Line 35:
 ===== Creating ZFS dataset ===== ===== Creating ZFS dataset =====
  
-<code>+<code bash>
 zpool create INBOX /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 zpool create INBOX /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3
 </code> </code>
  
-<code>+<code bash>
 # zpool list # zpool list
 NAME    SIZE  ALLOC   FREE    CAP  DEDUP  HEALTH  ALTROOT NAME    SIZE  ALLOC   FREE    CAP  DEDUP  HEALTH  ALTROOT
Line 45: Line 45:
 </code> </code>
  
-<code>+<code bash>
 # zpool status # zpool status
   pool: INBOX   pool: INBOX
Line 64: Line 64:
 Dataset "INBOX" is also automatically created based on zpool name "INBOX". It is mounted as /INBOX Dataset "INBOX" is also automatically created based on zpool name "INBOX". It is mounted as /INBOX
  
-<code>+<code bash>
 # zfs list # zfs list
 NAME    USED  AVAIL  REFER  MOUNTPOINT NAME    USED  AVAIL  REFER  MOUNTPOINT
Line 188: Line 188:
 |-- |--
 |squashfs    |               | 365 MB             | |squashfs    |               | 365 MB             |
- 
  
  
Line 195: Line 194:
  
  
-====== References: ======+ 
 +<code bash> 
 +zfs get compressratio 
 +</code> 
 + 
 +===== References: =====
 [[http://docs.oracle.com/cd/E19253-01/819-5461/6n7ht6qu6/index.html]] [[http://docs.oracle.com/cd/E19253-01/819-5461/6n7ht6qu6/index.html]]
 [[https://wiki.freebsd.org/ZFSQuickStartGuide]] [[https://wiki.freebsd.org/ZFSQuickStartGuide]]