Re: ZFS and corruption test



Jakov Sosic <jsosic@xxxxxxxxxxxxxxxxxxx> wrote:
On 2009-01-22, Stefaan A Eeckels <hoendech@xxxxxx> wrote:

Nothing happens during shutdown. Your "dd" has obliterated the section
of the disk that contains grub's menu file (/boot/grub/menu.lst), and
thus the only thing that grub can do is to display the console.
It would seem that changing the boot disk in the BIOS doesn't change
grub's idea of the location of the menu file.

When you swap disks, the menu file is back in place on the boot disk,
and grub works as advertised.

I thought the same thing the first time (I used skip=20480), but the
second time I used much bigger offset, and same thing got to me....


I'm also puzzled, why doesn't ZFS heal the data itself, by copying it
from the second drive, but just says drive has too many errors...

I'm pretty sure ZFS still can't fix itself. you have to tell it to resync
the disks. All it can do is try the other disk if it gets CRC errors on
one.
.



Relevant Pages

  • Re: nice story [link]
    ... restore the two backups. ... The second time the affected tree was vast and the manual inspection ... The first time I put a new hard disk in and restored to that, ... But experience the first time gave me confidence. ...
    (uk.rec.sheds)
  • Re: Fedora Core 2/Windows XP dual boot: selecting Linux doesnt work
    ... grub is installed on the /root partition, which is the first partition on hdc: hdc1, or in grub notation. ... Stage1 is the unpatched 512-byte file, that is patched and copied to the boot record during setup. ... This byte is initialized to 0xff in the stage1 file, but patched to 0x81 in your setup, to say "we are booting from disk." ...
    (comp.os.linux.setup)
  • Re: Install FC2 in external HD + boot via floppy
    ... a external HD and keep the XP on the internal disk. ... that my laptop does not boot from the usb... ... An alternative way of creating a cd that will boot grub is shown below. ... Making a GRUB bootable CD-ROM ...
    (Fedora)
  • Re: master boot record
    ... is it possible to edit boot record so during boot choice the Windows Xp are on top, ... There's no such thing as a master boot record, MBR, or a boot sector, but there is a PLACE on every disk that is THE root sector (every partition has one too). ... If grub is installed it can be run to write boot code to the part of the disk root sector reserved for it. ...
    (alt.os.linux)
  • Re: Just installed Windows XP SP2 - it assigned drive letter F: - How to change to C:?
    ... I created a slipstream Windows-XP SP3 install disk to simplify ... the Windows installer finds a previous install, ... original Grub with 3 OS's. ...
    (microsoft.public.windowsxp.help_and_support)