[comp.unix.xenix] Lost Space!

dave@well.UUCP (Dave Hughes) (01/16/89)

I really screwed up while trying to free up over 3000 blocks of disk
space occupied by /usr/man - the online xenix manual. I tried
mvdir but moved it to /u1, not only another file system but
anoter drive! The top directroy moved, but of course
none of thefiles, and when I rebooted, the directory disappeared
but the df command showed the 3000 blocks still tied up! 
How can I free up that space - everything that was in subdirectyroy
/usr/man? 
  I tried using custom to remove the package, but that didn't
work, I tried reinstalling the man package but that just took up
more space.
 So what do I do to get that space back? 
(someone who now reads the finest print int he shortest docs - like
terse 'mvdir'.
Dave Hughes
hplabs!well!dave

debra@alice.UUCP (Paul De Bra) (01/17/89)

In article <10368@well.UUCP> dave@well.UUCP (Dave Hughes) writes:
>I really screwed up while trying to free up over 3000 blocks of disk
>space occupied by /usr/man - the online xenix manual. I tried
>mvdir but moved it to /u1, not only another file system but
>anoter drive! The top directroy moved, but of course
>none of thefiles, and when I rebooted, the directory disappeared
>but the df command showed the 3000 blocks still tied up! 
>How can I free up that space - everything that was in subdirectyroy
>/usr/man? 

Sounds like mvdir is braindead, not you. mvdir should refuse to move
a directory to another file system. What it did now seems like trashing
your file system.
Xenix may not know that  your file system is garbled because  you shut
down your  machine gracefully i suppose, but  you  should  run fsck.
That should find the lost  information unless it is also braindead.

Paul.

-- 
------------------------------------------------------
|debra@research.att.com   | uunet!research!debra     |
------------------------------------------------------

skrenta@eecs.nwu.edu (Richard Skrenta) (01/17/89)

Have you tried booting up in maintenance mode and running fsck on the
damaged filesystems?

Rich Skrenta

deraadt@xenlink.UUCP (Theo A. DeRaadt) (01/18/89)

In article <10368@well.UUCP>, dave@well.UUCP (Dave Hughes) writes:
# 
# I really screwed up while trying to free up over 3000 blocks of disk
# space occupied by /usr/man - the online xenix manual. I tried
# mvdir but moved it to /u1, not only another file system but
# anoter drive! The top directroy moved, but of course
# none of thefiles, and when I rebooted, the directory disappeared
# but the df command showed the 3000 blocks still tied up! 
# How can I free up that space - everything that was in subdirectyroy
# /usr/man? 

I wish this stuff worked like in BSD. I actually did this once before
and lost a bunch too. I think an fsck cleaned up.
 <tdr.