freebsd boot and fsck problem

From: Jennifer (jennifer_at_tevn.com)
Date: 08/27/03

  • Next message: Ramanan Selvaratnam: "Re: Win to FreeBSD in company"
    To: <questions@freebsd.org>
    Date: Wed, 27 Aug 2003 13:47:33 +1000
    
    
    

    Dear FreeBSD people

    I started to learn and used FreeBSD from last year. And I found FreeBSD is
    really very powerful and lovely. But I am also a little scared of it, for
    then it has problem, I just do not know how to fix it.

    Here I came up a big emergent problem this morning, and I wish you can give
    me your precious advice and help.

     I have been using a script drivecopy.sh for a couple of months to do full
     backup once a week. This drivecopy.sh is a small scripts to copy whole IDE
    HDD (of freeBSD)
     to another HDD. Please have a look at the attached script drivecopy.sh
     It worked very fine till yesterday.

     Last night, As usual,I started ./drivecopy.sh to backup my FreeBSD4.3
    server
     (Disk1) on another HDD(Disk2). Disk2 has been used successfully as backup
     for more than 10 times with same procedure of ./drivecopy.sh.
     So it seemed the start up going smoothly, then I left the server room.
     This morning, when I came to check the server and backup. (which was
     supposed to have finished). And I surprised to find all those horrible
    error
     messages on the console screen:

     ***start to quote error message
     ad0s2e: had error reading fsbn 97103692 of 3473456-3473467(ad0s2 bn
     97103692; cn 6044 fn 108 sn 28) status=59 error=40
     cannot read: BLK 3473456
     UNEXPECTED SOFT UPDATE INCONSISTENCY.
     **end of error message quote
     So I had to force to suspend the backup process by pressing Ctrl+Z.
     Then I tried to reboot Disk1. I had problem during the booting process.

     **start to quote error message
     ....
     chflags: not found
     chown: not found
     cd: can't cd to /var/run
     cd: can't cd to /var/spool/lock
     /etc/rc: cann't create /var/run/dmesg.boot directory nonexistent
     cd: can't cd to /var/run
     /etc/rc: cannot ceate
     /var/run/clean_var:dirctory nonexitent.
     Enter full path of shell or return for /bin/sh
     .....
     **end of error message quote
     Then I just press Enter and came to the single boot mode. I typed the
     following command to try to munually fsck the problem partition.
     #fsck /dev/ad0s2e
     The console then showed the following message.
     **/dev/ad0s2e
     **Last mounted on /www
     **Phase 1 -check block & size
     cannot read: BLK 19596336
     UNEXPECTED SOFT UPDATE INCONSISTENCY
     continue [y/n]

     .......
     Looks like the manual fsck doesn't working here.
     Then I tried my luck to boot Disk2.Unfortunately, it showed the same errors
     as Disk2 during booting.

     Your advice will be highly appreciated.

     Jennifer

     P.S. The attached is my drivecopy.sh,which had worked fine for the previous
     backup processes except yesterday. So I do not think anything wrong with
    the
     drivecopy.sh itself. There must be something wrong with my yesterday's
     backup process, though I can not find out what it is.

    
    
    

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



  • Next message: Ramanan Selvaratnam: "Re: Win to FreeBSD in company"

    Relevant Pages

    • freebsd boot and fsck problem
      ... I started to learn and used FreeBSD from last year. ... Last night, As usual,I started ./drivecopy.sh to backup my FreeBSD4.3 ... So I had to force to suspend the backup process by pressing Ctrl+Z. ... **start to quote error message ...
      (freebsd-questions)
    • Re: Restore Error Message
      ... ..bkf file does not conform to the format expected by ntbackup.exe. ... This could happen if the backup process went wrong, ... The error message is "backup files contains unrecognized ...
      (microsoft.public.windows.server.general)
    • Re: file system setup for new system - recommendations?
      ... Your planned usage sounds alot like the way I use FreeBSD. ... config files and your personal data (unless you want to backup other boxes to ... very often like disklabel to partition or newfs, ... Web pages and mailing lists would be in home. ...
      (freebsd-questions)
    • Re: Simple BSD Backup System
      ... simple system for doing a backup of my installation in FreeBSD. ... operation on one filesystem. ... needs particular support for a particular filesystem. ...
      (comp.unix.bsd.freebsd.misc)
    • Re: Backup software
      ... >> Does anyone knows something if there is good backup software for FreeBSD? ... create a FreeBSD volume Mac clients can use, use Mac tools to back them up ... UNIX/MS Windows network (assuming you do something else for MS Windows ...
      (comp.unix.bsd.freebsd.misc)