EasyManuals Logo

ORANGE Pi 3B User Manual

ORANGE Pi 3B
366 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #295 background imageLoading...
Page #295 background image
range Pi User Manual Copyright reserved by Shenzhen Xunlong Software Co., Ltd
287
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 5.04367 s, 213 MB/s
3) Then use the following command to copy 1000 random files of size 1G
root@orangepi:/pool1$ for ((i=0; i<1000; i++)); do sudo cp test.1g $i.test.1g; done
4) Then use du -lh to see that there are currently 1002G of data in the pool, but in fact
the size of the ZFS pool is only 504GB (the total capacity of SSD+U disk), which cannot
hold such a large amount of data
root@orangepi:/pool1$ du -lh
1002G
5) Then use the zpool list command to see that only 1.01G is actually occupied, because
these 1001 files are all duplicates, indicating that the data deduplication function is
effective.
3.31.4. Test the data compression function of ZFS
1) Because the stored data is different, the disk space saved by compression will also be
different, so we choose to compress relatively large plain text files for compression
testing, and execute the following commands to pack the /var/log/ and /etc/ directories
into a tarball
orangepi@orangepi:~$ cd /pool1/
root@orangepi:/pool1$ sudo tar -cf text.tar /var/log/ /etc/
2) Then the file size that can be seen through the ls -lh command and the space occupied
in the ZFS pool are both 27M
3) Then we enable compression in the ZFS pool pool1
root@orangepi:/pool1$ sudo zfs set compression=lz4 pool1
4) Then execute the following command again to package the /var/log/ and /etc/

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ORANGE Pi 3B and is the answer not in the manual?

ORANGE Pi 3B Specifications

General IconGeneral
EthernetGigabit Ethernet
BluetoothBluetooth 5.0
USB2x USB 2.0, 1x USB 3.0
Power Supply5V/3A via USB-C
RAM4GB LPDDR4
StorageMicroSD card slot
WirelessWi-Fi 5 (802.11ac)
Video OutputHDMI 2.0
Operating SystemAndroid