So Colin Percival has confirmed that there’s nothing special about EBS volumes. 
Perhaps the error is because of my config.

This is my hardcoded_jsoncfg.

static char hardcoded_jsoncfg[] = "{\"net\": {\"cloner\": \"true\", \"method\": 
\"dhcp\", \"type\": \"inet\", \"if\": \"xenif0\"}, \"cmdline\": 
\"nginx_baked.xen -c /etc/conf/nginx.conf\", \"blk\": {\"fstype\": \"ufs\", 
\"source\": \"etfs\", \"path\": \"blk0\", \"mountpoint\": \"/etc\"}}”;

Is there any other configuration that I can check that might be the cause of 
why the EBS volume isn’t mounting?

This is my rumpbake.conf, the only modification I made was to add rumpfs_ext2fs

A further question, do you think it would make sense to add some code to 
simple.c that when booting, lists the block devices and the file systems found 
(equivalent to the Linux command df -T)? That way I can see what block devices 
are found.

ubuntu@ugbuildserver:~/rumprun$ cat ./app-tools/rumpbake.conf
#
# rumpbake configuration file
#
# To add a new configuration `name', call addconfig()
#

LIBS_VIO="rumpdev_pci_virtio"
LIBS_VIO_NET="rumpdev_virtio_if_vioif"
LIBS_VIO_LD="rumpdev_virtio_ld"
LIBS_VIO_RND="rumpdev_virtio_viornd"
LIBS_PCI_NET="rumpdev_pci_if_wm rumpdev_miiphy"
LIBS_AUDIO="rumpdev_audio"
LIBS_AUDIO_AC97="rumpdev_audio_ac97"
LIBS_AUDIO_AUICH="rumpdev_pci_auich"
LIBS_AUDIO_EAP="rumpdev_pci_eap"
LIBS_AUDIO_HDA="rumpdev_pci_hdaudio rumpdev_hdaudio_hdafg"
LIBS_PCI="rumpdev_pci"
LIBS_USB="rumpdev_pci_usbhc rumpdev_usb rumpdev_umass"
LIBS_SCSI="rumpdev_scsipi"
LIBS_VND="rumpdev_vnd"

LIBS_FS="rumpfs_ffs rumpfs_cd9660 rumpfs_tmpfs rumpfs_ext2fs"
LIBS_DISK="rumpdev_disk rumpdev"
LIBS_NETINET="rumpnet_netinet6 rumpnet_netinet rumpnet_net rumpnet"
LIBS_NETCONFIG="rumpnet_config"
LIBS_NETBPF="rumpdev_bpf"
LIBS_NETUNIX="rumpnet_local"

LIBS_NETXEN="rumpnet_xenif"
LIBS_XEN="rumpxen_xendev rumpxen_tc"

# Paravirtualized Xen
addconfig xen_pv rumprun-xen \
    PCI PCI_NET FS DISK NETINET NETUNIX NETBPF NETCONFIG NETXEN XEN

# Generic (PC-compatible) bare metal
addconfig hw_generic rumprun-bmk \
    VIO VIO_NET VIO_LD VIO_RND PCI PCI_NET VND FS DISK \
    NETINET NETUNIX NETBPF NETCONFIG \
    AUDIO AUDIO_AC97 AUDIO_AUICH AUDIO_EAP AUDIO_HDA USB SCSI

# virtio hw
addconfig hw_virtio rumprun-bmk \
    VIO VIO_NET VIO_LD VIO_RND PCI VND FS DISK NETINET NETUNIX NETBPF NETCONFIG

Reply via email to