faq
search
add article
cool-stuff
how-to
main
tips
parent
|
Re: HOWTO: Move FreeBSD to a new hard disk
by Jennifer Zhao on Tuesday August 26, @06:55PM
|
Hi,Jason and everyone
I have been using this drivecopy.sh for a couple of months to do full backup once a week. It worked very fine till yesterday.
Last night, As usual,I started ./drivecopy.sh to backup my FreeBSD4.3 server (Disk1) on another HDD(Disk2). Disk2 has been used successfully as backup for more than 10 times with same procedure of ./drivecopy.sh.
So it seemed the start up going smoothly, then I left the server room.
This morning, when I came to check the server and backup. (which was supposed to have finished). And I surprised to find all those horrible error messages on the console screen:
***start to quote error message
ad0s2e: had error reading fsbn 97103692 of 3473456-3473467(ad0s2 bn 97103692; cn 6044 fn 108 sn 28) status=59 error=40
cannot read: BLK 3473456
UNEXPECTED SOFT UPDATE INCONSISTENCY.
**end of error message quote
So I had to force to suspend the backup process by pressing Ctrl+Z.
Then I tried to reboot Disk1. I had problem during the booting process.
**start to quote error message
....
chflags: not found
chown: not found
cd: can't cd to /var/run
cd: can't cd to /var/spool/lock
/etc/rc: cann't create /var/run/dmesg.boot directory nonexistent
cd: can't cd to /var/run
/etc/rc: cannot ceate
/var/run/clean_var:dirctory nonexitent.
Enter full path of shell or return for /bin/sh
.....
**end of error message quote
Then I tried my luck to boot Disk2.Unfortunately, it showed the same errors as Disk2 during booting.
Can anybody tells me what I can do to recover those two HDD, Disk1 and Disk2?
Your any advice will be highly appreciated.
Jennifer
P.S. The attached is my drivecopy.sh,which had worked fine for the previous backup processes except yesterday. So I do not think anything wrong with the drivecopy.sh itself. There must be something wrong with my yesterday's backup process, though I can not find out what it is. |
| Add Reply |
Important Stuff:
Note: Fields with bold titles are required.
Please try to keep posts on topic.
Try to reply to other people comments instead of starting new threads,
Read other people's messages before posting your own to
avoid simply duplicating what has already been said.
Use a clear subject that describes what your
message is about.
Please do not post offtopic, inflammatory, inappropriate, illegal,
or offensive comments. Repeat offenders will be sanctioned.
|