DISABLE JOURNALING
Steps to disable journaling:
1. Check if 'has_journal' appears in the features menu using the following command. If it does not appear, it means journaling is already disabled:
sudo tune2fs -l /dev/sdX | grep features
2. Disable journaling by unmounting the partition first, then proceed with disabling journaling. If not unmounted, an error will occur as follows:
- umount
sudo umount /dev/sdX
or
sudo umount /path/disk
- disable journal
sudo tune2fs -O ^has_journal /dev/sdX
Note: Replace /dev/sdX with the partition to be disabled, for example, /dev/sda1 or /dev/sda2.
3. Verify successful disabling (has_journal does not appear).
DISABLE WRITE CACHING
1. Unmount the target partition first.
2. To disable, execute the following command:
- disable
hdparm -W 0 /dev/sdX
- enable
hdparm -W 1 /dev/sdX
3. Verification
0 komentar
EmoticonEmoticon