
On Mon, 18 Jun 2012, Avi Miller <avi.miller@gmail.com> wrote:
Also I'll probably install some systems with Oracle Dom0 and Debian DomUs, that should be easy to setup and manage.
Actually, I would probably reverse this: use a Debian Dom0 with Oracle DomUs. The only supported Oracle Dom0 is Oracle VM, for which we do not provide 0-day updates via public-yum (only ULN, which requires a support subscription). Also, Oracle VM 3.1.1 requires an Oracle VM Manager install, which usually implies another machine (or a VM somewhere else). However, you can run Oracle Linux as a HVPVM or PVM guest of any Xen/Dom0 combination you already have.
The problem with this is that accessing data from the Dom0 is required for setting up the DomU and debugging certain types of problem. mkfs.btrfs -d raid1 -m raid1 /dev/btva/smtp /dev/btvb/smtp Yesterday I tried to convert a DomU to BTRFS with a VG for each physical disk and an LV from each one to expose the RAID-1 to the DomU. I ran the above mkfs command and then mounted the filesystem in the Dom0 to get the following result. So not only did it fail to work but it took the Dom0 down as well. Jun 24 20:08:42 ns kernel: [12526.463617] device fsid 0b88fa65-384e-481d-95fb-7d3eee79c304 devid 1 transid 3 /dev/btva/smtp Jun 24 20:08:42 ns kernel: [12526.542930] device fsid 0b88fa65-384e-481d-95fb-7d3eee79c304 devid 2 transid 3 /dev/btvb/smtp Jun 24 20:09:07 ns kernel: [12550.696099] device fsid 0b88fa65-384e-481d-95fb-7d3eee79c304 devid 1 transid 4 /dev/mapper/btva-smtp Jun 24 20:09:07 ns kernel: [12550.725410] btrfs: disk space caching is enabled Jun 24 20:09:07 ns kernel: [12550.748496] unable to find logical 14431102701568 len 4096 Jun 24 20:09:07 ns kernel: [12550.750160] ------------[ cut here ]------------ Jun 24 20:09:07 ns kernel: [12550.751783] kernel BUG at /build/buildd- linux_3.2.20-1-i386-Y0s6CA/linux-3.2.20/fs/btrfs/volumes.c:2932! Jun 24 20:09:07 ns kernel: [12550.752086] invalid opcode: 0000 [#1] SMP Jun 24 20:09:07 ns kernel: [12550.752086] Modules linked in: dm_mirror dm_region_hash dm_log ums_cypress usb_storage uas btrfs crc32c libcrc32c xt_mark iptable_mangle cls_fw sch_sfq sch_htb xt_physdev xen_netback xen_blkback xen_gntdev xen_evtchn xenfs ppp_deflate zlib_deflate bsd_comp softdog ppp_async crc_ccitt ppp_generic slhc ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack xt_tcpudp ipt_REJECT ipt_LOG iptable_filter ip_tables x_tables bridge stp snd_intel8x0 snd_ac97_codec snd_pcm snd_page_alloc snd_timer ac97_bus snd soundcore psmouse e100 pcspkr serio_raw tg3 8139too evdev 8139cp i2c_i801 mii i915 libphy floppy parport_pc video parport uhci_hcd drm_kms_helper drm ehci_hcd i2c_algo_bit usbcore shpchp processor button iTCO_wdt usb_common iTCO_vendor_support thermal_sys rng_core lm85 hwmon_vid i2c_core autofs4 ext3 jbd dm_mod raid1 md_mod ext4 crc16 jbd2 mbcache xen_blkfront sd_mod crc_t10dif ata_generic ata_piix libata scsi_mod Jun 24 20:09:07 ns kernel: [12550.752086] Jun 24 20:09:07 ns kernel: [12550.752086] Pid: 9849, comm: mount Not tainted 3.2.0-2-686-pae #1 Hewlett-Packard HP d530 SFF(DC578AV)/085Ch Jun 24 20:09:07 ns kernel: [12550.752086] EIP: 0061:[<ee35d887>] EFLAGS: 00010282 CPU: 0 Jun 24 20:09:07 ns kernel: [12550.752086] EIP is at __btrfs_map_block+0xe4/0xab6 [btrfs] Jun 24 20:09:07 ns kernel: [12550.752086] EAX: 00000044 EBX: caf83cd8 ECX: caf83c10 EDX: ee386da8 Jun 24 20:09:07 ns kernel: [12550.752086] ESI: 00c01000 EDI: 00000d20 EBP: 00000001 ESP: caf83c0c Jun 24 20:09:07 ns kernel: [12550.752086] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0069 Jun 24 20:09:07 ns kernel: [12550.752086] Process mount (pid: 9849, ti=caf82000 task=c26850c0 task.ti=caf82000) Jun 24 20:09:07 ns kernel: [12550.752086] Stack: Jun 24 20:09:07 ns kernel: [12550.752086] ee386da8 00c01000 00000d20 00001000 00000000 c10ecb70 00001000 00000000 Jun 24 20:09:07 ns kernel: [12550.752086] 00000000 00000000 caf83d4c 00001000 ee359631 c57a50b0 00000000 00000000 Jun 24 20:09:07 ns kernel: [12550.752086] 00000000 00000000 90006008 c57a50ac 00000000 cb3c51c0 d01b7380 00000000 Jun 24 20:09:07 ns kernel: [12550.752086] Call Trace: Jun 24 20:09:07 ns kernel: [12550.752086] [<c10ecb70>] ? bio_add_page+0x3f/0x46 Jun 24 20:09:07 ns kernel: [12550.752086] [<ee359631>] ? submit_extent_page.isra.18+0x15c/0x1a3 [btrfs] Jun 24 20:09:07 ns kernel: [12550.752086] [<ee358cd2>] ? repair_io_failure+0x19a/0x19a [btrfs] Jun 24 20:09:07 ns kernel: [12550.752086] [<ee359c0f>] ? __extent_read_full_page+0x578/0x64a [btrfs] Jun 24 20:09:07 ns kernel: [12550.752086] [<ee3604dd>] ? btrfs_map_bio+0x6d/0x1ba [btrfs] Jun 24 20:09:07 ns kernel: [12550.752086] [<ee33d654>] ? btrfs_wq_submit_bio+0x130/0x130 [btrfs] Jun 24 20:09:07 ns kernel: [12550.752086] [<ee356766>] ? submit_one_bio+0x85/0xb4 [btrfs] Jun 24 20:09:07 ns kernel: [12550.752086] [<ee35b5e9>] ? read_extent_buffer_pages+0x22a/0x299 [btrfs] Jun 24 20:09:07 ns kernel: [12550.752086] [<ee33ca24>] ? btree_read_extent_buffer_pages.isra.70+0x3d/0x9b [btrfs] Jun 24 20:09:07 ns kernel: [12550.752086] [<ee33b959>] ? lock_page+0x1f/0x1f [btrfs] Jun 24 20:09:07 ns kernel: [12550.752086] [<ee33d967>] ? read_tree_block+0x2d/0x3e [btrfs] Jun 24 20:09:07 ns kernel: [12550.752086] [<ee3400e9>] ? open_ctree+0xd4b/0x12ae [btrfs] Jun 24 20:09:07 ns kernel: [12550.752086] [<c1162ed5>] ? snprintf+0x16/0x18 Jun 24 20:09:07 ns kernel: [12550.752086] [<c110a61b>] ? disk_name+0x1f/0x5b Jun 24 20:09:07 ns kernel: [12550.752086] [<ee326de9>] ? btrfs_mount+0x43c/0x71f [btrfs] Jun 24 20:09:07 ns kernel: [12550.752086] [<c10a8b8d>] ? pcpu_next_pop+0x28/0x2f Jun 24 20:09:07 ns kernel: [12550.752086] [<c10a9971>] ? pcpu_alloc+0x6b6/0x6cc Jun 24 20:09:07 ns kernel: [12550.752086] [<c10c0f5e>] ? __kmalloc_track_caller+0x9b/0xa7 Jun 24 20:09:07 ns kernel: [12550.752086] [<c10ce813>] ? mount_fs+0x55/0x122 Jun 24 20:09:07 ns kernel: [12550.752086] [<c10dea29>] ? vfs_kern_mount+0x4a/0x77 Jun 24 20:09:07 ns kernel: [12550.752086] [<c10ded49>] ? do_kern_mount+0x2f/0xac Jun 24 20:09:07 ns kernel: [12550.752086] [<c10e0053>] ? do_mount+0x5d0/0x61e Jun 24 20:09:07 ns kernel: [12550.752086] [<c12c0dc1>] ? _cond_resched+0x5/0x18 Jun 24 20:09:07 ns kernel: [12550.752086] [<c10a67a9>] ? memdup_user+0x26/0x43 Jun 24 20:09:07 ns kernel: [12550.752086] [<c10e02da>] ? sys_mount+0x67/0x96 Jun 24 20:09:07 ns kernel: [12550.752086] [<c12c1f24>] ? syscall_call+0x7/0xb Jun 24 20:09:07 ns kernel: [12550.752086] Code: 89 4c 24 14 e8 7b ea ff ff 58 59 8b 4c 24 0c 85 c9 75 1a 8b 9c 24 88 00 00 00 ff 73 04 ff 33 57 56 68 a8 6d 38 ee e8 a1 fd f5 d2 <0f> 0b 8b 51 10 8b 41 0c 39 fa 89 44 24 48 89 54 24 4c 77 2e 72 Jun 24 20:09:07 ns kernel: [12550.752086] EIP: [<ee35d887>] __btrfs_map_block+0xe4/0xab6 [btrfs] SS:ESP 0069:caf83c0c Jun 24 20:09:07 ns kernel: [12551.134318] ---[ end trace 03d1e882374604b4 ]--- -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/