Skip to content

Commit 27cc2c9

Browse files
authored
Update linux-recovery-cannot-start-file-system-errors.md
Added Caution regarding using the -L switch with xfs_repair
1 parent e2fc04f commit 27cc2c9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

support/azure/virtual-machines/linux/linux-recovery-cannot-start-file-system-errors.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,11 +328,14 @@ or
328328
mount /home
329329
```
330330

331-
If the journaled changes aren't written when you mount filesystems, use the `-L` flag to discard the journal and mount the filesystem as if all changes are successfully completed. When the `-L` flag is used, data loss will occur because the log shows incomplete file operations are being discarded.
331+
If the journaled changes aren't written when you mount filesystems, use the `-L` flag to discard the journal and mount the filesystem as if all changes are successfully completed.
332+
332333
333334
```bash
334335
xfs_repair -L /dev/rootvg/homelv /recovery
335336
```
337+
> [!CAUTION]
338+
> The `-L` flag causes xfs_repair to forcably clean entries in the transaction log journal. Data loss many times occurs when this happens.
336339
337340
### <a id="prevent-boot-failure"></a>Prevent boot failure
338341

0 commit comments

Comments
 (0)