From owner-freebsd-fs Thu Apr 27 10:13:14 1995 Return-Path: fs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA24784 for fs-outgoing; Thu, 27 Apr 1995 10:13:14 -0700 Received: from sed.cs.fsu.edu (sed.cs.fsu.edu [128.186.121.157]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id KAA24776 for ; Thu, 27 Apr 1995 10:13:12 -0700 Received: by sed.cs.fsu.edu (8.6.9/56) id NAA05764; Thu, 27 Apr 1995 13:13:09 -0400 Message-Id: <199504271713.NAA05764@sed.cs.fsu.edu> Subject: Help! Filesystem errors To: freebsd-fs@freebsd.org Date: Thu, 27 Apr 1995 13:13:09 -0400 (EDT) From: bynum@NU.cs.fsu.edu (Mark J. Bynum) Reply-to: bynum@NU.cs.fsu.edu X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1696 Sender: fs-owner@freebsd.org Precedence: bulk I was trying to do a couple of things to my IDE drive at one time (copying files from it, two sets of gunzips on different partitions) and here is what happened: Note: the drive is a mostly MSDOS (except for a 1 meg FreeBSD partition) drive and is mounted in FreeBSD 2.0R. Apr 26 08:09:18 apollo kernel: getblk: invalid buffer size: 34816 Apr 26 08:09:18 apollo kernel: getblk: invalid buffer size: 65536 Apr 26 08:16:11 apollo kernel: getblk: invalid buffer size: 65536 Apr 26 08:16:11 apollo kernel: getblk: invalid buffer size: 34816 Apr 26 08:16:12 apollo kernel: getblk: invalid buffer size: 34816 Apr 26 08:16:12 apollo kernel: getblk: invalid buffer size: 65536 Apr 26 08:16:12 apollo kernel: getblk: invalid buffer size: 34816 I didn't think much of these and proceeded to do a "rm -rf" to a DOS directory in FreeBSD. It worked. After rebooting into DOS I noticed that the partition that I did the "rm -rf" on had NO files!? I know that I only removed a directory and not every single directory. Scandisk (in DOS 6.2) reports there are lost clusters amounting to 114MB (all the files on the disk) and asks if I should save them to a file. Also under freebsd I get all types of garbage being present on the filesystem (files with bad names, files with escape characters in their names etc). What should I do? Another related question: Has there been any work done on mounting DOS filesystems since 2.0R? If not, then does everyone mount DOS filesystems as read only to avoid these types of problems (another problem of "mv"ing on a DOS partition results in kernel panic) ? Is there a way to mount them safely instead of a regular mount? Thanks for all help, Mark Bynum From owner-freebsd-fs Thu Apr 27 17:47:43 1995 Return-Path: fs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id RAA14364 for fs-outgoing; Thu, 27 Apr 1995 17:47:43 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id RAA14334 for ; Thu, 27 Apr 1995 17:47:24 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id KAA11699; Fri, 28 Apr 1995 10:39:27 +1000 Date: Fri, 28 Apr 1995 10:39:27 +1000 From: Bruce Evans Message-Id: <199504280039.KAA11699@godzilla.zeta.org.au> To: bynum@NU.cs.fsu.edu, freebsd-fs@freebsd.org Subject: Re: Help! Filesystem errors Sender: fs-owner@freebsd.org Precedence: bulk >I was trying to do a couple of things to my IDE drive at one time (copying >files from it, two sets of gunzips on different partitions) and here is >what happened: >Note: the drive is a mostly MSDOS (except for a 1 meg FreeBSD partition) > drive and is mounted in FreeBSD 2.0R. >Apr 26 08:09:18 apollo kernel: getblk: invalid buffer size: 34816 >... Fixed in -current. >I didn't think much of these and proceeded to do a "rm -rf" to a DOS >directory in FreeBSD. It worked. >After rebooting into DOS I noticed that the partition that I did the >"rm -rf" on had NO files!? I know that I only removed a directory and not >every single directory. Scandisk (in DOS 6.2) reports there are lost clusters >amounting to 114MB (all the files on the disk) and asks if I should save them >to a file. Also under freebsd I get all types of garbage >being present on the filesystem (files with bad names, files with escape >characters in their names etc). What should I do? Restore from your backup. >Another related question: Has there been any work done on mounting DOS >filesystems since 2.0R? If not, then does everyone mount DOS filesystems as Some major bugs are fixed. >read only to avoid these types of problems (another problem of "mv"ing on a >DOS partition results in kernel panic) ? Fixed in -current. >Is there a way to mount them safely >instead of a regular mount? Mount them read-only, or maybe use mtools. Bruce