Followup: Strange filesystm behavour

From: Diaz, Gustavo (gdiaz_at_hprmail.com)
Date: 08/06/04

  • Next message: Steve Howie: "recreating concatenation metadevice in Solaris 9 after Solaris 7"
    To: sunmanagers@sunmanagers.org
    Date: Fri, 6 Aug 2004 12:45:31 -0400 
    
    

     If I try to run an fsck I get the following:
    altair# fsck -F ufs -n b=32 /dev/dsk/c2t0d0s6
    Can't stat b=32
    ** /dev/dsk/c2t0d0s6 (NO WRITE)
    BAD SUPER BLOCK: NUMBER OF DIRECTORIES OUT OF RANGE
    USE AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION;
    eg. fsck [-F ufs] -o b=# [special ...]

    I have tried several superblocks with the same result. I use the newfs -Nv
    to get the superblocks.

    Thanks,
    Gus

    -----Original Message-----
    From: sunmanagers-bounces@sunmanagers.org
    [mailto:sunmanagers-bounces@sunmanagers.org] On Behalf Of Diaz, Gustavo
    Sent: Friday, August 06, 2004 12:16 PM
    To: sunmanagers@sunmanagers.org
    Subject: Strange filesystm behavour

     Hi all,
     I have a strange problem with a file system. It is a UFS file system,
    Solaris 8, with logging enabled. When I do a df I get this:
    /dev/dsk/c0t0d0s4 2053605 10114 1981883 1% /opt
    /dev/dsk/c0t0d0s7 22361943 635626 21502698 3% /sas
    /dev/dsk/c2t0d0s6 70574666 18446744060624891154 13154529382
    26401931016860% /sasdata
    The size of the third entry is correct at 70GB but the 'used' and 'avail'
    are way off. It was not always this way, the numbers for the /sasdata mount
    were right, this happened after a system crash. I can access all the data
    just fine but can't run an fsck on the system. It keeps asking for an
    alternate superblock, even though I have tried several different ones. Any
    idears??

    Thanks in advance,
    Gus Diaz

    Gus Diaz
    Network Engineer
    Health Products Research, Inc.
    3498 Route 22 West * Whitehouse NJ 08888
    (908) 534-4148 Ext 1042 *gdiaz@hprmail.com
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers


  • Next message: Steve Howie: "recreating concatenation metadevice in Solaris 9 after Solaris 7"

    Relevant Pages

    • RE: serioup problem after running fsck
      ... I'm not an expert in recovery and I'm not sure you could recover at ... > The easiest and first thing is to run fsck again (although I ... Running it once is no guarantee that the file system ... > shutdown command from the command line or the shutdown menu ...
      (RedHat)
    • fstab entries for external USB hard drives led to fsck.ext3 failure on boot, bug?
      ... 'F!3@$%ing fsck! ... Please repair the file system manually. ... CONTROL-D will terminate this shell and resume system boot. ... were to allow me to quickly mount an external hard drive ...
      (Debian-User)
    • Re: fsck - how to use?
      ... I got some lost files and some other file system ... > that there aren't any problems with the files on the disk as a result of the ... > that it is dangerous to run fsck on a mounted partition. ...
      (linux.redhat.misc)
    • Re: [SLE] How do I use fsck????
      ... > it couldn't fsck and that I would have to do it manually. ... in single user mode to fsck root, AND the root file system must be ... root or mounted file system, ...
      (SuSE)
    • Re: dangerous situation with shutdown process
      ... softupdates sometimes do take a long ... >>then fsck, then shutdown. ... Actually an fsck on a live filesystem will force the softupdates to ... You can fsck a mounted file system and fsck will run in read-only ...
      (freebsd-stable)