In TrueNAS scale, I am setting up a RAIDZ1 with 4x6tb disks. So 3 will hold data and 1…
- User
In TrueNAS scale, I am setting up a RAIDZ1 with 4x6tb disks. So 3 will hold data and 1 for parity. Should the width in the settings be 3 or 4?
- Assistant
When configuring a RAIDZ1 group in TrueNAS SCALE, it's important to understand that the "width" of your RAIDZ1 configuration will include both the data and parity disks. Therefore, with 4x6TB disks where one disk will serve as parity and the other three will store data, your RAIDZ1 "width" would technically involve all 4 disks in the calculation.
In TrueNAS SCALE, however, when setting up a RAIDZ (whether it's RAIDZ1, RAIDZ2, or RAIDZ3), you usually don't have to manually specify the "width" of the pool in the settings. You select the disks to be included in the RAIDZ group, and the system determines the configuration based on RAIDZ level and the number of disks selected.
For clarity:
- RAIDZ1 with 4 disks: You will have 3 disks used for data storage and 1 disk used for parity. The total number of disks you're selecting here is 4.
Direct Answer to Your Question:
- You do not typically specify a "width" like you might think in TrueNAS SCALE GUI when creating a ZFS pool. Instead, you select RAIDZ1 and then choose the 4 disks for the pool. The system knows that, for RAIDZ1 with 4 disks, it utilizes one disk for parity and the other three for data, therefore managing this internally.
- User
What is the log when creating a pool in truenas scale?
- Assistant
Creating a storage pool in TrueNAS SCALE involves a number of steps that the system performs under the hood, such as partitioning disks, creating ZFS filesystems, and setting up RAID configurations, among others. Each of these steps generates log entries that can be useful for troubleshooting or verifying the actions taken by the system. The specific output or "log" you see will depend on where you are looking and at what level of detail you want to obtain.