作者: 羊毛球 時間: 2016-4-22 12:34 標題: 明明hdd大把位,佢話我爆左
NAS: TS-251
FW: 琴晚up上4.2.1
HDD: WD red 3TB x2,兩隻都只係用左50%左右
唔知係snapshot問題定4.2.1問題,DataVal其實兩隻都仲有1TB未用,但係就話我Storage pool爆左,而打開manage,snapshot只係分別用左40GB同90GB左右,都唔知佢想點,琴晚訓覺前噤upgrade,訓醒就變成咁,仲附上怪雞燈號,除左紅色alert燈,連LAN盞燈都變左橙色長著
- df -h
- Filesystem Type Size Used Avail Use% Mounted on
- /dev/sda4 btrfs 40G 15G 24G 38% /
- btrfs fi show
- Label: '3T-B' uuid: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
- Total devices 1 FS bytes used 12.93GiB
- devid 1 size 39.06GiB used 21.14GiB path /dev/sda4


https://www.hkepc.com/forum/attachment.php?aid=1883641&k=563bcccca1aa463c8a3d2d54d0a26f88&t=1611157476&sid=1aYWO8SgtMI

作者: wa124 時間: 2016-4-23 01:52
Storage Pool Threshold enable左
禁個storage pool -> manager
action -> set threshold
disable後就唔會有warning
作者: GbE 時間: 2016-4-23 10:19
Same, can't disable, waiting for bug fix.
作者: 5qg 時間: 2016-4-23 10:47
回覆 3# GbE
I have the same problem.
But set threhold and disable 後就
沒有warning了
作者: cal22cal 時間: 2016-4-23 10:49
頭盔 mode++
佢好似係用 btrfs filesystem,
df 唔容易 report actual free space
e.g.
打 command, 睇 actual free space
作者: 羊毛球 時間: 2016-4-23 12:22
回覆 2# wa124
佢灰左唔俾我噤喎

Btw, 呢個係咪一個bug?

https://www.hkepc.com/forum/attachment.php?aid=1883837&k=99e884c976093d453ef9c7e109ead38b&t=1611157476&sid=1aYWO8SgtMI

作者: 羊毛球 時間: 2016-4-23 12:23
回覆 3# GbE

作者: 羊毛球 時間: 2016-4-23 12:24
回覆 4# 5qg
I can't even disable it!
作者: 羊毛球 時間: 2016-4-23 12:25
回覆 5# cal22cal
何不試試呢~ 呵呵
作者: cal22cal 時間: 2016-4-23 12:47
如果係 btrfs, 睇吓呢個,
可以了解多啲, 不過唔好亂咁搞

https://btrfs.wiki.kernel.org/index.php/FAQ
作者: wa124 時間: 2016-4-23 15:58
回覆 6# 羊毛球
set做100%吧
依個好似唔係bug黎,好似有用Snapshot就一定要你enable,怕你唔夠位
作者: 羊毛球 時間: 2016-4-23 16:17
本帖最後由 羊毛球 於 2016-4-23 16:25 編輯
回覆 11# wa124
set左ok, 冇再有warning
但個問題係點解個pool 無神神幾乎full allocated (2.70TB / 2.72TB),而下邊個disk size顯示既free space就正常?
我記得岩岩set snapshot個陣並唔係成條綠色架喎, 係琴晚唔知upgrade完定snap完就出warning
P.S 而家daily snapshot 左15次, 兩隻hdd分別只係用左41.5GB & 98GB
作者: 羊毛球 時間: 2016-4-23 16:23
仲有個minor問題就係, 個pool capacity 2.72TB, reserve左 10% (278GB) 俾snapshot, 但係個disk capacity 點解得2.3TB? 我買兩隻3TB共6TB, 演算得返5.4TB都算, 最終實際可以用既竟然得返4.6TB

