> Date: Wed, 23 Jan 2013 10:40:36 +0100 > From: Otto Moerbeek <o...@drijf.net> > > Hi, > > After seeing the undeadly article I got myself a Sun T1000 and have > been playing with ldoms on it. I saw a few things: > > 1. Partitions cannot be used as backing store for ldom virtual disks, > the VOP_GEATTR calls return size 0 for the raw device. I also wonder > if other VOP call in vdsp(4) will work without a filesystem.
That'll need some more work then. If anybody has a spare disk tray for a t5120 (with ot without disk), that'd help me a lot. > 2. If I halt(8) the primary with -p, it actually reboots after the > shutdown. Just a halt gets me an ok prompt. That seems to be a deliberate choice made by Sun. The behaviour changes as soon as you have a guest domain configured. > 3. In ALOM, doing a poweroff -f works as expected: it does an > immediate power cut. But a poweroff without -f resets the (halted) > primary first so it starts to boot and then there is a delay before > the actual power cut. The delay is long enough so the primary gets to > mount filesystems. But at that point the power is actually cut off, > leaving dirty filesystems. I suppose the ALOM poweroff without -f > should shutdown the host, but it actully seems to do a reset. Ah, so that's why my filesystems have been consistently dirty after powering off a machine. Thanks for figuring that out! I have some ideas on how to make the experience better.