![]() sudo fsck_apfs -n -S /dev/disk7 to check but not repair the container disk7, excluding all snapshots.sudo fsck_apfs -n -S /dev/disk7s2 to check but not repair, but excluding all snapshots.sudo fsck_apfs -y /dev/disk7s2 to check and repair all errors automatically, and include snapshots.sudo fsck_apfs -n /dev/disk7s2 just to check the volume disk7s2 but not repair it, and include snapshots.To unlock the volume without mounting it (thanks to kapitainsky for suggesting that).įor example, choose between the commands: If the volume is encrypted, you could keep it mounted and use the -l option to check the live file system, or you can use a command likeĭiskutil apfs unlockVolume /dev/disk7s2 -nomount I advise you to include all snapshots, which are important, but if you want to exclude them all, use the -S option. For the former, use the -n option, and for the latter the -y option will perform all repairs automatically. ![]() The command to use depends on whether you just want to check the item, or repair it as well.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |