August 30, 20241 yr Setup: - array: 3 disks, 2 data and 1 parity (xfs) - cache 2 ssd zfs mirrored When I saw my disks on array were constantly spinned up, i checked that there are some files on system and domains shares. I tried using mover (Cache <- Array) but it did not fix it so I searched the Internet and found It can be done easily by rsync (or sth. similar) or "unbalanced" plugin, so I did the latter: - stopped the array - no VMs running so nothing to do there - run unbalanced from disk1 (both folders) to Cache (mirrored zfs) - started dockers and webUI stopped responding - restarted server - array did not start ("Wrong Pool State cache-invalid config" pop up) I see something strange in cache settings- it says "File system type: zfs mirror 1 group of 3 devices" but there should be 2 devices. I see also in cache.cfg diskFsWidth="3" the only 3 i found there but don't really know what it means for sure. do anyone knows how to fix the issue? Can I just edit the diskFsWidth (probably it's not that easy)? Edited August 30, 20241 yr by bpie file no longer needed
August 30, 20241 yr Community Expert Solution 5 minutes ago, bpie said: some files on system and domains shares. I tried using mover (Cache <- Array) but it did not fix it so I searched the Internet Nothing can move or delete open files. You have to disable Docker and VM Manager in Settings to work with these shares.
August 30, 20241 yr Author Yes, I forgot to disable docker daemon (only containers were down). But something strange did happen to the cache config I think. Can I recover from this? Should I start a new config or try to modify existing one by hand or some other tool? Edit: Oh, I disabled Docker and VM and the array started (after a few refreshes of UI, probably some warnings "cached"). Should I clean it now somehow- repeat the actions with unbalanced plugin to make sure all files are on one disk? I do not really know how this system works under the hood so I have no idea how to clean this up. Edit2: docker daemon started, docker containers also... ok I thought it will be something more serious thanks for the help Edited August 30, 20241 yr by bpie
August 30, 20241 yr Community Expert You can see how much of each disk or pool is used by each share by clicking Compute... for the share on the User Shares page.
August 30, 20241 yr Author Quote ou can see how much of each disk or pool is used by each share by clicking Compute... for the share on the User Shares page. Didn't know that, thanks
August 31, 20241 yr Author I did nothing new, just stopped the array and now it wont start again with or without docker or VM on ;( now it says 1 group of 4 devices, previously it was 3, should be 2 dell-server-diagnostics-20240831-1131.zip Edited August 31, 20241 yr by bpie adding files
August 31, 20241 yr Author I edited the pool config file (diskFsWidth="2" from 4), rebooted and it started up. But something is not right. Quote Post the output from: zpool import Is it safe to run this while a array with cache is running? Need to educate myself about zpool / zfs.
August 31, 20241 yr Community Expert If it's running it won't provide an output, post the output from 'zpool status' instead, and if it happens again you can correct the config by re-importing the pool
August 31, 20241 yr Author ~# zpool status pool: cache state: ONLINE status: Some supported and requested features are not enabled on the pool. The pool can still be used, but some features are unavailable. action: Enable all features using 'zpool upgrade'. Once this is done, the pool may no longer be accessible by software that does not support the features. See zpool-features(7) for details. config: NAME STATE READ WRITE CKSUM cache ONLINE 0 0 0 nvme1n1p1 ONLINE 0 0 0 errors: No known data errors
August 31, 20241 yr Community Expert Didn't you say the pool was 2 devices? There's only one currently.
August 31, 20241 yr Author it should be 2 as in attached image. cache.cfg states: diskFsType="zfs" diskFsProfile="mirror" diskId="Lexar_SSD_NM790_2TB_NJF5744104557P2202" diskId.1="Lexar_SSD_NM710_2TB_NES132R002654P2200" diskType="Cache" diskType.1="Cache" and diskFsWidth is back to 3 in /boot/config/pools/cache.cfg Edited August 31, 20241 yr by bpie
August 31, 20241 yr Community Expert 10 hours ago, bpie said: it should be 2 as in attached image It's not, zpool status always show the correct pool status, you can re-import the single device pool and then add the other one to create a mirror.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.