![]() |
Re: How to check partitions (fsck)
hi guys, it's possible to schedule periodically fsck at boot time (eg: once a mounth) at start up, before maemo mounts partitions? like ubuntu..
it should be a great stuff!! |
Re: How to check partitions (fsck)
Please look into the options of tune2fs.
There is the -c for maximum mount count and there is -i for intervals between checks. |
Re: How to check partitions (fsck)
Thank you michaaa62 but I don't know if tune2fs works with ubifs (and, more general, if exists a tool for this filesystem!!).
I sought on internet about tune2fs and ubifs without success... I opened a new thread to know it. I hope no reflash one more time... :( |
Re: How to check partitions (fsck)
Quote:
|
Re: How to check partitions (fsck)
Backupmenu by RobbieThe1st has fsck of everything except rootfs, and can expose also the /opt fs in mass storage mode to an external computer to fsck it.
|
Re: How to check partitions (fsck)
Quote:
from terminal: root umount /dev/mmcblk0p1 fsck /dev/mmcblk0p1 problems are with /dev/mmcblk0p2 and p3 partitions... debernardis please, how to fsck /opt when n900 is connected to pc as mass storage? I can see only /Mydocs (/dev/mmcblk0p1) thank you edit: i read your reply to my thread how to check ubifs. about /opt/ i had to install and use backupmenu application. thank you :) |
Re: How to check partitions (fsck)
ok thanks to backupmenu I checked and corrected /opt/ but I'm sure I've to check rootfs too. since it seems impossible to check it, maybe I can backup /opt/ and /Mydocs/ partitions, reflash device and restore its (so in this case I should correct just rootfs). what do you thik about it? Can I do that or after reflash I loose links from rootfs and /opt/?
|
Re: How to check partitions (fsck)
Well you could as well reflash rootfs and reinstall your apps without restoring /opt, because /opt contains the majority of apps files. You lose only the contents of /home, but a recent backup (with the stock backup app) should contain most of it. so the only thing you should take care to backup is MyDocs - and this especially if you intend to flash also the emmc, which erases MyDocs.
|
Re: How to check partitions (fsck)
mmmhhh reflashing everytime there is a rootfs problem is too much a windows-like method! :D
I prefer use a tool like fsck using reflash mode just for extreme situations! ;) |
Re: How to check partitions (fsck)
Quote:
My N900 is with custom kernel, over-clocked, a bunch of apps (incl. RobbieThe1st - latest ver - i think its 0.62-1) and it was working fine, till today. When i was cropping the picture on the phone, it restarted. Few hours before that I fsck-ed all partitions with "RobbieThe1st" and they were OK. After crash, I checked them again and on "Checking the OptFS..." it gave me this prompt: "Errors may have been encountered: code:4 /dev/mmcblk0p2: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY (i.e., without -a or -p options)" I think this is /home path, so many things on the phone are not working (obviously :( ) I tried to fsck on tablet, but I cant unmount /home. I was googling whole day, but just cant find a solution. Now here comes the question: How can I fsck /mmcblk0p2 via terminal on OSX? I am a noob, so please explain in details :rolleyes: A big thanks to one with an answer and I hope I would not need to reflash N900 again. |
All times are GMT. The time now is 22:00. |
vBulletin® Version 3.8.8