Hi David,

In general, an I/O error means that the slice 0 doesn't exist
or some other problem exists with the disk.

The installgrub command is like this:

# installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c1t0d0s0

Thanks,

Cindy

On 03/11/10 15:45, David L Kensiski wrote:
At Wed, 10 Mar 2010 15:28:40 -0800 Cindy Swearingen wrote:

Hey list,



Grant says his system is hanging after the zpool replace on a v240,
running Solaris 10 5/09, 4 GB of memory, and no ongoing snapshots.

No errors from zpool replace so it sounds like the disk was physically
replaced successfully.



If anyone else can comment or help Grant diagnose this issue, please

feel free...



Thanks,



Cindy



I'm had a similar problem -- swapped out the drive and now when I tried the zfs 
replace, I got an I/O error:


        k01_dlk$ sudo zpool replace rpool c1t0d0s0
        cannot open '/dev/dsk/c1t0d0s0': I/O error


I ran format and made sure the partition table matched the good root mirror, 
then was able to rerun the zpool replace:


        k01_dlk$ sudo zpool replace -f rpool c1t0d0s0 c1t0d0s0
        Please be sure to invoke installgrub(1M) to make 'c1t0d0s0' bootable.


Can I assume zfs_stage1_5 is correct?


        k01_dlk$ cd /boot/grub/

        k01_dlk$ ls
        bin            fat_stage1_5      jfs_stage1_5    nbgrub             
stage1           ufs_stage1_5
        capability     ffs_stage1_5      menu.lst        pxegrub            
stage2           vstafs_stage1_5
        default        install_menu      menu.lst.orig   reiserfs_stage1_5  
stage2_eltorito  xfs_stage1_5
        e2fs_stage1_5  iso9660_stage1_5  minix_stage1_5  splash.xpm.gz      
ufs2_stage1_5    zfs_stage1_5


Installgrub succeeded, but I'm a tad nervous about rebooting until I know for 
sure.


        k01_dlk$ sudo installgrub zfs_stage1_5 stage2 /dev/rdsk/c1t0d0s0
        stage1 written to partition 0 sector 0 (abs 16065)
        stage2 written to partition 0, 272 sectors starting at 50 (abs 16115)


Thanks,

--Dave




------------------------------------------------------------------------

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to