Searching...
Minggu, 04 September 2022

Metadata kept in Windows cache, refused to mount

September 04, 2022



Ketika kita memiliki Dual-Boot OS dalam satu Mesin (Laptop), kita bisa saja mengalami masalah dengan kendala:

Kita tidak bisa menulis (Write) ke dalam Partisi NTFS dimana lokasi direktori DATA kita berada. Bahkan ketika kita sudah login sebagai Root pun masih belum bisa melakukan Write. Hal ini disebabkan karena masalah yang ada di filesystem NTFS (Windows) tersebut, kemungkinan pada OS Windows, belum ter-shutdown secara sempurna. Yaaa, kurang lebih seperti gambar dibawah lah.. :)

tidak bisa create folder/file


Lalu, dari sisi Linux, biasanya muncul error seperti ini:

 root@michelisian:~# mount /dev/sdb1 /mnt  
 The disk contains an unclean file system (0, 0).  
 Metadata kept in Windows cache, refused to mount.  
 Falling back to read-only mount because the NTFS partition is in an  
 unsafe state. Please resume and shutdown Windows fully (no hibernation  
 or fast restarting.)  
 Could not mount read-write, trying read-only  

Kita lihat dulu daftar partisi yang terlihat di sisi Linux:

 root@michelisian:~# fdisk -l  
 Disk /dev/sda: 111,81 GiB, 120034123776 bytes, 234441648 sectors  
 Disk model: V-GEN07SM19EU120  
 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: gpt  
 Disk identifier: F90D53A0-A985-03AA-E854-437E61AAEA00  
 Device     Start    End  Sectors  Size Type  
 /dev/sda1    2048  923647  921600  450M Windows recovery environment  
 /dev/sda2   923648  1128447  204800  100M EFI System  
 /dev/sda3  1128448  1161215   32768  16M Microsoft reserved  
 /dev/sda4  1161216 233366141 232204926 110,7G Microsoft basic data  
 /dev/sda5 233367552 234438655  1071104  523M Windows recovery environment  
 Disk /dev/sdb: 931,53 GiB, 1000204886016 bytes, 1953525168 sectors  
 Disk model: TOSHIBA MQ01ABD1  
 Units: sectors of 1 * 512 = 512 bytes  
 Sector size (logical/physical): 512 bytes / 4096 bytes  
 I/O size (minimum/optimal): 4096 bytes / 4096 bytes  
 Disklabel type: dos  
 Disk identifier: 0xd9fa2484  
 Device   Boot   Start    End  Sectors  Size Id Type  
 /dev/sdb1    307202048 1126402047 819200000 390,6G 7 HPFS/NTFS/exFAT  
 /dev/sdb2    1126402110 1953521663 827119554 394,4G f W95 Ext'd (LBA)  
 /dev/sdb3       2048 292968447 292966400 139,7G 83 Linux  
 /dev/sdb4    292968448 307202047 14233600  6,8G 82 Linux swap / Solaris  
 /dev/sdb5    1126402112 1953521663 827119552 394,4G 7 HPFS/NTFS/exFAT  

Pada kasus yang saya alami, partisi yang tidak bisa Write berada pada /dev/sdb1 dan /dev/sdb5 (NTFS).

Solusinya kita tinggal fix filesystem NTFS tersebut dari sisi Linux. Dah gitu aja.. Perintahnya seperti dibawah:

Untuk repair /dev/sdb1:

 root@michelisian:~# ntfsfix /dev/sdb1  
 Mounting volume... The disk contains an unclean file system (0, 0).  
 Metadata kept in Windows cache, refused to mount.  
 FAILED  
 Attempting to correct errors...   
 Processing $MFT and $MFTMirr...  
 Reading $MFT... OK  
 Reading $MFTMirr... OK  
 Comparing $MFTMirr to $MFT... OK  
 Processing of $MFT and $MFTMirr completed successfully.  
 Setting required flags on partition... OK  
 Going to empty the journal ($LogFile)... OK  
 Checking the alternate boot sector... OK  
 NTFS volume version is 3.1.  
 NTFS partition /dev/sdb1 was processed successfully.  

Untuk repair /dev/sdb5:

 root@michelisian:~# ntfsfix /dev/sdb5  
 Mounting volume... The disk contains an unclean file system (0, 0).  
 Metadata kept in Windows cache, refused to mount.  
 FAILED  
 Attempting to correct errors...   
 Processing $MFT and $MFTMirr...  
 Reading $MFT... OK  
 Reading $MFTMirr... OK  
 Comparing $MFTMirr to $MFT... OK  
 Processing of $MFT and $MFTMirr completed successfully.  
 Setting required flags on partition... OK  
 Going to empty the journal ($LogFile)... OK  
 Checking the alternate boot sector... OK  
 NTFS volume version is 3.1.  
 NTFS partition /dev/sdb5 was processed successfully.  

Dan kita coba Buat direktori di Partisi tersebut..


Akhirnya, kita bisa menyalin file dari Linux ke Windows. Demikianlah Tutorial cara mengatasi error "Metadata kept in Windows cache, refused to mount" pada Linux Mint.

 Sumber : 

https://hacktechway.wordpress.com/2014/05/16/unable-to-mount-metadata-kept-in-windows-cache-refused-to-mount/


0 komentar:

Posting Komentar