Score:0

Broken text file on Ubuntu 20.04

in flag

Like i said in the title, i have Ubuntu 20.04. I was doing some stuff and i noticed that one little text file that i have where i save some important stuff its suddenly broken. I think its size its fine but when i open it say me a error and i cant see nothing. Unexpected error: Error reading from file: Value too large for defined data type -> This is the error message, i hope someone can help me to recover my file, well isnt deleted but like if was it because i cant do nothing with it.

guiverc avatar
cn flag
I would stop using your system, boot a *live* system and `fsck` your file-systems. Note: I'm limited to what you provide, so have no idea what *fs* you're using, if desktop/server etc nor what type of file. I'd also likely use `file` & `stat` to view the data in the file & metadata related to file.. but I'd likely do that from *live* media and decide what to do then... We keep backups for this purpose though; things do go wrong (*I'd likely check drive health during the live session as the corruption could be symptom of another issue, then likely check PSU, motherboard & hardware etc*..)
in flag
Is the file stored on a FAT-formatted partition, and is it 4GB in size? If so, you’ve hit a file system limit and will need to copy the file to a location with a different file system (such as Ext4, ZFS, etc.) before more data can be written.
Ivoyko Asuka avatar
in flag
its a 10 kb file lmao inside a ntfs partition. i will try the first reply :D.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.