Claudio C Posted May 17, 2022 Share Posted May 17, 2022 My unraind is in this status "Array Starting•Mounting disks..." after that I removed a disk from a pool. I followed this guida https://wiki.unraid.net/Manual/Storage_Management#Removing_disks_from_a_multi-device_pool It is in this status from more than 4 hours. What can I do ? do I have to still waiting ? Quote Link to comment
JorgeB Posted May 17, 2022 Share Posted May 17, 2022 That's not normal, see you can get the diags by typing "diagnostics" in the console, then attach here. Quote Link to comment
Claudio C Posted May 17, 2022 Author Share Posted May 17, 2022 root@Tower:~# diagnostics Starting diagnostics collection... No data , do you think that I can restart the server ? Quote Link to comment
Squid Posted May 17, 2022 Share Posted May 17, 2022 Let it sit for a couple more minutes. Failing that, after CTRL-C to exist the command, cp /var/log/syslog /boot and then upload the syslog file that is now stored on the flash drive Quote Link to comment
Claudio C Posted May 17, 2022 Author Share Posted May 17, 2022 here the file syslog Quote Link to comment
JorgeB Posted May 17, 2022 Share Posted May 17, 2022 May 17 11:06:38 Tower kernel: BTRFS: error (device sdb1) in do_chunk_alloc:3467: errno=-28 No space left May 17 11:06:38 Tower kernel: BTRFS info (device sdb1): forced readonly Balance aborted due to no space left, grab the output of: btrfs fi usage -T /mnt/cache Then post that and reboot, this issue shouldn't prevent GUI access. Quote Link to comment
Claudio C Posted May 17, 2022 Author Share Posted May 17, 2022 May 17 19:51:29 Tower kernel: BTRFS: error (device sdb1) in do_chunk_alloc:3467: errno=-28 No space left May 17 19:51:29 Tower kernel: BTRFS info (device sdb1): forced readonly Quote Link to comment
Claudio C Posted May 17, 2022 Author Share Posted May 17, 2022 Now I have this error: Quote Link to comment
JorgeB Posted May 17, 2022 Share Posted May 17, 2022 Did you get this? 1 hour ago, JorgeB said: grab the output of: btrfs fi usage -T /mnt/cache Then post that and reboot, Also please post new diags. Quote Link to comment
Claudio C Posted May 17, 2022 Author Share Posted May 17, 2022 ERROR: cannot access '/mnt/cache': No such file or directory Quote Link to comment
Claudio C Posted May 17, 2022 Author Share Posted May 17, 2022 Starting diagnostics collection... sh: -c: line 1: unexpected EOF while looking for matching `'' sh: -c: line 2: syntax error: unexpected end of file sh: -c: line 1: unexpected EOF while looking for matching `'' sh: -c: line 2: syntax error: unexpected end of file done. ZIP file '/boot/logs/tower-diagnostics-20220517-2105.zip' created. Quote Link to comment
Claudio C Posted May 17, 2022 Author Share Posted May 17, 2022 here the files tower-diagnostics-20220517-2105.zip Quote Link to comment
Claudio C Posted May 17, 2022 Author Share Posted May 17, 2022 Hi JorgeB do you have an idea how I can fix the issues ? thanks Quote Link to comment
Claudio C Posted May 18, 2022 Author Share Posted May 18, 2022 these are error that I have in log of cache disk: ay 18 06:32:50 Tower kernel: BTRFS error (device sdb1): devid 2 uuid b7a2b6e5-effb-48f3-8fbe-34b212a45d2c is missing May 18 06:32:50 Tower kernel: BTRFS error (device sdb1): failed to read the system array: -2 May 18 06:32:50 Tower kernel: BTRFS error (device sdb1): open_ctree failed May 18 06:32:50 Tower root: mount: /mnt/cache: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error. Do you think that I lost all cache data ? Quote Link to comment
JorgeB Posted May 18, 2022 Share Posted May 18, 2022 12 hours ago, Claudio C said: ERROR: cannot access '/mnt/cache': No such file or directory Now it won't work since the pool is not mounting, I asked before rebooting, but it doesn't matter now. Stop the array, unassign al pool devices, start array, stop array, run btrfs-select-super -s 1 /dev/nvme0n1p1 Reboot and post new diags before array start. Quote Link to comment
Claudio C Posted May 18, 2022 Author Share Posted May 18, 2022 here the files tower-diagnostics-20220518-1121.zip Quote Link to comment
Solution JorgeB Posted May 18, 2022 Solution Share Posted May 18, 2022 Now start the array with both cache devices unassigned, then stop the array, assign both devices to the same pool, start the array and post new diags, if it mounts there's a chance the fs will go read only again, if that happens we can try to mount manually with skip_balance. Quote Link to comment
Claudio C Posted May 18, 2022 Author Share Posted May 18, 2022 It works :-)))) I'm so happy thanks a lot . now If I want to remove a disk from the pool and use it as dedicated pool for the VM what do I have to do ? tower-diagnostics-20220518-1320.zip Quote Link to comment
JorgeB Posted May 18, 2022 Share Posted May 18, 2022 Good, first make sure backups are up to date, then you need to re-balance the pool, after that's done and there's some unallocated space you can remove the device, in doubt post new diags before doing it. Quote Link to comment
Claudio C Posted May 18, 2022 Author Share Posted May 18, 2022 Ok I execute this command Ibtrfs balance start -dusage=75 /mnt/cache outcome: Overall: Device size: 931.52GiB Device allocated: 931.52GiB Device unallocated: 3.02MiB Device missing: 0.00B Used: 593.10GiB Free (estimated): 166.57GiB (min: 166.57GiB) Free (statfs, df): 166.57GiB Data ratio: 2.00 Metadata ratio: 2.00 Global reserve: 154.06MiB (used: 0.00B) Multiple profiles: no Data Metadata System Id Path RAID1 RAID1 RAID1 Unallocated -- -------------- --------- --------- --------- ----------- 1 /dev/sdb1 462.70GiB 3.00GiB 64.00MiB 1.99MiB 2 /dev/nvme0n1p1 462.70GiB 3.00GiB 64.00MiB 1.02MiB -- -------------- --------- --------- --------- ----------- Total 462.70GiB 3.00GiB 64.00MiB 3.02MiB Used 296.12GiB 434.41MiB 112.00KiB next steps are : 1. stop array 2. remove the device 3. Start the array 4. stop array create you pool 5. assign the disk to the new pool is it this way ? attached the diagnostics. tower-diagnostics-20220518-1530.zip Quote Link to comment
JorgeB Posted May 18, 2022 Share Posted May 18, 2022 Still not enough unallocated space, try with -dusage=90, if you get an error you might need to move/delete some data first. Quote Link to comment
Claudio C Posted May 18, 2022 Author Share Posted May 18, 2022 done root@Tower:~# btrfs balance start -dusage=90 /mnt/cache Done, had to relocate 42 out of 318 chunks Can I go on with these steps ? next steps are : 1. stop array 2. remove the device 3. Start the array 4. stop array create you pool 5. assign the disk to the new pool tower-diagnostics-20220518-1703.zip Quote Link to comment
JorgeB Posted May 18, 2022 Share Posted May 18, 2022 Yes, now it should be fine. Quote Link to comment
Claudio C Posted May 20, 2022 Author Share Posted May 20, 2022 HI JorgeB, just to confirm that all works now. I created the second pool for the VM. Thank a lot for your help .... you are the best 🙂 Grazie Claudio 1 Quote Link to comment
Recommended Posts
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.