Amicuk Programming Answers

Filesystem goes read-only

2015-10-11   Views:2


Hi, all Yesterday, OVM Server3.1.1 was crashed. due to ovspoolfs.img was corrupted. I recovered ovspoolfs.img.(but OVM Manager didn't recognize that server.) Main problem is that Filesystem goes read-only. I checked out /var/log/messages. but There a

Hi, all
Yesterday, OVM Server3.1.1 was crashed. due to ovspoolfs.img was corrupted. I recovered ovspoolfs.img.(but OVM Manager didn't recognize that server.)
Main problem is that Filesystem goes read-only. I checked out /var/log/messages. but There are no disk errors or I/O erros.
Does anyone know what could be causing this problem or any solutions?
Thank you for your help.

The replay answer
Thanks for all these great tips!
As R00KIE pointed out I don't have a good backup system. I think I will go to my computer shop next monday to fix some good backup drive, because this quite scared me actually.
As for now I acted as follows:
Reboot, try to remount /srv and /opt [they are on the same disk].
Result: Bulks of errors. Lots of "soft resetting link" and "link to slow".
Another reboot, which kicked me in single user mode. I was had to remount / and was able to alter /etc/fstab, so that /srv and /opt were not mounted by default.
Shutdown system, open the casing.
Clean internals with vacuum cleaner. Unplug all harddisk cables and plug them back again.
Fire up the system. Mount /srv.
Try to make backup of important data on /srv.
This seemed to work, and there are no errors anymore. Probably some cable was loose, somehow. But I still do not really trust the situation, and will fix some backup routine.
Thanks again for all the tips and tricks. I will definitely run some extra checks and utilities from now on!
P. S.: Running "e2fsck -f -y -v" on both /srv and /opt says everything is fine. No errors, no bad blocks.
Last edited by jocom (2011-01-01 13:50:06)

Go to See the other 18 answers

Delete file from the filesystem?

Category:DefaultRelease time:2015-10-11Views:130

Hello, I have an easy question. But I don´t find the right oracle packages. I want to delete a file from the filesystem. How can I do this? Thanks for your help!Paul, If connecting to the Web server on East-Coast USA is not optimal for you, or if you[More]

Read only filesystem problem

Category:DefaultRelease time:2015-10-11Views:130

Hi, I have a strange problem. After some time of running archlinux the root filesystem suddenly becomes read-only. It happened 3 times yet. I'm using LVM and the root volume is /dev/mapper/VG0-archlinux2 and filesystem type is reiserfs. If i tried to[More]

GOS - Saving in the filesystem

Category:DefaultRelease time:2015-10-11Views:130

Hello, I would like to know if it's possible to save the file send thrue the GOS into the SAP filesystem ?? I have played with OAC0 / OAC1 / OAC3 / SWO1 ... and finaly with SKPR08, but I can't find a way to simply saved the document into a file in th[More]

Does SAP support Solaris 10 ZFS filesystem when using DB2 V9.5 FP4?

Category:DefaultRelease time:2015-10-11Views:130

Hi, I'm installing NW7 (BI usage). SAPINST has failed in the step "ABAP LOAD due to the DB2 error message "Unsupported file system type zfs for Direct I/O". It appears my Unix Admin must have decided to set these filesystems as ZFS on this[More]

Filesystem not accessable after ios 8 upgrade

Category:DefaultRelease time:2015-10-11Views:130

Hey experts, i have recently upgraded my iPhone 5 to  IOS 8. Now it is not possible to access the filesystem for e.g. copying photos from the iphone. The iPhone simply doesn't show up on my Windows 7 PC as a drive. I have tested it on several PCs. Is[More]

[Solved] Problem with upgrading polkit or filesystem

Category:DefaultRelease time:2015-10-11Views:130

Ok so first off they do "upgrade" but the problem has me worried that something is wrong. A week or so ago after converting to systemd I tried getting rid of ConsoleKit and installing polkit 0.107 from the [testing] repo but it caused pacman to[More]

File in filesystem locked for deletion

Category:DefaultRelease time:2015-10-11Views:130

Hi, I have a problem with the deletion of a file from the filesystem. I have created a file with: File file = new File("download.csv"); then fill the file through a RFC call to the backend and a third party CSV Writer. Finally I want to transfor[More]

Deleting files from the filesystem

Category:DefaultRelease time:2015-10-11Views:130

How can you delete a file from the filesystem in Java? Is it possible? ThanksFile file = new File("c:\\test\\abc.txt"); file.delete();Read other 2 answers[More]

Finding whole mapping from database file - filesystems - logical volume manager - logical partitions

Category:DefaultRelease time:2015-10-11Views:130

Hello, Trying to make reverse engeneering of database files and their physical carriers on logical partitions ( fdisk ). And not able to make whole path from filesystem down to partitions with intermediate logical volumes. 1. select from dba_data_fil[More]

[SOLVED] df -h does not reflect true root filesystem size

Category:DefaultRelease time:2015-10-11Views:130

Why does df -h show root filesystem as being only 20G? df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/cryptroot 20G 15G 4.6G 76% / dev 7.7G 0 7.7G 0% /dev run 7.7G 668K 7.7G 1% /run tmpfs 7.7G 70M 7.7G 1% /dev/shm tmpfs 7.7G 0 7.7G 0% /[More]

How read word document in form from server's filesystem?

Category:DefaultRelease time:2015-10-11Views:130

I want develope an application using client/server framework: In server's filesystem hold a variety of files,for example, .doc,.xls,.pdf,information about these files(for example,file type,file name,file summary) hold in a table,as well as file point[More]

Hi, I am trying on an ECC 6.0 EHP6 system to upload (open) POs from an existing SAP ERP system. Since I faced some complications in batch input recording method, I decided to go with the standard batch/direct input method. I selected object 0085 (Pur [More]
What is the maximum resolution available for use with the Apple Mini DisplayPort to Dual-Link DVI adapter?Hey guys, I found out an answer by myself... The missing link : the MacBook Pro needs to be powered... as in you need to plug the charger in... [More]
I mentioned this in the beta call on Wednesday, but I thought I would enter it here to follow-up on.... We have a business need to be able to interrogate the roles assigned to a user in our process flow. Here is an example: 1. A user enters some data [More]
keynote presentation partially lostIf you have selected Outline View, the heading and body text should show on the slide (see below): If there are no text boxes on the slide but the text remains in Outline View, you can copy and paste the text direct [More]
Hi all i am using Linux fedora 4 i have created a directory create directory clob_dir as '/db10g/my_dir'; and created a table from examples of a book i have CREATE TABLE BFILE_DOC (     ID INTEGER,      BFILE_CLMN BFILE And a procedure to read a text [More]
I'm not a Luddite but ... Don't want Cloud, too many problems, and don't want to update to iTunes 10.7 if match is included. So the question becomes how do I get updates for my apps without the new iTunes store agreement. I feel as though I'm dealing [More]
Hi gurus, I am aware that available.log is the file where we can see the status of the monitored process for an instance and it is located in work directory. I also guess it is not 100% reliable. I would like to know what are the monitored process fo [More]
Hi All, There were requirement to create a auto forward rule for almost more than 5000 users, which we did, but the we want to apply this rules to the messages which are already in the inbox for all those users where we have created the rule. Right n [More]
Hello. I have a new question. After updating a Pavilion 15 Notebook PC from 8.0 to 8.1, and having installed numerous, mostly, security-updates, my computer started  having problems. When I want to play a video on, for example, Utube, it has difficul [More]
Lightroom needs a way to make individual adjustments to selected areas of an image. Currently, I create three or more versions of each image with different adjustments, export those images as TIF, import them into photoshop layers, mask the layers an [More]