From owner-freebsd-questions Wed May 10 10: 3:55 2000 Delivered-To: freebsd-questions@freebsd.org Received: from djl01.djl.co.uk (djl01.djl.co.uk [195.58.135.195]) by hub.freebsd.org (Postfix) with ESMTP id D9D7337B55E for ; Wed, 10 May 2000 10:03:47 -0700 (PDT) (envelope-from David.Larkin@djl.co.uk) Received: from DJL.co.uk (djl02.djl.co.uk [195.58.135.196]) by djl01.djl.co.uk (8.9.2/8.9.2) with ESMTP id SAA06391; Wed, 10 May 2000 18:03:46 +0100 (BST) Message-ID: <391988B1.F8D15766@DJL.co.uk> Date: Wed, 10 May 2000 17:05:06 +0100 From: David Larkin Organization: DJL Software Consultancy Ltd X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 2.2.5-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG, Dirk-Willem van Gulik , Nick Hibma Subject: mounting old filesystem - Re: panic: vinvalbuf: dirty bufs References: <3917D5E5.951393B@DJL.co.uk> <39182044.30B433BF@DJL.co.uk> Content-Type: multipart/alternative; boundary="------------E857D1A260B079FE36559FE9" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --------------E857D1A260B079FE36559FE9 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, Further to the problems I reported yesterday - panic : vinvalbuf: dirty bufs - fixit floppy I couldn't work out what to do in fixit, so I installed 3.4 on another disk, which is now up and running, so I can forget about the fixit floppy problem. I've now put the old disk in as a 'slave' and when I boot it recognises the disk as /dev/wdc1 What I want to do is try and mount my old /usr partition and hopefully recover some files. I was hoping to do something like mount /dev/wd1s1f /mnt but /dev/wd1s1f does not exist I guess I need to do 'newfs' or something similar, but the man page is a little cryptic. Can anyone point me in direction of a tutorial style document ? Thanks in advance Dave David Larkin wrote: > Hi, > Still trying to get to bottom of 'panic: vinvalbuf: dirty bufs' > problem described below. > > I've now booted the fixit floppy > > Could someone advise me how to check that certain files > still exist on the hard disk. > > I guess I need to mount my /usr partition as /mnt > > /usr was /dev/wd0s1f > > on fixit floppy I have /dev/wd0s1 & /dev/rwd0s1 > > Can I mount the /usr partition ??? > > Assuming I can, and that I find the files I'm particularly keen > not to lose, can I get them off , to floppy or by ftp ? > They are modest sized source files. > > I've not been able to find any documentation on using fixit. > Could someone point me in right direction. > > Thanks in advance > Dave > > > David Larkin wrote: > >> Hi, >> Is anyone familiar with the error message >> >> panic: vinvalbuf: dirty bufs >> >> I've looked through archives, and seen similar messages during >> installation, or creating new filesystems, but I'm getting it >> on a system that's been working fine for some time. >> >> AMD-K6(tm)-2/450 >> 256 MB RAM >> FUJITSU MPD3173AT >> FreeBSD 3.3 >> >> Suddenly last week I started getting system crashes and had to >> run FSCK manually a couple of times. >> >> I then noticed the following error occuring at regular intervals. >> >> soft error writing fsbn >> >> the system has now crashed and now will not boot. >> >> Changing root device to wd0s1a >> WARNING: / was not properly dismounted >> swapon: adding /dev/wd0s1b as swap device >> Automatic reboot in progress... >> /dev/rwd0s1a: 1026 files, 26068 used, 37435 free (283 frags, 4644 >> blocks, 0.4% fragmented) >> /dev/rwd0s1f: FILESYSTEM CLEAN: SKIPPING CHECKS >> /dev/rwd0s1f: clean, 6471325 free (1041541 frags, 678723 blocks, >> 6.6% fragmentation) >> /dev/rwd0s1e: FILESYSTEM CLEAN: SKIPPING CHECKS >> /dev/rwd0s1e: clean, 21123 free (451 frags, 2584 blocks, 1.1% >> fragmentation) >> panic: vinvalbuf: dirty bufs >> syncing disks... 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 giving up >> >> Clearly anyone knowing the exact solution would be most welcome. >> However interpretation of the error messages to give a best guess on >> the following would be a start. >> >> Is this a disk hardware problem ? >> Is it configuration problem ? >> Are contents of disk corrupt ? >> Could this be anything to do with large filesystems ? >> >> It's a 17GB disk, and I've recently added new data taking the /usr >> partition up to about 65% full. >> >> Any advice would be welcome, Thanks in Advance >> Dave >> >> ---------------------------------------------------- >> David Larkin, >> D.J.L. Software Consultancy Ltd. The Industry Centre, >> Sunderland Enterprise Park, SR5 3XB UK >> Switchboard Tel: 44 191 5152666 Fax: 44 191 5152669 >> Direct Line Tel: 44 191 5153527 Fax: 44 191 5153527 >> Email David.Larkin@DJL.co.uk >> SMS-Email David.Larkin.SMS@DJL.co.uk (Max 160 char) >> ----------------------------------------------------- >> --------------E857D1A260B079FE36559FE9 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Hi,
Further to the problems I reported yesterday
- panic : vinvalbuf: dirty bufs
- fixit floppy

I couldn't work out what to do in fixit, so I installed 3.4 on
another disk, which is now up and running, so I can forget
about the fixit floppy problem.

I've now put the old disk in as a 'slave' and when I boot it
recognises the disk as /dev/wdc1

What I want to do is try and mount my old /usr partition
and hopefully recover some files.

I was hoping to do something like

mount /dev/wd1s1f /mnt

but /dev/wd1s1f does not exist

I guess I need to do 'newfs' or something similar, but
the man page is a little cryptic.

Can anyone point me in direction of a tutorial style document ?

Thanks in advance
Dave
 

David Larkin wrote:

Hi,
Still trying to get to bottom of 'panic: vinvalbuf: dirty bufs'
problem described below.

I've now booted the fixit floppy

Could someone advise me how to check that certain files
still exist on the hard disk.

I guess I need to mount my /usr partition as /mnt

/usr was /dev/wd0s1f

on fixit floppy I have /dev/wd0s1 & /dev/rwd0s1

Can I mount the /usr partition ???

Assuming I can,  and that I find the files I'm particularly keen
not to lose, can I get them off ,  to floppy or by ftp ?
They are modest sized source files.

I've not been able to find any documentation on using fixit.
Could someone point me in right direction.

Thanks in advance
Dave
 

David Larkin wrote:

Hi,
Is anyone familiar with the error message

panic: vinvalbuf: dirty bufs

I've looked through archives, and seen similar messages during
installation, or creating new filesystems, but I'm getting it
on a system that's been working fine for some time.

AMD-K6(tm)-2/450
256 MB RAM
FUJITSU MPD3173AT
FreeBSD 3.3

Suddenly last week I started getting system crashes and had to
run FSCK manually a couple of times.

I then noticed the following error occuring at regular intervals.

soft  error writing fsbn

the system has now crashed and now will not boot.

Changing root device to wd0s1a
WARNING: / was not properly dismounted
swapon: adding /dev/wd0s1b as swap device
Automatic reboot in progress...
/dev/rwd0s1a: 1026 files, 26068 used, 37435 free (283 frags, 4644 blocks, 0.4% fragmented)
/dev/rwd0s1f: FILESYSTEM CLEAN: SKIPPING CHECKS
/dev/rwd0s1f: clean, 6471325 free (1041541 frags, 678723 blocks, 6.6% fragmentation)
/dev/rwd0s1e: FILESYSTEM CLEAN: SKIPPING CHECKS
/dev/rwd0s1e: clean, 21123 free (451 frags, 2584 blocks, 1.1% fragmentation)
panic: vinvalbuf: dirty bufs
syncing disks... 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 giving up

Clearly anyone knowing the exact solution would be most welcome.
However interpretation of the error messages to give a best guess on the following would be a start.

Is this a disk hardware problem ?
Is it configuration problem ?
Are contents of disk corrupt ?
Could this be anything to do with large filesystems ?

It's a 17GB disk, and I've recently added new data taking the /usr
partition up to about 65% full.

Any advice would be welcome, Thanks in Advance
Dave

----------------------------------------------------
David Larkin, 
D.J.L. Software Consultancy Ltd. The Industry Centre, 
Sunderland Enterprise Park, SR5 3XB  UK
Switchboard Tel: 44 191 5152666 Fax: 44 191 5152669
Direct Line Tel: 44 191 5153527 Fax: 44 191 5153527
Email     David.Larkin@DJL.co.uk
SMS-Email David.Larkin.SMS@DJL.co.uk (Max 160 char)
-----------------------------------------------------

 

--------------E857D1A260B079FE36559FE9--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message