To prepare exFAT and NTFS drives, ensuring that existing cache is held and kept, you need to consider a few steps. This guide assumes you are working in a Windows environment, given the mention of exFAT and NTFS file systems.
hdparm/sg3_utils command sets. The number 130 may correspond to a vendor-specific opcode or a script exit code meaning "retain cache metadata"..bin file) and the Hekate .zip package.Below is a universal workflow to prepare exFAT/NTFS drives, resolve error 130, and hold to keep existing cache intact.
If you are trying to "prepare" a drive without losing data (interpreting the "hold to keep existing cache/data" aspect of your prompt):
You cannot convert a drive to exFAT or NTFS without formatting (erasing) it if the drive is currently formatted as something else (like FAT32 or HFS+). prepare exfat ntfs drives 130 hold to keep existing cache
Workaround:
Exception: If the drive is already NTFS and you just want to change cache settings or allocation size, you can sometimes modify parameters via command line, but you generally cannot change the file system type without erasing the index.
Option A: Repair exFAT (keeps cache)
# Linux
fsck.exfat /dev/sdX1 -y
# This fixes error 130 (corrupt allocation bitmap)
Option B: Convert NTFS to exFAT (preserve cache via temporary copy) If you need to switch file systems but keep cache:
dd if=/dev/sdX1 of=cache.img bs=4M status=progressdd if=cache.img of=/dev/sdX1 seek=original_offsetOption C: Shrink/Expand partition to resolve "130 hold" Error 130 can mean the cache is at the physical end of the drive. Use:
# Shrink NTFS from the end (keeps cache safe at the start)
ntfsresize -s 120G /dev/sdX1 --no-action
# Then adjust partition table with fdisk
If the "hold to keep existing cache" fails, try these: To prepare exFAT and NTFS drives, ensuring that
| Symptom | Fix |
|---------|------|
| Error 130 during mount | Check for dirty bit: fsck.exfat -y or chkdsk /f |
| Cache disappears after prep | You used mkfs without --preserve or the conv=notrunc flag. Restore from backup. |
| Drive shows 130 MB less capacity | Shrink operation left unallocated space. Expand with parted or diskpart. |
| "Hold" doesn't work on Windows | Use Sysinternals PsSuspend to suspend the process locking the cache folder. |
If you are encountering a specific error or prompt containing "130," it may relate to a specific software environment.
In Linux (Mounting): You might be trying to mount a drive with specific arguments. To mount an NTFS drive keeping the cache in RAM: Origin : Often found in storage arrays from
sudo mount -t ntfs-3g -o windows_names,uid=1000,gid=1000 /dev/sdb1 /mnt/ntfs
Note: If you want to disable caching (write-through), you would use the sync flag. There is no standard flag "130".
In PowerShell:
Check if you are running a script where $130 is a variable or an exit code.