作者: cal22cal 時間: 2016-4-23 16:39
btrfs 如果要 store files,
要有 2 個地方考慮,
1. metadata
2. system blocks
如果個 metadata 冇位, 都係叫 Filesystem Full
可以摷 wiki, 或者
http://askubuntu.com/questions/4 ... is-full-but-its-not
作者: 羊毛球 時間: 2016-4-23 17:31
回覆 14# cal22cal
師兄多謝先, 但係我唔識/唔想咁深入分析喎, 只係知道之前唔會但而家個pool突然話full左但其實仲用到~ 唯有等官方fix啦
作者: wa124 時間: 2016-4-23 17:39
回覆 13# 羊毛球
你張圖都唔見有保留區.......
BTW, thin pool 定 thick pool黎?
都係有問題就搵support睇睇吧
作者: 羊毛球 時間: 2016-4-23 17:55
回覆 16# wa124
前日Submit左ticket啦,未有回覆,screen cap多張disk 1 做sample你睇


https://www.hkepc.com/forum/attachment.php?aid=1883939&k=dffca6c65bea15ae9a82bd04fb84718a&t=1611157476&sid=1aYWO8SgtMI

作者: cal22cal 時間: 2016-4-23 19:09
係喎, 買佢就係因為買售後服務,
等佢哋 fix

作者: GbE 時間: 2016-4-24 01:00
本帖最後由 GbE 於 2016-4-24 01:10 編輯
我好奇怪點解你 fix 到,由此至終都係鬧個 pool 100% (咁好正常,大部份人都唔會 unallocate 少少)。但你 set 100% 臨界就 ok ? 我留意到原來你有 0.6% unallocate, 所以 set 臨界100%後就冇 warm.
但我唔得,因我係 100% allocated, 最尾我係改保留 20% 去 15%, 咁 unallocate 就會有 5% 係到嚟避呢個 bug.
作者: 羊毛球 時間: 2016-4-24 01:11
回覆 19# GbE
我諗我係起format (前星期為左要snapshot抄過晒D file, 順手format過個system) 個陣set 左unalocate少少(唔知為乜但係做左),又誤打誤撞岩呢個case掛。你係點樣用緊都仲可以set 15% 保留? 我搵唔到呢個option
作者: GbE 時間: 2016-4-24 01:17
本帖最後由 GbE 於 2016-4-24 01:21 編輯
係 "儲存池管理 -> 動作 -> 設定快照保留空間",用緊都改得
作者: tata211 時間: 2016-4-24 01:21
Q記又黎料~ 好彩之前隻TS-453A我真係走得快~
作者: GbE 時間: 2016-4-24 01:25
我之前都有話 QNAP 呢d 低級 bug 係 release version 仲見到係抵打,但你又唔駛插爆佢,佢又唔係咁差。
作者: 羊毛球 時間: 2016-4-24 01:25
回覆 21# GbE
I see, snapshot reserve, 我以為係set hdd unallocated space. 都冇野做到啦, 唯有等fix
作者: 羊毛球 時間: 2016-4-24 01:27
回覆 22# tata211
so far冇咩問題既, 正常使用, 係un眼D姐. Q記support幾好架, 算覆得好快, 又主動remote
作者: lkikl 時間: 2016-4-24 01:29
請問可唔可以裝virtualization station windows 係 USB flash drive?
作者: 羊毛球 時間: 2016-4-24 01:45
回覆 26# lkikl
可以, 我都係長插手指, 放個img入去
作者: wa124 時間: 2016-4-24 01:57
本帖最後由 wa124 於 2016-4-24 03:01 編輯
問左QNAP相關PM,佢話依個唔係Bug黎,原因:
-Snapshot / Volume 會係Storage Pool扣空間
-如果係有使用Snapshot的情況下,會強制Enable Storage Pool Threshold,以避免空間用光而沒有被知會
以羊毛球ching個case黎睇
就係Thick Volume + Snapshot
Storage Pool被Volume + Snapshot Reserve空間佔用到99.4%
如果冇依個warning的話,當用爆Snapshot Reserve空間後
再做Snapshot (依個Snapshot會用到最後果0.6%空間)
就會出現空間用光而沒有被知會依個情況
所以,唔算係Bug,只係好心提示
問題係UI冇寫個原因出黎,嚇親大家了

作者: wa124 時間: 2016-4-24 01:58
回覆 26# lkikl
可以,不過應該唔會快
安裝時候save個VM img係external device就得
作者: lkikl 時間: 2016-4-24 02:09
我諗住買 Sandisk Extreme CZ80應該夠怏
作者: wa124 時間: 2016-4-24 02:10
回覆 30# lkikl
留名等report

