Hi,

Nothing much - just searching for a tag.

Say the GRUB menu says

findroot (pool_rpool1, 1, d)

Cycle through all the disks in the VM, do a ZFS mount of slice 3 (a= 0, d= 3). fdisk partition 2 ( 0 = 1, 1 = 2) and check for the a zero length file called pool_rpool1 in /rpool/etc/bootsign directory in the slice. When that file is found boot from that slice. So the pool_rpool1 part of findroot is used to pick the disk to boot from, 1 specifies the fdisk partition and d specifies the slice)

So it is pretty much the same as searching for the root tag except that the signature is in the filesystem (instead of the VTOC) and supports multiple disks and multiple BEs

Vikram

John Levon wrote:
On Wed, Sep 16, 2009 at 04:55:18PM -0700, Vikram Hegde wrote:

Switching between them will be problematic. It is probably very simple to simulate findroot() functionality in Xen and get rid of the root tag requirement.

What does findroot() need to do?

regards
john

_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to