unionfs mount failed

Tobias Herziger therziger at chipxonio.de
Thu Jun 26 17:09:11 CEST 2008


Hi!

Today's not my most successful day ;) 

I'm now discovering the following problem: I try to "xm create
mysqlprx01 vminstall=1 -c" a new XenU. I'm getting the busybox but
"unionfs mount failed". Why? Does somebody know why ROOTPATH is empty?
Mr Google didn't gave me an appropriate answer :(

root at xen03.l3muc-b:~# xm create mysqlprx01 vminstall=1 -c
Using config file "/etc/xen/mysqlprx01".
Started domain mysqlprx01
Bootdata ok (command line is ip=:212.162.62.70:::mysqlprx01:eth0:dhcp
nfsroot=212.162.62.70:/srv/fai/nfsroot root=/dev/nfs boot=live
FAI_FLAGS=verbose,sshd FAI_ACTION=sysinfo
nfsroot=212.162.62.70:/srv/fai/nfsroot)
Linux version 2.6.18-6-xen-amd64 (Debian 2.6.18.dfsg.1-18etch4)
(dannf at debian.org) (gcc version 4.1.2 20061115 (prerelease) (Debian
4.1.1-21)) #1 SMP Thu May 8 08:34:37 UTC 2008
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000040800000 (usable)
No mptable found.
Built 1 zonelists.  Total pages: 264192
Kernel command line: ip=:212.162.62.70:::mysqlprx01:eth0:dhcp
nfsroot=212.162.62.70:/srv/fai/nfsroot root=/dev/nfs boot=live
FAI_FLAGS=verbose,sshd FAI_ACTION=sysinfo
nfsroot=212.162.62.70:/srv/fai/nfsroot
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
Xen reported: 2660.026 MHz processor.
Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
Software IO TLB disabled
Memory: 1006328k/1056768k available (1949k kernel code, 41580k reserved,
878k data, 148k init)
Calibrating delay using timer specific routine.. 6655.59 BogoMIPS
(lpj=13311184)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 256
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 1
(SMP-)alternatives turned off
Brought up 1 CPUs
migration_cost=0
checking if image is initramfs... it is
Grant table initialized
NET: Registered protocol family 16
Brought up 1 CPUs
PCI: setting up Xen PCI frontend stub
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
xen_mem: Initialising balloon driver.
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: System does not support PCI
PCI: System does not support PCI
NET: Registered protocol family 2
IP route cache hash table entries: 65536 (order: 7, 524288 bytes)
TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(1214490270.793:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
rtc: IRQ 8 is not free.
Linux agpgart interface v0.101 (c) Dave Jones
RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
Xen virtual console successfully installed as tty1
Event-channel device installed.
netfront: Initialising virtual ethernet driver.
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: No controller found.
mice: PS/2 mouse device common for all mice
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 8
NET: Registered protocol family 20
netfront: device eth0 has flipping receive path.
Registering block device major 3
XENBUS: Device with no driver: device/console/0
Loading, please wait...
Begin: Loading essential drivers... ...
SCSI subsystem initialized
megasas: 00.00.03.01 Sun May 14 22:49:52 PDT 2006
SGI XFS with ACLs, security attributes, realtime, large block/inode
numbers, no debug enabled
SGI XFS Quota Management subsystem
Done.
Begin: Running /scripts/init-premount ...
FATAL: Error inserting fan
(/lib/modules/2.6.18-6-xen-amd64/kernel/drivers/acpi/fan.ko): No such
device
processor: Unknown symbol pm_idle
WARNING: Error inserting processor
(/lib/modules/2.6.18-6-xen-amd64/kernel/drivers/acpi/processor.ko):
Unknown symbol in module, or unknown parameter (see dmesg)
thermal: Unknown symbol acpi_processor_set_thermal_limit
FATAL: Error inserting thermal
(/lib/modules/2.6.18-6-xen-amd64/kernel/drivers/acpi/thermal.ko):
Unknown symbol in module, or unknown parameter (see dmesg)
Done.
Begin: Mounting root file system... ...


BusyBox v1.1.3 (Debian 1:1.1.3-4) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off
(initramfs) cat /tmp/net-eth0.conf 
DEVICE=eth0
IPV4ADDR=212.162.62.167
IPV4BROADCAST=212.162.62.255
IPV4NETMASK=255.255.255.0
IPV4GATEWAY=212.162.62.1
IPV4DNS0=195.122.130.4
IPV4DNS1=0.0.0.0
HOSTNAME=mysqlprx01
DNSDOMAIN=l3muc-b.cxo.name
NISDOMAIN=
ROOTSERVER=212.162.62.70
ROOTPATH=
filename="fai/pxelinux.0"
(initramfs) cat /live.log 
Begin: Running /scripts/live-premount ...
Done.
Done.
IP-Config: eth0 hardware address 00:16:3e:00:00:4a mtu 1500 DHCP RARP
ipconfig: /tmp/net-eth0.conf: SIOCGIFINDEX: No such device
IP-Config: eth0 guessed broadcast address 212.162.62.255
IP-Config: eth0 complete (from 212.162.62.70):
 address: 212.162.62.167   broadcast: 212.162.62.255   netmask:
255.255.255.0   
 gateway: 212.162.62.1     dns0     : 195.122.130.4    dns1   :
0.0.0.0         
 host   :
mysqlprx01                                                      
 domain :
l3muc-b.cxo.name                                                
 rootserver: 212.162.62.70 rootpath: 
 filename  : fai/pxelinux.0
Begin: Trying netboot from 212.162.62.70:/srv/fai/nfsroot ...
Begin: Trying nfsmount -o nolock -o ro
212.162.62.70:/srv/fai/nfsroot /live/image ...
Done.
mount: Mounting unionfs on /root failed: No such device
unionfs mount failed

That's the config:
root at xen03.l3muc-b:~# cat /etc/xen/mysqlprx01
#####################################################################
#	DomU fuer mysqlprx01
#####################################################################
# vim:ts=10:sw=10
kernel	= '/boot/vmlinuz-2.6.18-6-xen-amd64'
ramdisk	= '/boot/initrd.img-2.6.18-6-xen-amd64'
builder	= 'linux'
memory	= 1024
name	= 'mysqlprx01'
vcpus	= 1
vif	= [ 'mac=00:16:3e:00:00:4a,bridge=xenbr3' ]
disk	= [ 'phy:/dev/vg0/mysqlprx01,hda1,w' ]
#----------------------------------------------------------------------------
def vminstall_check(var, val):
  try:
    val = int(val)
  except:
    val = 0
  if val <= 0:
    val = 0
  return val
xm_vars.var('vminstall',
            use='Reinstall domain if value > 0.',
            check=vminstall_check)
xm_vars.check()
if vminstall > 0:
  os.system('test -e /dev/vg0/mysqlprx01 || lvcreate -L8G -nmysqlprx01
vg0')
  dhcp = 'dhcp'
  hostname = 'mysqlprx01'
  root = '/dev/nfs'
  nfs_server = '212.162.62.70'
  nfs_root = '/srv/fai/nfsroot'
  extra = 'root=/dev/nfs boot=live FAI_FLAGS=verbose,sshd
FAI_ACTION=sysinfo nfsroot=212.162.62.70:/srv/fai/nfsroot'
else:
  root = '/dev/hda1 ro'


Tobias Herziger
Senior System Administrator

CHIP Xonio Online GmbH
Poccistraße 11, 80336 München
Geschäftsführung: Mathias Plica
Vors. d. Aufsichtsrats: Dr. Jan-Gisbert Schultze
Registergericht München HRB 104168
USt.-Ident.Nr. 155 289 492




-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20080626/2d531b62/attachment.htm 


More information about the linux-fai mailing list