Disk corruption

Pierre Abbat phma at bezitopo.org
Fri May 3 00:12:05 PDT 2013


On Monday, April 29, 2013 22:13:45 Pierre Abbat wrote:
> I think I've figured out what happened. I'll have to replace one of the
> disks.
> 
> ad0 is an IDE drive with a 60 GB disk; 53 GB is the root Hammer volume
> (including /var, /tmp, /usr, and /home), and the rest is /boot, swap, and an
> unused partition which used to be /crypt. 38 GB of the root volume is in
> use.
> 
> ad4 is a SATA drive with a 466 GB disk; 432 GB is the /crypt Hammer volume
> (including /crypt, /olv, /backup, and /usr/obj), and the rest is /boot1,
> swap, and an unused partition which I reserved for experiments. 48 GB of
> the /crypt volume is in use.
> 
> The missing inode errors appear in /var/spool/postfix. The new postfix
> binary was dated April 26, so I tested the hypothesis that a bug in Postfix
> was causing it by reverting to the previous version and rebooting the old
> kernel. I still got errors. Once the computer crashed with a missing inode
> error, but I couldn't find the file with the missing inode. I conclude that
> that part of the disk is worn out.

What was ad4 is now ad6; the new disk is ad4. I copied everything from ad0 to 
ad4, except the root fs's history and /tmp and the boot sector. I edited 
/etc/fstab and /boot/loader.conf and rebooted into single-user mode. 
Everything looked fine. I exited single-user mode and got a stream of missing 
inode errors.

Pierre
-- 
gau do li'i co'e kei do



More information about the Users mailing list