Reply
 
Thread Tools Display Modes
  #1  
Old 12-18-2005, 12:46 PM
Almindor Almindor is offline
Member
 
Join Date: Dec 2005
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default Softupdates on /
How do I set softupdates on root (/) partition?

I tried this:
init 1 (go single)
mount -o ro / (read only)
tunefs -n enable / (enable softupdates)

And the result I got was:
tunefs: softupdates set
tunefs: failed to write superblock

What am I doing wrong?[/code]
Reply With Quote
  #2  
Old 01-04-2006, 07:48 PM
takeda takeda is offline
Junior Member
 
Join Date: Jan 2006
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Softupdates on /
[quote="Almindor"]How do I set softupdates on root (/) partition?

I tried this:
init 1 (go single)
mount -o ro / (read only)
tunefs -n enable / (enable softupdates)

And the result I got was:
tunefs: softupdates set
tunefs: failed to write superblock

What am I doing wrong?[/code]

It worked for me, except, to singleuser right away, after that countdown at the booting system I pressed other key than enter, and entered boot -s.
I was required to run fsck before FBSD it let me to change this.
Reply With Quote
  #3  
Old 02-08-2006, 02:07 AM
takeda takeda is offline
Junior Member
 
Join Date: Jan 2006
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Correction, I just learned that after rebooting system, PCBSD forgets about softupdates.
This is some PCBSD only issue, I have FreeBSD on two other computers and I don't see any problems like this (softupdates can be enabled even after init 1)

So any PCBSD developer can say what kind of changes were done around filesystem? I only noticed refresh_fstab script, but I don't think fstab has much to do with it. It looks more like something on kernel level that probably disallows raw write into the disk e.g. even fsck cannot fix errors on read-only mount. It can be only started after booting into single user mode.
Reply With Quote
  #4  
Old 02-09-2006, 03:03 PM
Almindor Almindor is offline
Member
 
Join Date: Dec 2005
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Perhaps it's some option in kernel which in standard FreeBSD kernel isn't set or is set and in PCBSD it's otherwise. I don't think any of the PCBSD guys touched the kernel in any "deep" way.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Journaling vs SoftUpdates test report Freebuilder FreeBSD Help 0 10-22-2008 01:29 PM
Journaling/SoftUpdates? Freebuilder FreeBSD Help 2 10-22-2008 05:56 AM
Softupdates Almindor General Bug Reports 0 02-11-2006 09:24 AM


All times are GMT. The time now is 04:14 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.