hw:qnap
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
hw:qnap [2016-08-01 23:58] – created root | hw:qnap [2021-11-29 00:16] (current) – limit info Manuel Frei | ||
---|---|---|---|
Line 14: | Line 14: | ||
# crontab -l | # crontab -l | ||
</ | </ | ||
+ | |||
+ | ===== Enable SSH TCP Forwarding ===== | ||
+ | |||
+ | Set config: | ||
+ | < | ||
+ | setcfg LOGIN "SSH AllowTcpForwarding" | ||
+ | </ | ||
+ | |||
+ | sshd have to be restarted. On QNAP / | ||
+ | |||
+ | |||
+ | Check if settings are set and active: | ||
+ | < | ||
+ | getcfg LOGIN "SSH AllowTcpForwarding" | ||
+ | grep " | ||
+ | </ | ||
+ | |||
+ | ===== Resize over 16TB ===== | ||
+ | |||
+ | I once ran into the problem, that I couldn' | ||
+ | |||
+ | The problem is shallowly described here: [[https:// | ||
+ | |||
+ | They say, you can extend the volume over 16TB if you created the volume with firmware 4.4.3 or later but they don't say, how to figure that out. | ||
+ | |||
+ | So, what's the reason for this limit? It's the file system. The maximum number of blocks on ext4 was 2^32 (4294967296). Let's figure out, in what size this results. | ||
+ | |||
+ | Check the block size. | ||
+ | < | ||
+ | [~] # tune2fs -l / | ||
+ | Block size: 4096 | ||
+ | </ | ||
+ | 4096 means 4096 bytes. | ||
+ | |||
+ | Let's multiply this with the maximum number of blocks (2^32) and get the size in tera bytes. | ||
+ | < | ||
+ | >>> | ||
+ | 16.0 | ||
+ | </ | ||
+ | |||
+ | 16TB is the maximum size of an ext4 file system with a block size of 4KB. But why can you delete the volume and create it with a bigger size than 16TB? | ||
+ | |||
+ | Let's check the filesystem features of the newly created volume. | ||
+ | < | ||
+ | [~] # tune2fs -l / | ||
+ | Filesystem features: | ||
+ | </ | ||
+ | |||
+ | The relevant feature is " | ||
+ | |||
+ | https:// | ||
+ | >64bit: Enables the file system to be larger than 2^32 blocks. | ||
+ | |||
+ | This file system feature wasn't available in the kernel versions before firmware versions before 4.4.3. |
hw/qnap.1470088700.txt.gz · Last modified: 2016-08-01 23:58 by root