Page 2 of 2
Re: SSD Cache
Posted: 19 Feb 2021, 18:47
by RyanYang
Hi,
Is it possible to let our engineer check it remotely? You can send an email to our tech team .
Re: SSD Cache
Posted: 19 Feb 2021, 23:29
by DiscoSi
This is maybe a long shot but if you're comfortable logging in to your NAS via SSH then issuing this command:
Code: Select all
lsblk -o NAME,MOUNTPOINT,MODEL,ROTA
Will show a list of the installed drives, the ROTA column will show if the NAS thinks each device is a spinning disk (1) or non-spinning SSD (0). Check that your SSD is showing a 0 under ROTA.
If the SSD is being misidentified then it could be something to do with the newer Linux Kernel in TOS 4.2.10 beta maybe? I'm not 100% sure what method TOS uses to identify a disk as an SSD though so this could be irrelevant.
I have a 240GB SSD running just fine on TOS 4.2.9 BTW.
Re: SSD Cache
Posted: 21 Feb 2021, 01:03
by La Taupe
Hello,
log with lsblk -o NAME,MOUNTPOINT,MODEL,ROTA command (SSD is drive 5)
NAME MOUNTPOINT MODEL ROTA
sda TOSHIBA MG07ACA1 1
|-sda1 1
|-sda2 1
| `-md9 / 1
|-sda3 1
| `-md8 [SWAP] 1
`-sda4 1
`-md0 1
`-vg0-lv0 /mnt/md0 1
sdb TOSHIBA MG07ACA1 1
|-sdb1 1
|-sdb2 1
| `-md9 / 1
|-sdb3 1
| `-md8 [SWAP] 1
`-sdb4 1
`-md0 1
`-vg0-lv0 /mnt/md0 1
sdc WDC WD40EFRX-68W 1
|-sdc1 1
|-sdc2 1
| `-md9 / 1
|-sdc3 1
| `-md8 [SWAP] 1
`-sdc4 1
`-md1 1
`-vg1-lv1 /mnt/md1 1
sdd WDC WD40EFRX-68W 1
|-sdd1 1
|-sdd2 1
| `-md9 / 1
|-sdd3 1
| `-md8 [SWAP] 1
`-sdd4 1
`-md1 1
`-vg1-lv1 /mnt/md1 1
sde WDC WDS480G2G0A- 0
|-sde1 0
|-sde2 0
| `-md9 / 1
|-sde3 0
| `-md8 [SWAP] 1
`-sde4 0
Re: SSD Cache
Posted: 22 Feb 2021, 09:45
by RyanYang
Sorry,
The SSD enabled front-end page in TOS 4.2.10(x86) beta has problems.
You need to wait for an update or use another official version system.
Re: SSD Cache
Posted: 18 Mar 2021, 22:30
by chalnoth
Brand new user here.
NAS Model: F4-422
TOS version: 4.2.09-2101251735-P1.04
HDD Model: 3x Ironwolf 6TB ST60000VN001-2BB186
SSD Model: 1x Ironwolf 480GB ZA480NM10001 (purchased specifically as it is a recommended model)
RAID 5, EXT4 single volume/storage pool using all available space.
I select the SSD cache (/dev/sdd), set number of partitions to 1 (as I have a single volume). The dial spins a while and then restarts the NAS. After the restart volume still shows SSD cache disabled.
Any ideas of where to go next?
Re: SSD Cache
Posted: 19 Mar 2021, 09:47
by RyanYang
Hi,
You can enable SSD caching again.
Re: SSD Cache
Posted: 19 Mar 2021, 13:06
by chalnoth
TMRyan wrote: ↑19 Mar 2021, 09:47
Hi,
You can enable SSD caching again.
Hey Ryan, I have tried, each time I get the same result. Is there a log file I can look at to see if I can identify the issue?
Re: SSD Cache
Posted: 19 Mar 2021, 14:02
by RyanYang
There are no related logs.
If you have another SSD, you can try another one. If not, you can format the SSD again and enable SSD caching again after restarting the device.
If you still can’t enable it, please send an email to our support team:
viewtopic.php?f=75&t=608
Note: Formatting will delete all data, if you need to format, please backup first.
Re: SSD Cache
Posted: 19 Mar 2021, 14:52
by chalnoth
TMRyan wrote: ↑19 Mar 2021, 14:02
There are no related logs.
If you have another SSD, you can try another one. If not, you can format the SSD again and enable SSD caching again after restarting the device.
If you still can’t enable it, please send an email to our support team:
viewtopic.php?f=75&t=608
Note: Formatting will delete all data, if you need to format, please backup first.
That was the prompt I needed. I attached the SSD to my Windows PC and discovered it had a partition created and was listed as read-only. I removed the read-only attribute and deleted the partition. Placed the SSD back in the NAS and re-did the setup steps and this time it has successfully enabled the SSD cache.
Thanks for the suggestion.
Re: SSD Cache
Posted: 24 Mar 2021, 06:01
by psikic
Just wanted to add my two cents to this discussion. I am a new owner of a F5-422 NAS. I struggled today to get SSD cache enabled on my array as well.
You CAN see the log of trying to enable flashcache by SSH to the NAS as root (with the same password as admin) and then running this command:
Code: Select all
tail -f /var/log/messages | grep "TNAS kernel:"
This is the error message that I got when trying to enable:
Code: Select all
Mar 23 16:46:36 TNAS kernel: [ 1792.135166] sde:
Mar 23 16:46:47 TNAS kernel: [ 1803.035552] device-mapper: table: 251:1: flashcache: flashcache: Disk device is busy, cannot create cache
Mar 23 16:46:47 TNAS kernel: [ 1803.038422] device-mapper: ioctl: error adding target to table
Mar 23 16:46:48 TNAS kernel: [ 1804.416697] BTRFS info (device dm-0): new size for /dev/mapper/vg0-lv0 is 5994167926784
I couldn't figure out why the device would be busy, as I wasn't using it. I discovered it probably wasn't the SSD that was busy, but the actual RAID array. I had several applications installed, such as VirtualBox, Plex, Dropbox Sync, etc. I went one by one and disabled each of the apps, to make sure the array was idle. I then tried again. I am not sure which app was causing it, but if you are having this issue, make sure you stop all the applications you can (or enable SSD cache before installing those apps).
This is the proper output of a cache that was enabled:
Code: Select all
Mar 23 16:51:19 TNAS kernel: [ 2075.022575] sde:
Mar 23 16:51:33 TNAS kernel: [ 2089.529467] device-mapper: flashcache: Allocate 112640KB (22B per) mem for 5242880-entry cache(capacity:20480MB, associativity:512, block size:8 sectors(4KB))
Mar 23 16:51:35 TNAS kernel: [ 2091.608853] BTRFS info (device dm-1): metadata ratio 50
Mar 23 16:51:35 TNAS kernel: [ 2091.610718] BTRFS info (device dm-1): using free space tree
Mar 23 16:51:35 TNAS kernel: [ 2091.612535] BTRFS info (device dm-1): has skinny extents
Mar 23 16:51:38 TNAS kernel: [ 2094.366703] BTRFS info (device dm-1): new size for /dev/mapper/fc0 is 5994167926784