tunefs problem

Sasa Stupar sasa at stupar.homelinux.net
Sat Oct 8 00:32:47 PDT 2005



--On 8. oktober 2005 0:20 -0700 David Kirchner <dpk at dpk.net> wrote:

> On 10/8/05, Sasa Stupar <sasa at stupar.homelinux.net> wrote:
>> I am trying to enable tunefs for my filesystem but I get the following:
>> -------------
>> # 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 running.
>>
>> What am I missing here?
>>
>> Regards,
>> Sasa
>
> It means that you need to run fsck on the partition before you can
> enable softupdates. Something like "fsck -y /" will do it.

I have done it but:
-----------
# fsck -y /
** /dev/ad2s1a (NO WRITE)
** Last Mounted on /
** Root file system
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
UNREF FILE I=1719827  OWNER=mysql MODE=100600
SIZE=0 MTIME=Oct  6 12:19 2005
CLEAR? no

UNREF FILE I=1719847  OWNER=mysql MODE=100600
SIZE=0 MTIME=Oct  6 12:19 2005
CLEAR? no

UNREF FILE I=1719855  OWNER=mysql MODE=100600
SIZE=0 MTIME=Oct  6 12:19 2005
CLEAR? no

** Phase 5 - Check Cyl groups
405241 files, 14013004 used, 4821771 free (72987 frags, 593598 blocks, 0.4% 
fragmentation)
mig29# tunefs -n enable /
tunefs: soft updates cannot be enabled until fsck is run
tunefs: /dev/ad2s1a: failed to write superblock
------------

Still the same issue.
Anything else should I do?

Regards,
Sasa

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20051008/70b976b4/attachment.bin


More information about the freebsd-questions mailing list