Search the web
Sign In
New User? Sign Up
freebsd-questions
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
tunefs problem   Message List  
Reply | Forward Message #455901 of 455912 |
Re: tunefs problem

On Saturday 08 October 2005 16:02, Gunter Wambaugh wrote:
> Look at the output from fsck. It very clearly tells you that it
> found problems, but didn't fix them (probably because the partition
> is mounted). Notice the following lines:
> ** /dev/ad2s1a (NO WRITE)
> and
> CLEAR? no
>
> Boot to single user mode and try it again.
>
> Also, if you add fsck_y_enable="YES" to rc.conf these should be fixed
> automatically at boot (IIRC).
>
> HTH
>
> On Oct 8, 2005, at 2:32 AM, Sasa Stupar wrote:
>

It is not fsck that is cousing the trouble but tunefs itself.

From the man-page you can read:

The tunefs utility cannot be run on an active file system.
To change an active file system, it must
be downgraded to read-only or unmounted.

So to change the / partition with tunefs, you have to run
another system wich is not using that / partition.
( for instance with the fix-it cdrom )
Or you can, as the manual says, mount it read-only.
I never tried that, but maybe it will work.


_______________________________________________
freebsd-questions@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@..."



Sat Oct 8, 2005 2:44 pm

kees@...
Send Email Send Email

Forward
Message #455901 of 455912 |
Expand Messages Author Sort by Date

... # tunefs -n enable / tunefs: soft updates cannot be enabled until fsck is run tunefs: /dev/ad2s1a: failed to write superblock ... But AFAIK fsck is not...
Sasa Stupar
sasa@...
Send Email
Oct 8, 2005
7:18 am

... It means that you need to run fsck on the partition before you can enable softupdates. Something like "fsck -y /" will do it. ...
David Kirchner
dpk@...
Send Email
Oct 8, 2005
7:22 am

... # fsck -y / ** /dev/ad2s1a (NO WRITE) ** Last Mounted on / ** Root file system ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3...
Sasa Stupar
sasa@...
Send Email
Oct 8, 2005
7:33 am

Look at the output from fsck. It very clearly tells you that it found problems, but didn't fix them (probably because the partition is mounted). Notice the...
Gunter Wambaugh
unixgeek@...
Send Email
Oct 8, 2005
2:03 pm

... It is not fsck that is cousing the trouble but tunefs itself. From the man-page you can read: The tunefs utility cannot be run on an active file system. To...
Kees Plonsz
kees@...
Send Email
Oct 8, 2005
2:51 pm

--On 8. oktober 2005 9:02 -0500 Gunter Wambaugh <unixgeek@...> ... Thanx for the tip. Sasa...
Sasa Stupar
sasa@...
Send Email
Oct 8, 2005
4:44 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help