October 24, 2025Oct 24 Not sure what I did but I need some guidance recovering/restoring cache pool drive to normal operation. Currently cannot mount cache pool drive. Happened while trying to add an additional nvme to the cache pool (from single drive to 2 drives). I stopped array and removed (a different) newly created pool to avoid any further issues. Seems the data is is till there when mounted in unassigned devices. The drive in question is highlighted in photoktower-diagnostics-20251024-1300.zip
October 24, 2025Oct 24 Author root@KTower:/mnt/disks/ANDAN55961100B332/system# btrfs fi showLabel: none uuid: 0c1aa62d-b6fe-44af-8afb-b3f39750706e Total devices 1 FS bytes used 70.92GiB devid 1 size 1.82TiB used 177.06GiB path /dev/nvme1n1p1Label: none uuid: b78bb323-7a35-4941-83f8-f73ba0f6abb4 Total devices 2 FS bytes used 793.80GiB devid 1 size 1.82TiB used 177.06GiB path /dev/nvme1n1p1 devid 2 size 1.82TiB used 1016.03GiB path /dev/nvme0n1p1Label: none uuid: 9135eba3-47d2-4e99-ba7b-2f005fab9449 Total devices 1 FS bytes used 61.12GiB devid 1 size 1.82TiB used 64.02GiB path /dev/sdd1Label: none uuid: f071a6b0-5d89-4a69-acd9-c8e4e1820872 Total devices 2 FS bytes used 50.00GiB devid 1 size 3.64TiB used 53.03GiB path /dev/nvme2n1p1 devid 2 size 3.73TiB used 53.03GiB path /dev/nvme3n1p1Label: none uuid: 967d35fc-e006-4ae0-819c-6d64f1d8d300 Total devices 2 FS bytes used 222.25GiB devid 1 size 894.25GiB used 267.03GiB path /dev/sde1 devid 2 size 894.25GiB used 267.03GiB path /dev/sdc1
October 24, 2025Oct 24 Author appreciate the help by the way... this is what happens when ya try to rush through an upgrade😶
October 24, 2025Oct 24 Community Expert 7 minutes ago, clenga said:Label: none uuid: 0c1aa62d-b6fe-44af-8afb-b3f39750706eTotal devices 1 FS bytes used 70.92GiBdevid 1 size 1.82TiB used 177.06GiB path /dev/nvme1n1p1Label: none uuid: b78bb323-7a35-4941-83f8-f73ba0f6abb4Total devices 2 FS bytes used 793.80GiBdevid 1 size 1.82TiB used 177.06GiB path /dev/nvme1n1p1devid 2 size 1.82TiB used 1016.03GiB path /dev/nvme0n1p1The device is being detected as a member of two different pools; this can be a problem.Mount the pool with UD and post the output frombtrfs fi usage -T /mnt/disks/<UD_name>
October 24, 2025Oct 24 Author Just now, JorgeB said:The device is being detected as a member of two different pools; this can be a problem.Mount the pool with UD and post the output frombtrfs fi usage -T /mnt/disks/<UD_name>probably because it was initially a 2 drive pool .. I needed a slot temporarily for something else so I reduced the pool down to one drive.... then i received some new parts/upgrade, went to try and add drive back and did something wrong ... one sec
October 24, 2025Oct 24 Author root@KTower:/mnt/disks# btrfs fi usage -T /mnt/disks/ANDAN55961100B332Overall: Device size: 1.82TiB Device allocated: 177.06GiB Device unallocated: 1.65TiB Device missing: 0.00B Device slack: 0.00B Used: 71.07GiB Free (estimated): 1.74TiB (min: 943.20GiB) Free (statfs, df): 1.74TiB Data ratio: 1.00 Metadata ratio: 2.00 Global reserve: 103.92MiB (used: 0.00B) Multiple profiles: no Data Metadata System Id Path single DUP DUP Unallocated Total Slack-- -------------- --------- --------- -------- ----------- ------- ----- 1 /dev/nvme1n1p1 171.00GiB 6.00GiB 64.00MiB 1.65TiB 1.82TiB --- -------------- --------- --------- -------- ----------- ------- ----- Total 171.00GiB 3.00GiB 32.00MiB 1.65TiB 1.82TiB 0.00B Used 70.78GiB 147.67MiB 48.00KiB root@KTower:/mnt/disks#
October 24, 2025Oct 24 Community Expert It's mounting alone; assuming contents look as expected, I would recommend offlining nvme0n1, adding that device to a pool by itself, and if all looks good, wipe nvme0n1.
October 24, 2025Oct 24 Author ill give it a go... will report back... before i tried mounting the nvme1n1 with the other just in unassigned devices but kept getting device is unmountable... will brb
October 24, 2025Oct 24 Community Expert BTW, you can offline the other device without having to disconnect it, type echo 1 > /sys/block/nvme0n1/device/device/removeA reboot will bring it back.
October 24, 2025Oct 24 Author i yanked it before i could read your reply.... but that seems to have done it... drive added back to the pool ... now listed as nvme2n1...so odd
October 24, 2025Oct 24 Author 4 minutes ago, JorgeB said:BTW, you can offline the other device without having to disconnect it, typeecho 1 > /sys/block/nvme0n1/device/device/removeA reboot will bring it back.
October 24, 2025Oct 24 Author 5 minutes ago, JorgeB said:BTW, you can offline the other device without having to disconnect it, typeecho 1 > /sys/block/nvme0n1/device/device/removeA reboot will bring it back.your the man Jorge!! thank you .. will have to buy a beer for your time 😄
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.