Date: Tue, 27 Jul 1999 23:50:52 -0400 From: ShashiKant Joshi <shashi@Shift-F1.com> To: freebsd-questions@freebsd.org Subject: dump restore causes fs errors? (3.2-stable) Message-ID: <19990727235051.B1105@Shift-F1.com>
next in thread | raw e-mail | index | archive | help
Hi,
I have a 3.2-stable box Pentium III 350 3 seagate scsi disks.
I am trying to make a true copy of the / partition over to /altroot
The two are exactly the same size on two diff disks.
chflags -R noschg /altroot && \
'rm' -rf /altroot/* /altroot/.[a-z]* && \
cd /altroot && (dump 0uf - / | restore xf - )
The above commands used to run fine for over 1.5 years on a FreeBSD 2.2
system on a Pentium 200 with 2 IDE disks. On the new box, I got system
reboot while the dump/restore was goingon.
It doesn't happen always, but happened twice in last 3 days, then yesterday
it simply crashed the box. The system won't boot up, and complain about the
bad filessytem. doing a fsck in single user mode failed.
I finally commented out the /altroot filesystem, rebooted, then did a newfs
on /altroot
Why did the dump/resote cause filesystem errors? The reason I think these
caused the problem is that they run around midnight in cron, and the system
reboot happened right around 00:15 all 3 times.
Also, if I want to find and/or set the ARRE AWRE flags of my scsi didks,
the Lehey complete freebsd says "scsi -f /dev/DISK -m 1 -e -P 3" but the
3.2-stable has no command scsi
How do I find and set this flag?
Thanks,
--
Shashi Joshi
_____________________________________________________________________
__o o__ o__ o__ o__ There's one
_ \<._ _.>/ _ _.>/ _ _.>/ _ _.>/ _ in every
(_)/ (_) (_) \(_) (_) \(_) (_) \(_) (_) \(_) crowd...
_____________________________________________________________________
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990727235051.B1105>
