How can I solve this message after repair disk using apple disk tool? "warning: inode (id 8128095): Resource Fork xattr is missing for compressed file"

How can I solve this message after repair disk using apple disk tool? "warning: inode (id 8128095): Resource Fork xattr is missing for compressed file"

MacBook Pro 13″, macOS 13.2

Publicado em 11/04/2023 20:49

Responder
Pergunta marcada como Resposta melhor classificada

Publicado em 11/04/2023 21:48

Hello, good evening, how are you? When it happened to me, you helped me with these steps that I have saved since then:


  1. Reboot MacOS into Recovery Mode
  2. Open Disk Utility, mount the Data volume and quit Disk Utility
  3. Launch the Terminal in Recovery Mode
  4. Search for the file by inode id with the following command:
find /Volumes/Data/ -inum ########

(where ######## is the inode id number of the file)


Now in your results you may find the file but for me there were no results but a few errors like:


/Volumes/Data/.Spotlight-V100: No such file or directory


So to get around this I searched directly within the directories they say didn't exist as follows:


find /Volumes/Data/.Spotlight-V100 -inum ########


Once I did that I was able to find each of the files within the Spotlight directory hierarchy. Now I could not find a way to add the missing resource fork so it was easier to rebuild the Spotlight index. To ensure I did that cleanly, I rebooted into normal mode and did the following:


  1. Within the System Settings rebuild the Spotlight index by adding the Macintosh HD to the Privacy pane
  2. Next, reboot MacOS into Recovery Mode
  3. Open Disk Utility, mount the Data volume and quit Disk Utility
  4. Launch the Terminal in Recovery Mode
  5. Confirm that the file in question has been marked for removal by the following command:
find /Volumes/Data/.Spotlight-V100 -inum ########


In the results you will note that the file is still present but is within the following path:


/Volumes/Data/.Spotlight-V100/Store-V2/DeadFiles


You can remove this entire path manually by issuing the following command:


rm -rf /Volumes/Data/.Spotlight-V100/Store-V2/DeadFiles


Once this path is removed you can rerun the Disk Utility to confirm that the errors regarding "Resource Fork xattr is missing for compressed file" have all been resolved. You can then re-enable your Spotlight index by removing the Macintosh HD from the Privacy pane.


P.S. If you have other files showing up as warnings, they may exist in other paths and you can manually search these paths as well. Do so with caution since Terminal in Recovery Mode is a very powerful tool and can cause harm to your Mac if not used responsibly. But, in any case the best advice I can give being just an Apple user just like you, is to go to an authorized physical store to get the necessary repair done. Good luck, and excuse my broken English! 😅

1 resposta
Pergunta marcada como Resposta melhor classificada

11/04/2023 21:48 em resposta a ee

Hello, good evening, how are you? When it happened to me, you helped me with these steps that I have saved since then:


  1. Reboot MacOS into Recovery Mode
  2. Open Disk Utility, mount the Data volume and quit Disk Utility
  3. Launch the Terminal in Recovery Mode
  4. Search for the file by inode id with the following command:
find /Volumes/Data/ -inum ########

(where ######## is the inode id number of the file)


Now in your results you may find the file but for me there were no results but a few errors like:


/Volumes/Data/.Spotlight-V100: No such file or directory


So to get around this I searched directly within the directories they say didn't exist as follows:


find /Volumes/Data/.Spotlight-V100 -inum ########


Once I did that I was able to find each of the files within the Spotlight directory hierarchy. Now I could not find a way to add the missing resource fork so it was easier to rebuild the Spotlight index. To ensure I did that cleanly, I rebooted into normal mode and did the following:


  1. Within the System Settings rebuild the Spotlight index by adding the Macintosh HD to the Privacy pane
  2. Next, reboot MacOS into Recovery Mode
  3. Open Disk Utility, mount the Data volume and quit Disk Utility
  4. Launch the Terminal in Recovery Mode
  5. Confirm that the file in question has been marked for removal by the following command:
find /Volumes/Data/.Spotlight-V100 -inum ########


In the results you will note that the file is still present but is within the following path:


/Volumes/Data/.Spotlight-V100/Store-V2/DeadFiles


You can remove this entire path manually by issuing the following command:


rm -rf /Volumes/Data/.Spotlight-V100/Store-V2/DeadFiles


Once this path is removed you can rerun the Disk Utility to confirm that the errors regarding "Resource Fork xattr is missing for compressed file" have all been resolved. You can then re-enable your Spotlight index by removing the Macintosh HD from the Privacy pane.


P.S. If you have other files showing up as warnings, they may exist in other paths and you can manually search these paths as well. Do so with caution since Terminal in Recovery Mode is a very powerful tool and can cause harm to your Mac if not used responsibly. But, in any case the best advice I can give being just an Apple user just like you, is to go to an authorized physical store to get the necessary repair done. Good luck, and excuse my broken English! 😅

Esta conversa foi encerrada pelo sistema ou pela equipe da comunidade. Você pode votar em quaisquer publicações que considerar úteis ou pesquisar outras respostas na Comunidade.

How can I solve this message after repair disk using apple disk tool? "warning: inode (id 8128095): Resource Fork xattr is missing for compressed file"

Bem-vindo à Comunidade de Suporte da Apple
Um fórum onde os clientes da Apple ajudam uns aos outros com seus produtos. Use sua conta Apple para começar.