sjk@aura.nbn.com (Scott J. Kramer) (06/21/91)
This morning, my A3000 hung while running the CNews `expire' program. I rebooted with the "drive busy" light on. After getting past a "Work0: Disk not validated" error, I wound up with 2 directory entries for a "history.pag" file; `list' showed 2 files with the same name with different datestamps. I was able to copy the "real" file and delete it, but am still left with this bogus file: AmiShell> list Control.BAD Directory "Work0:Spool/CNews/Control.BAD" on Thursday 20-Jun-91 history.pag 126268 ----rwed Today 03:43:28 1 file - 251 blocks used AmiShell> delete Control.BAD/history.pag No file to delete AmiShell> type Control.BAD/history.pag hex TYPE can't open Control.BAD/history.pag No files to type Is there any way of getting rid of this without reformatting the partition? Please email responses. Thanks for any help with this! -- Scott J. Kramer UUCP: {sun,ucbvax}!pixar!aura!sjk
sjk@pixar.com (Scott J. Kramer) (06/21/91)
This morning, my A3000 hung while running the CNews `expire' program. I rebooted with the "drive busy" light on. After getting past a "Work0: Disk not validated" error, I wound up with 2 directory entries for a "history.pag" file; `list' showed 2 files with the same name with different datestamps. I was able to copy the "real" file and delete it, but am still left with this bogus file: AmiShell> list Control.BAD Directory "Work0:Spool/CNews/Control.BAD" on Thursday 20-Jun-91 history.pag 126268 ----rwed Today 03:43:28 1 file - 251 blocks used AmiShell> delete Control.BAD/history.pag No file to delete AmiShell> type Control.BAD/history.pag hex TYPE can't open Control.BAD/history.pag No files to type Is there any way of getting rid of this without reformatting the partition? Please email responses. Thanks for any help with this! -- Scott J. Kramer UUCP: {sun,ucbvax}!pixar!aura!sjk P.O. Box 3392 Internet: sjk@aura.nbn.com San Rafael, CA 94912
davem@col.hp.com (Dave K. Martin) (06/22/91)
Try QuarterBack Tools by Central Coast Software (now a part of the New Horizons group). It has a feature to correct these disk problems. It has worked for me a couple of times when the system crashed during a file copy and left improperly closed files hanging around. This is not a paid endorsement... I am open to bribes however ;-) davem
darrell@comspec.uucp (Darrell Grainger) (06/23/91)
In article <SJK.91Jun20194742@cherry.pixar.com> sjk@aura.nbn.com writes: >This morning, my A3000 hung while running the CNews `expire' program. >I rebooted with the "drive busy" light on. After getting past a >"Work0: Disk not validated" error, I wound up with 2 directory entries >for a "history.pag" file; `list' showed 2 files with the same name >with different datestamps. I was able to copy the "real" file and >delete it, but am still left with this bogus file: > > AmiShell> list Control.BAD > Directory "Work0:Spool/CNews/Control.BAD" on Thursday 20-Jun-91 > history.pag 126268 ----rwed Today 03:43:28 > 1 file - 251 blocks used > AmiShell> delete Control.BAD/history.pag > No file to delete > AmiShell> type Control.BAD/history.pag hex > TYPE can't open Control.BAD/history.pag > No files to type > Maybe there is a control code or something in the filename which you cannot see but the OS can. Try the following list >pipe:a work0:spool/cnews/control.bad/#? lformat="delete %s%s" <RETURN> execute pipe:a <RETURN> This will create a pipe file which contains "delete history.pag", assuming it is the only file in the directory control.bad. Executing the pipe file should delete the file. > >Please email responses. Thanks for any help with this! I would have emailed but my mail seems to be bouncing back on me. >-- >Scott J. Kramer UUCP: {sun,ucbvax}!pixar!aura!sjk >P.O. Box 3392 Internet: sjk@aura.nbn.com >San Rafael, CA 94912 -- Darrell Grainger % Comspec Communications Inc., Toronto, Ontario, Canada darrell@comspec % Disclaimer: All opinions expressed are my own. (416) 617-1475 % (416) 633-5605 (416)785-3553
S_ASCHMIDT@iravcl.ira.uka.de (|S| Angela Schmidt) (06/24/91)
In <SJK.91Jun20180954@aura.nbn.com> sjk@aura.nbn.com writes: > This morning, my A3000 hung while running the CNews `expire' program. > I rebooted with the "drive busy" light on. After getting past a > "Work0: Disk not validated" error, I wound up with 2 directory entries > for a "history.pag" file; `list' showed 2 files with the same name > with different datestamps. I was able to copy the "real" file and > delete it, but am still left with this bogus file: > > AmiShell> list Control.BAD > Directory "Work0:Spool/CNews/Control.BAD" on Thursday 20-Jun-91 > history.pag 126268 ----rwed Today 03:43:28 > 1 file - 251 blocks used > AmiShell> delete Control.BAD/history.pag > No file to delete > AmiShell> type Control.BAD/history.pag hex > TYPE can't open Control.BAD/history.pag > No files to type > > Is there any way of getting rid of this without reformatting the > partition? Of course, there is a way to get rid of this. Probably the filesystem did not hash the file in correctly. So it will find the file if you type dir or list, but when you try to load or delete it, it will not be found. I would use a diskmonitor, set the hash-entry of this file to 0 and clear the bitmap-valid-flag. Don't forget the checksum! DOS will validate your partition and after this the file will be deleted. If you understood what I mean, you can try this. Otherwise please don't try to solute this using a diskmonitor. You can loose a lot of data if something goes wrong. Better you ask someone who knows a bit about the filesystem to help you. You also could try this (I don't know if it works). 1> delete #? Make sure, that there are no other files in the directory before you type in this line! > Please email responses. Thanks for any help with this! Sorry, something went wrong while trying email! I hope I could help you! Angela ---------------------------------------------------------+--------------------- Angela Schmidt Internet: S_ASchmidt@iravcl.ira.uka.de | // (Nessy in IRC) BITNET: UK8B@DKAUNI2.BITNET | Amiga // Phone: +49 731 712316 & 721 6904-263 | \\ // only 1000 MEZ: (10am-9pm) (12pm-10pm) | \X/ the real one! ---------------------------------------------------------+---------------------
root@becca.rain.com (john meissen) (06/25/91)
In article <35400001@col.hp.com>, Dave K. Martin writes: > Try QuarterBack Tools by Central Coast Software (now a part of the > New Horizons group). It has a feature to correct these disk problems. > It has worked for me a couple of times when the system crashed during a > file copy and left improperly closed files hanging around. > > This is not a paid endorsement... I am open to bribes however ;-) > I'm sure QuarterBack Tools is a good product, however this is real overkill. Just use wildcards, as in "history#?" or whatever is needed to specify just the file in question. A good check is to use "dir" until the pattern matching selects only the desired file, then change the "dir" to "delete". John Meissen | john@becca.rain.com | ..!{uunet,qiclab,intelhf,bucket}!m2xenix!becca!john -------------------------------------------------------------------- "It's only work if somebody makes you do it." - Calvin & Hobbes