Discussion:
EON boot issue (Error 24: Attempt to access block outside partition.)
hai chi
2010-07-20 19:46:52 UTC
Permalink
Hello,

I installed EON to boot up from a usb stick, I created a zpool and a logical unit. I have some issues to save the changes I made to the logical unit i created. After I create the LU, I ran setup and updimg.sh. The LU survived the reboot, then I deleted the LU, reboot, the changes I made to the LU didnt survive, then ran setup and updimg.sh, then I got a issue to boot (Error 24: Attempt to access block outside partition).

I like to know what is the correct step to save the changes I made to LU , iscsi target etc.

Thanks very much

Dave
--
This message posted from opensolaris.org
Andre Lue
2010-07-20 20:09:25 UTC
Permalink
Hi Cellar,

Can you detail the steps/cmds you ran to see if I can re-create what is happening?
--
This message posted from opensolaris.org
hai chi
2010-07-21 02:08:24 UTC
Permalink
Hi dre2kse,

I think it has something to do with x86.eon.0 and x86.eon.1. when there are 3 images in /mnt/eon0/boot/ (x86.eon, x86.eon.0 and x86.eon.1), after I run updimg.sh, I got boot issue and Error 24.

Once I deleted x86.eon.0 and x86.eon.1, ran updimg.sh, reboot. the system booted up and the changes are saved.

what do you think?

Btw, I m trying to make a mirrored boot usb, can I do it with zpool create mirror? or any suggestions?

Thanks

Cellar
--
This message posted from opensolaris.org
Andre Lue
2010-07-21 03:20:11 UTC
Permalink
Hi Cellar,

Here is an explanation of the list of images. The only reason I could see these causing a problem is if the USB key was close to full? What size is the USB key? (df -k)
x86.eon.0 last image before update
x86.eon.1 prior image before x86.eon.0 update
x86.eon.oem original image

I did a proof of concept here http://eonstorage.blogspot.com/2010/05/eon-on-zfs-mirrored-bootroot.html on the zfs boot/root mirror but it has some hurdles to overcome.

Honestly, it is probably more effective to do a manual rsync copy to another USB key and keep it as a hot standby. This is not to say it cannot happen but I have about 10 development usb keys, all different manufacturers, some cheaper and with many hours of use on them and I have yet to have one fail.
--
This message posted from opensolaris.org
hai chi
2010-07-21 18:34:09 UTC
Permalink
hi dre2kse ,

It is a 2 GB USB, as below, it still has 1.6G avail space with x86.eon, x86.eon.0, x86.eon.1 and napp-it in it.

/dev/dsk/c3t0d0s0 1.8G 351M 1.4G 20% /mnt/eon0

below is my zpool config

pool: mpool
state: ONLINE
scrub: none requested
config:

NAME STATE READ WRITE CKSUM
mpool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
c0t0d0p0 ONLINE 0 0 0
c1t0d0p0 ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
c0t1d0p0 ONLINE 0 0 0
c1t1d0p0 ONLINE 0 0 0
mirror-2 ONLINE 0 0 0
c0t4d0p0 ONLINE 0 0 0
c2t2d0p0 ONLINE 0 0 0
mirror-3 ONLINE 0 0 0
c0t5d0p0 ONLINE 0 0 0
c2t3d0p0 ONLINE 0 0 0
mirror-4 ONLINE 0 0 0
c1t6d0p0 ONLINE 0 0 0
c2t4d0p0 ONLINE 0 0 0
mirror-5 ONLINE 0 0 0
c1t7d0p0 ONLINE 0 0 0
c2t5d0p0 ONLINE 0 0 0
spares
c2t6d0p0 AVAIL

errors: No known data errors

I will do more testings on the dual usb boot, if I cant figure it out, I will take the hot stand by USB approach.

what do you suggest for manual rsync copy to another USB key? Is there any script for it?

Thanks a lot

Cellar
--
This message posted from opensolaris.org
hai chi
2010-07-23 15:28:40 UTC
Permalink
hi dre2kse , ,

the boot issue solved, turn out the USB flash drive is bad, after I changed it, everything works.

Cellar
--
This message posted from opensolaris.org
Loading...