What's new

AC68U HDD issue

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

yavera

New Around Here
I was running a Merlin image on my router and decided to upgrade to the latest version of Merlin software.
After upgrading my 4TB external drive that is connected to the router can't be mounted anymore and it gives me this error:

Failed to calloc 122094075 bytes: Cannot allocate memory
Checking cluster allocation ...
ERROR(12): Failed to setup allocation bitmap: Cannot allocate memory
Syncing device ...


I've searched the forum and none of the solutions that I found is working.
I've even tried to downgrade to 374 and it doesn't let me.
Can you help me fix this?
 
Disk is too large for the router's limited amount of RAM.

You can try doing a chkdsk from a PC, but that disk will always be problematic with the router.
 
I do not have the knowledge and experience to help you out of your situation.

I have a couple of thoughts though:
  • Performing a filesystem check from a PC or Mac is probably your best bet. But the filesystem types supported by each operating system determine whether this is an option. For example, I am using ext4. I don't think Windows can work with this but perhaps the application MiniTool Partition Wizard could.
  • Adding swap increases the chance that the router might be able to handle the filesystem check. However, your swap file might be on the filesystem needing to be checked. Perhaps a flash drive on another USB port could support another filesystem with swap file.
For new USB drives, I recommend:
  • Before installing amtm and Entware, partition the drive beforehand.
  • The first partition is the Entware partition. Make it 3 GB. Use journaled ext4.
  • Enable full filesystem checks on the Entware filesystem each reboot with tune2fs.
  • Create one or more partitions with the remaining space. Use journaled ext4.
  • Disable full filesystem checks on these filesystems with tune2fs. Perform these manually from time to time. Without Entware on them, it should be easy to unmount, e2fsck and mount them without disrupting the functions of the router.
  • Use amtm to create a swap file in the Entware filesystem. The relatively small filesystem allows for the router to reboot, the full filesystem check to only take a few seconds and for the router to come back online quickly with a supporting swap file.
 
I was running a Merlin image on my router and decided to upgrade to the latest version of Merlin software.
After upgrading my 4TB external drive that is connected to the router can't be mounted anymore and it gives me this error:

Failed to calloc 122094075 bytes: Cannot allocate memory
Checking cluster allocation ...
ERROR(12): Failed to setup allocation bitmap: Cannot allocate memory
Syncing device ...


I've searched the forum and none of the solutions that I found is working.
I've even tried to downgrade to 374 and it doesn't let me.
Can you help me fix this?
I have the exactly the same issue for my 5T Seagate HDD. However, my other 8T WD HDD works perfect on the router w/o such errors. Even for the problematic Seagate HDD, it used to work w/o issues.

I did disk check on PC but couldn't fine any errors.
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top