February 5, 20251 yr Went to replace a cache drive and then got this message above. I have placed back the original drive and still getting this error anyway to resolve or at least copy the cache drive data off? amach-diagnostics-20250205-1400.zip
February 6, 20251 yr Copied from your other thread: root@amacher:~# btrfs fi show warning, device 1 is missing warning, device 1 is missing ERROR: cannot read chunk root Label: none uuid: f79cb3e6-b693-4a91-8cd9-4fc819da001e Total devices 2 FS bytes used 150.59GiB devid 3 size 931.51GiB used 153.00GiB path /dev/sdb1 *** Some devices missing root@amacher:~# fdisk -l /dev/sdb Disk /dev/sdb: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors Disk model: WDC WDS100T1R0A Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x00000000 Device Boot Start End Sectors Size Id Type /dev/sdb1 2048 1953525167 1953523120 931.5G 83 Linux root@amacher:~# fdisk -l /dev/sdi Disk /dev/sdi: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors Disk model: WDC WD10EADX-22T Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes sdi was the old pool member, right? If yes, type sfdisk /dev/sdi then type 64 and enter, and post the results from that, don't do anything else.
February 6, 20251 yr Author 3 hours ago, JorgeB said: Copied from your other thread: root@amacher:~# btrfs fi show warning, device 1 is missing warning, device 1 is missing ERROR: cannot read chunk root Label: none uuid: f79cb3e6-b693-4a91-8cd9-4fc819da001e Total devices 2 FS bytes used 150.59GiB devid 3 size 931.51GiB used 153.00GiB path /dev/sdb1 *** Some devices missing root@amacher:~# fdisk -l /dev/sdb Disk /dev/sdb: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors Disk model: WDC WDS100T1R0A Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x00000000 Device Boot Start End Sectors Size Id Type /dev/sdb1 2048 1953525167 1953523120 931.5G 83 Linux root@amacher:~# fdisk -l /dev/sdi Disk /dev/sdi: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors Disk model: WDC WD10EADX-22T Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes sdi was the old pool member, right? If yes, type sfdisk /dev/sdi then type 64 and enter, and post the results from that, don't do anything else. Yes it was. Here is the output root@amacher:~# sfdisk /dev/sdi Welcome to sfdisk (util-linux 2.38.1). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Checking that no-one is using this disk right now ... OK Disk /dev/sdi: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors Disk model: WDC WD10EADX-22T Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes sfdisk is going to create a new 'dos' disk label. Use 'label: <name>' before you define a first partition to override the default. Type 'help' to get more information. >>> 64 Created a new DOS disklabel with disk identifier 0xcc430fa1. Created a new partition 1 of type 'Linux' and of size 931.5 GiB. Partition #1 contains a btrfs signature. Do you want to remove the signature? [Y]es/[N]o:
February 6, 20251 yr Type N and enter to keep the signature, then type write and enter again, and post the output from btrfs fi show
February 6, 20251 yr Author 26 minutes ago, JorgeB said: Type N and enter to keep the signature, then type write and enter again, and post the output from btrfs fi show Here is the output root@amacher:~# btrfs fi show Label: none uuid: f79cb3e6-b693-4a91-8cd9-4fc819da001e Total devices 2 FS bytes used 150.59GiB devid 1 size 931.51GiB used 151.06GiB path /dev/sdi1 devid 3 size 931.51GiB used 153.00GiB path /dev/sdb1
February 6, 20251 yr Now reimport the pool with those two devices, for that, stop the array, unassign all pool devices, start the array, stop the array, reassign both pool devices, start the array, post new diags.
February 6, 20251 yr Author 16 minutes ago, Jeff Amacher said: Here is the output root@amacher:~# btrfs fi show Label: none uuid: f79cb3e6-b693-4a91-8cd9-4fc819da001e Total devices 2 FS bytes used 150.59GiB devid 1 size 931.51GiB used 151.06GiB path /dev/sdi1 devid 3 size 931.51GiB used 153.00GiB path /dev/sdb1 I stopped and restarted the Array and now see my cache drive!! Thanks! I'll send beer money! How can I replace 1 of the drives and not have this happen again?
February 6, 20251 yr Author 1 minute ago, JorgeB said: Now reimport the pool with those two devices, for that, stop the array, unassign all pool devices, start the array, stop the array, reassign both pool devices, start the array, post new diags. Okay thanks. Here are the diags amacher-diagnostics-20250206-0933.zip
February 6, 20251 yr Pool metadata is not raid1, so both devices are required for it to work correctly, run a balance to raid1 and post new diags.
February 6, 20251 yr Author 9 minutes ago, JorgeB said: Pool metadata is not raid1, so both devices are required for it to work correctly, run a balance to raid1 and post new diags. So run a balance and select convert to raid1 mode or leave as perform full balance?
February 6, 20251 yr Author 4 minutes ago, JorgeB said: Convert to raid1. Thanks. Here is the latest Diag. amacher-diagnostics-20250206-1001.zip
February 6, 20251 yr Author 5 minutes ago, Jeff Amacher said: Thanks. Here is the latest Diag. amacher-diagnostics-20250206-1001.zip 240.55 kB · 0 downloads FYI - Beer money sent.
February 6, 20251 yr Now it's OK, you should now be able to replace the old disk with a new device, just stop the array, assign the new pool device, start the array. 1 minute ago, Jeff Amacher said: FYI - Beer money sent. Thanks! 👍
February 6, 20251 yr Author 3 minutes ago, JorgeB said: Now it's OK, you should now be able to replace the old disk with a new device, just stop the array, assign the new pool device, start the array. Thanks! 👍 Thanks for the help. Saved me hours of work. Going to make a back up this time first and then swap the drive.
February 6, 20251 yr 9 minutes ago, Jeff Amacher said: FYI - Beer money sent. That was very generous! Really appreciated.
February 6, 20251 yr 3 minutes ago, Jeff Amacher said: Going to make a back up this time first and then swap the drive. That's always a good idea, just in case.
February 6, 20251 yr Author 1 hour ago, JorgeB said: That's always a good idea, just in case. Added the new drive and now its not showing up in the drop down list. This was the one I originally tried to add. You think this is causing an issue?
February 6, 20251 yr Author 1 minute ago, JorgeB said: That should be unrelated, is it detected in the BIOS? I plug into another PC and it reads the drive was able to open and format the drive fine. I'm going to shutdown and restart see if that makes any difference.
February 6, 20251 yr Author Solution 7 minutes ago, Jeff Amacher said: I plug into another PC and it reads the drive was able to open and format the drive fine. I'm going to shutdown and restart see if that makes any difference. Got it. That fixed the issue and its running BTFRS operation to sync the data. Thanks Again.
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.