I wanted to rotate a couple of disks and mirror it maybe once a month, as a backup tool.
what is the proper procedure for using gmirror as a backup?
today I tried two things:
1). shutdown one system without using [CMD=""]gmirror remove gm0 ad6[/CMD] first, and used the mirror to boot in another machine...it got hanged during the boot up in 2 different machines (at dev moused). I did a fsck, and then it rebooted fine...
2). I did [CMD=""]gmirror remove gm0 ad6[/CMD] first, then shutdown...but for the "slave" I got the message:
trying
did get into the command prompt, but rebooting it will come to the same point...
in both cases, the original disk can boot ok.
so is #1 the right procedure? maybe it was just a fluke that I got a disk error?
what causes the 2nd error? it does not make sense freebsd wont find the booting device since the mirror should have created the same fstab file under /etc, the same as the "master" disk?
Thanks. Zach
what is the proper procedure for using gmirror as a backup?
today I tried two things:
1). shutdown one system without using [CMD=""]gmirror remove gm0 ad6[/CMD] first, and used the mirror to boot in another machine...it got hanged during the boot up in 2 different machines (at dev moused). I did a fsck, and then it rebooted fine...
2). I did [CMD=""]gmirror remove gm0 ad6[/CMD] first, then shutdown...but for the "slave" I got the message:
Code:
Mounting root from ufs:/dev/gm8s1a
setrootbyname failed
ffs_mountroot: can't find rootvp
Root mount failed: 6
Manual root filesystem specification:
<fstype>:<device> Mount <device> using filesystem <fstype>
e.g. ufs:da0s1a
? List valid disk boot devices
<empty line> Abort manual input
trying
Code:
ufs:/dev/ad6s1
in both cases, the original disk can boot ok.
so is #1 the right procedure? maybe it was just a fluke that I got a disk error?
what causes the 2nd error? it does not make sense freebsd wont find the booting device since the mirror should have created the same fstab file under /etc, the same as the "master" disk?
Thanks. Zach