Score:0

Readonly filesystem problem!

in flag

we use ubuntu 18.04 for our applications and the app write in disk every second (save picture ) sometimes the hard disk has broken and shown readonly filesystem this is the message of error :

terminate called after throwing an instance of 'boost::filesystem::filesystem_error' what(): boost::filesystem::create_directories: Read-only file system:

i think it because from filesystem but this time i change filesystem to reiserfs and my os and application in the different disk (ssd) on ext4

in flag
You will want to check your logs (`/var/log/syslog` specifically) to determine *why* your disks are switching to read-only mode. If this is happening a lot, it either because the disk is dying or otherwise unreliable (such as a network disk that disappears from time to time).
guiverc avatar
cn flag
If a RW (read-write) file-system flips to RO (read-only) it's because of reasons (which exist in logs; did you look at what they are - I'd for sure read them!). Most commonly it's because *logical* errors are found (eg. metadata) & the flip to RO prevents data loss.. I'd also suggest checking the health of your hardware (ie. https://help.ubuntu.com/community/Smartmontools but also PSU as bad power can make good components misbehave, RAM & more..)
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.