[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] xen hypervisor does not like my Dom0 LVM partition: I/O Errors


  • To: xen-users@xxxxxxxxxxxxx
  • From: Jeff Swicegood <jguru108@xxxxxxxxx>
  • Date: Sun, 27 Nov 2016 23:10:17 +0000
  • Delivery-date: Sun, 27 Nov 2016 23:11:43 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>

I am trying to convert an existing Ubuntu 16.10 installation into a Xen VM host. It should be as simple as installing the Xen package and rebooting. Ubuntu becomes the Dom0. I have installed the Xen package and Xen kernel does indeed boot and run Ubuntu as Domain 0.

After a short time, however, my /home LVM volume is remounted by the kernel as read-only due to I/O Errors. This eventually leads to the whole system crashing due to not being able to read files it needs on /home.

This behavior does not happen at all when I boot to Ubuntu (without Xen) in GRUB.

Forgot to mention the fsck returns clean filesystem and smartctl shows "PASSED" and no reallocated sectors. (SMART status good).

It would seem to be a failing disk, but there is absolutely no problem when Xen hypervisor is not running. The very first error is "lost interrupt." Isn't it the responsibility of the hypervisor to handle interrupts?


jaga@jaga-Desktop:~$ sudo pvs
  PV         VG      Fmt  Attr PSize   PFree
  /dev/sda   home    lvm2 a--  931.51g      0
  /dev/sdb   vmstore lvm2 a--  223.57g  41.00g
  /dev/sdc   home    lvm2 a--  931.51g 363.02g
  /dev/sdd1  vmstore lvm2 a--  232.85g  50.28g




jaga@jaga-Desktop:~$ df -h
Filesystem                   Size  Used Avail Use% Mounted on
udev                          12G     0   12G   0% /dev
tmpfs                        2.4G   11M  2.4G   1% /run
/dev/sde1                     99G   26G   68G  28% /
tmpfs                         12G  172K   12G   1% /dev/shm
tmpfs                        5.0M  4.0K  5.0M   1% /run/lock
tmpfs                         12G     0   12G   0% /sys/fs/cgroup
/dev/loop1                   128K  128K     0 100% /snap/hello-world/26
/dev/loop2                   128K  128K     0 100% /snap/hello-world/25
/dev/loop0                    75M   75M     0 100% /snap/ubuntu-core/423
/dev/loop3                    75M   75M     0 100% /snap/ubuntu-core/352
/dev/loop4                    73M   73M     0 100% /snap/ubuntu-core/216
/dev/loop5                   128K  128K     0 100% /snap/hello-world/27
/dev/mapper/home-lvol0       1.5T  1.1T  297G  79% /home
/dev/mapper/vmstore-vmstore  360G  201G  141G  59% /home/jaga/VMStore
/dev/sdf1                    3.6T  3.2T  279G  93% /media/Backup
tmpfs                        2.4G     0  2.4G   0% /run/user/137
tmpfs                        2.4G   20K  2.4G   1% /run/user/1000




jaga@jaga-Desktop:~$ cat /proc/mounts
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
udev /dev devtmpfs rw,nosuid,relatime,size=12317368k,nr_inodes=3079342,mode=755 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
tmpfs /run tmpfs rw,nosuid,noexec,relatime,size=2467932k,mode=755 0 0
/dev/sde1 / ext4 rw,relatime,errors=remount-ro,data="" 0 0
securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0
tmpfs /sys/fs/cgroup tmpfs ro,nosuid,nodev,noexec,mode=755 0 0
cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd 0 0
pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0
cgroup /sys/fs/cgroup/pids cgroup rw,nosuid,nodev,noexec,relatime,pids 0 0
cgroup /sys/fs/cgroup/net_cls,net_prio cgroup rw,nosuid,nodev,noexec,relatime,net_cls,net_prio 0 0
cgroup /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0
cgroup /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0
cgroup /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0
cgroup /sys/fs/cgroup/perf_event cgroup rw,nosuid,nodev,noexec,relatime,perf_event 0 0
cgroup /sys/fs/cgroup/memory cgroup rw,nosuid,nodev,noexec,relatime,memory 0 0
cgroup /sys/fs/cgroup/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpuacct 0 0
cgroup /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0
cgroup /sys/fs/cgroup/hugetlb cgroup rw,nosuid,nodev,noexec,relatime,hugetlb 0 0
systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=27,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=18502 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
hugetlbfs /dev/hugepages hugetlbfs rw,relatime 0 0
mqueue /dev/mqueue mqueue rw,relatime 0 0
sunrpc /run/rpc_pipefs rpc_pipefs rw,relatime 0 0
nfsd /proc/fs/nfsd nfsd rw,relatime 0 0
fusectl /sys/fs/fuse/connections fusectl rw,relatime 0 0
/dev/loop1 /snap/hello-world/26 squashfs ro,relatime 0 0
/dev/loop2 /snap/hello-world/25 squashfs ro,relatime 0 0
/dev/loop0 /snap/ubuntu-core/423 squashfs ro,relatime 0 0
/dev/loop3 /snap/ubuntu-core/352 squashfs ro,relatime 0 0
/dev/loop4 /snap/ubuntu-core/216 squashfs ro,relatime 0 0
/dev/loop5 /snap/hello-world/27 squashfs ro,relatime 0 0
/dev/mapper/home-lvol0 /home ext4 rw,relatime,data="" 0 0
/dev/mapper/vmstore-vmstore /home/jaga/VMStore ext4 rw,relatime,stripe=32,data="" 0 0
/dev/sdf1 /media/Backup ext4 rw,relatime,data="" 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,relatime 0 0
tmpfs /run/user/137 tmpfs rw,nosuid,nodev,relatime,size=2467928k,mode=700,uid=137,gid=148 0 0
tmpfs /run/user/1000 tmpfs rw,nosuid,nodev,relatime,size=2467928k,mode=700,uid=1000,gid=1000 0 0




jaga@jaga-Desktop:/var/log$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
#                
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda1 during installation
UUID=8d3ed528-8fe1-4826-a4b9-655dcce48d53 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=e91210ed-808a-4dd4-b398-8c20e6452dbe none            swap    sw              0       0

# Place to store Client and master images
#/home/jaga/Public/images /export/clone_images  none bind 0 0


#Old Kailash as of 7-2013
# Updated to Krishn West 5-2014
#UUID=33bd2a13-8fe5-4321-ba02-59af599aa484 /home           ext4    defaults        0       2

# /home updated to LVM 1TB plus 1TB 9-2014
/dev/mapper/home-lvol0  /home   ext4    defaults        0       2

#New RAID Enclosure Nexstar HD4R 12/15
UUID=fadb69e5-2261-4000-a32b-4314c5e4b324       /media/Backup  ext4   defaults 0   4

#VMStore expanded and updated 12/2015
/dev/mapper/vmstore-vmstore   /home/jaga/VMStore   ext4   defaults  0   3

# Old Virtual machine store
#UUID=f8fc261e-23f2-442d-a891-270eda9e0fab   /home/jaga/VMStore   ext4   defaults  0   3


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
https://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.