On Mar 5, 2009, at 7:58 PM, LuKreme wrote:

> Ideas?

After you unmount /dev/backup run an fsck against it. You may need to  
tell it to use an alternate superblock if the default one is  
corrupted or unavailable. i.e.,

  The following flags are interpreted by fsck.

      -b          Use the block specified immediately after the flag  
as the
                  super block for the filesystem.  Block 32 is  
usually an
                  alternate super block.

Or take a look at it with Disk Utility. It should pick the right  
utilities to run on the partition appropriate to the filesystem on it.

>
> On Mar 5, 2009, at 12:55, LuKreme <[email protected]> wrote:
>   $ df -h
>> Filesystem     Size    Used   Avail Capacity  Mounted on
>> /dev/ad0s1     140G     30G     99G    23%    /
>> devfs          1.0K    1.0K      0B   100%    /dev
>> /dev/ad1s1c    144G    107G     26G    80%    /backup
>> devfs          1.0K    1.0K      0B   100%    /var/named/dev
>>  $ umount /backup
>>  $ df -h
>> Filesystem    Size    Used   Avail Capacity  Mounted on
>> /dev/ad0s1    140G     30G     99G    23%    /
>> devfs         1.0K    1.0K      0B   100%    /dev
>> devfs         1.0K    1.0K      0B   100%    /var/named/dev
>>  $ tunefs -m 1 -o space /dev/ad1s1c
>> tunefs: minimum percentage of free space changes from 8% to 1%
>> tunefs: should optimize for space with minfree < 8%
>> tunefs: optimization preference changes from time to space
>> tunefs: /dev/ad1s1c: failed to write superblock
>>  $ df -h
>> Filesystem    Size    Used   Avail Capacity  Mounted on
>> /dev/ad0s1    140G     30G     99G    23%    /
>> devfs         1.0K    1.0K      0B   100%    /dev
>> devfs         1.0K    1.0K      0B   100%    /var/named/dev
>>
>> WTF?
>>
>>  $ mount -a
>>  $ df -h
>> Filesystem     Size    Used   Avail Capacity  Mounted on
>> /dev/ad0s1     140G     30G     99G    23%    /
>> devfs          1.0K    1.0K      0B   100%    /dev
>> devfs          1.0K    1.0K      0B   100%    /var/named/dev
>> /dev/ad1s1c    144G    107G     26G    80%    /backup
>>
>> -- 
>> Hamburgers. The cornerstone of any nutritious breakfast.

Doughnuts and Mountain Dew -- because breakfast is the most important  
meal of the day.

>>
>> _______________________________________________
>> OSX-Nutters mailing list | [email protected]
>> http://lists.tit-wank.com/mailman/listinfo/osx-nutters
>> List hosted at http://cat5.org/
>>
> _______________________________________________
> OSX-Nutters mailing list | [email protected]
> http://lists.tit-wank.com/mailman/listinfo/osx-nutters
> List hosted at http://cat5.org/
>

_______________________________________________
OSX-Nutters mailing list | [email protected]
http://lists.tit-wank.com/mailman/listinfo/osx-nutters
List hosted at http://cat5.org/

Reply via email to