夠快的話我都整返隻黎玩先
作者: GbE 時間: 2016-4-24 02:25
本帖最後由 GbE 於 2016-4-24 02:28 編輯
問左QNAP相關PM,佢話依個唔係Bug黎,原因:
-Snapshot / Volume 會係Storage Pool扣空間
-如果係有使用S ...
wa124 發表於 2016-4-24 01:57
wa124 兄,之前 4.2 係灰,唔會出 warning, 但呢個 ver 走嚟 warn ? 另外,snapshot 唔成功先出 warning 不是更合乎 logic.... 宜家我 set unallocate 空間 5%,snapshot 一樣可隨時因冇空間而失效,另據 QNAP 講當冇空間時會自動 delete 最舊嘅 snapshot.
作者: wa124 時間: 2016-4-24 02:37
回覆 32# GbE
我仲研究緊係唔係4.2.1 20160419先有強制enable
而家睇落基本上有用到snapshot就會enable storage pool threshold
snapshot 唔成功先出 warning 不是更合乎 logic.... 宜家我 set unallocatw 空間 5%,snapshot 一樣可隨時因冇空間而失效,另據 QNAP 講但當冇空間時會自動 delete 最舊嘅 snapshot.
冇空間時會自動 delete 最舊嘅 snapshot <- 依樣野我諗緊上一步係唔係snapshot fail,因為我真係未試過依個case. 但理論上睇,空間不足的確有可以令Take Snapshot Fail
回到正題,threshold單純係一個提示,而且我都唔明點解唔比人Disable
依樣野要星期一再問問點搞了
作者: GbE 時間: 2016-4-24 02:44
係,少問題,大家明就得
作者: 羊毛球 時間: 2016-4-24 02:48
本帖最後由 羊毛球 於 2016-4-24 02:51 編輯
回覆 28# wa124
但係我Volume用左既位 + Snapshot Reserve 278GB used 41GB , 點計個空間都未佔用到99.4%喎??
btw, 我都同意GbE個疑問, 唔係應該snapshot失敗會promt? 佢純粹warn我話空間爆左, 連話"可能失敗"都冇, 好有問題喎, 咁我點知邊個snapshot靠得住
anyway, 多謝熱心解答, 等官方as well~
作者: wa124 時間: 2016-4-24 02:52
回覆 35# 羊毛球
應該仲有system reserved空間(Snapshot reserved以外的)
果D空間係superblock / 拎黎backup superblock,唔比用的
作者: wa124 時間: 2016-4-24 03:00
回覆 35# 羊毛球
snapshot失敗會warn
岩岩睇返record,原來我搞錯了
更正返,佢係話“pool threshold會啟用以避免空間用光而沒有被知會”
作者: 羊毛球 時間: 2016-4-24 03:43
回覆 36# wa124
媽我好亂啊~ 但係volume入邊又仲有free size既? 個個先係我正常使用剩底既free size喎
作者: GbE 時間: 2016-4-24 03:57
本帖最後由 GbE 於 2016-4-24 04:11 編輯
乜都剩少少

Thick vol 有 free 好正常 wor.
作者: wa124 時間: 2016-4-24 14:36
回覆 38# 羊毛球
你個Volume係Thick Volume
佢會預先係Storage Pool扣起左空間,所以Storage Pool會Show用左
Volume就睇有冇檔案放入去,就係你所謂的正常Free Size
作者: wa124 時間: 2016-4-25 22:37
剛剛收到解決方法:

Explanation:
In QTS 4.2.1 official release, the Storage Pool > Manage > Set Threshold setting will be force enabled if there are any snapshots in the pool. This is to warn the administrator if the pool is nearly full, since a 100% full storage pool with snapshots will cause all volumes to enter read-only mode.
Therefore this change is to help avoid the pool become full and avoid the read-only volumes problem.

https://www.hkepc.com/forum/attachment.php?aid=1884391&k=8acc3c5149ef9d8de70eb53e35316a94&t=1611157476&sid=1aYWO8SgtMI

作者: sp4148 時間: 2016-5-9 10:00
It mean that cannot allocate 100% space for pool (80% volume + 20% snapshot)
作者: s84292 時間: 2016-5-9 13:00
兩層唔同,另外果層滿左都唔洗點理,佢自己會調位比你用
系統空間越多,佢可以做多更多版本SNAPSHOT比你還原JA