Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
Due to network maintenance being performed by our provider, LQ will be down starting at 05:01 AM UTC. The exact duration of the downtime isn't currently known. We apologize for the inconvenience.
|
 |
05-15-2010, 05:31 AM
|
#1
|
|
Senior Member
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546
Rep:
|
How to check JFS disks (fsck.jfs) at every boots using tune2fs like tool?
Hello,
Fstab has at the end some values: 0 1 for / or 0 2 for /home or others.
It is nice to set tune2fs -c 2 for disks that have to be reliable and increase the security of the data.
tune2fs is not working for JFS. How to make this check at every single boot of the Debian/ubuntu machine?
|
|
|
|
05-16-2010, 04:23 AM
|
#2
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,612
|
tune2fs is only for ext* filesystems. What exactly do you want to do, I think making 'fsck' run on every boot will do what you want. If not, be more explicit about what you need to do and why.
|
|
|
|
05-16-2010, 04:47 AM
|
#3
|
|
Senior Member
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546
Original Poster
Rep:
|
Quote:
Originally Posted by H_TeXMeX_H
tune2fs is only for ext* filesystems. What exactly do you want to do, I think making 'fsck' run on every boot will do what you want. If not, be more explicit about what you need to do and why.
|
Usually for the EXT3 I was using Anyhow this resulted in corrupted disks / FS, and I lost lot of data. Maybe I shall buy a better stabilized power supply.
I have set all disks with tune2fs -c 2 and the disks with JFS (which is more stable than ext) has no way to be set to be checked at every single boot.
I boot once or twice a week, and I hope this can fix and cure all bad clusters from the disks. Still for JFS there is nothing done. I hoped that all lost clusters are fixed, and disks clean most of the time, and ultimately that the data never lost. But although this tune2fs -c experience proved that EXT are very fragile, i.e. not within the data but at the beginning of the disk. A deeper check of all disks, JFS & ext, at every single boot would be the aim.
|
|
|
|
05-16-2010, 07:33 AM
|
#4
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,612
|
What distro is this ? I mean on Slackware it is run on every boot, or whenever it shutdown improperly.
|
|
|
|
05-21-2010, 06:43 AM
|
#5
|
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 12.3_64-KDE, Ubuntu 12.04, Fedora 17, Mint 14, Chakra
Posts: 3,517
Rep: 
|
Try "shutdown -h -F now" that'll force a check on the next reboot.
|
|
|
|
05-21-2010, 11:49 AM
|
#6
|
|
Senior Member
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546
Original Poster
Rep:
|
Quote:
Originally Posted by H_TeXMeX_H
What distro is this ? I mean on Slackware it is run on every boot, or whenever it shutdown improperly.
|
It is debian testing. at boot I see many lines moving, and it seems it does look some harddisks a bit. But I am sure it is not a big deep seeking. It shall fix the disks better cuz it lasts 1-2 secs
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:14 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|