May 17, 20224 yr 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 ?
May 17, 20224 yr That's not normal, see you can get the diags by typing "diagnostics" in the console, then attach here.
May 17, 20224 yr Author root@Tower:~# diagnostics Starting diagnostics collection... No data , do you think that I can restart the server ?
May 17, 20224 yr 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
May 17, 20224 yr 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.
May 17, 20224 yr Author 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
May 17, 20224 yr 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.
May 17, 20224 yr Author 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.
May 18, 20224 yr Author 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 ?
May 18, 20224 yr 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.
May 18, 20224 yr Solution 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.
May 18, 20224 yr Author 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
May 18, 20224 yr 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.
May 18, 20224 yr Author 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
May 18, 20224 yr Still not enough unallocated space, try with -dusage=90, if you get an error you might need to move/delete some data first.
May 18, 20224 yr Author 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
May 20, 20224 yr Author 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
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.