Displaying 20 results from an estimated 2000 matches similar to: "/dev/loopX not released when domU terminates ?"
2008 Apr 13
1
vbd could not be connected
I have installed Kubuntu 8.04 with xen 3.2 on kernel 2.6.24-16-xen on
amd64 hardware.
Then I have created a new domU with xen-tools. The domU is using
loopback-images.
When I try to start the domU it ends with this:
Error: Device 51713 (vbd) could not be connected. losetup /dev/loop0
/home/xen/domains/xx/swap.img failed.
loopx is raised by 2 for every try.
It looks like a classic and simple
2018 Aug 20
1
[PATCH nbdkit] tests: Add a root only test of the file plugin with
In libguestfs we have a few tests that require root privileges and
they are skipped by default (normally you should not build or test as
root), but you can do this to run them:
sudo make check-root
In nbdkit I wanted to check that the file plugin works with block
devices (this is not tested), and the only way I can sensibly think to
do this is using a loopback device and root. This commit
2011 Jul 12
1
after mounting with -o degraded: ioctl: LOOP_CLR_FD: Device or resource busy
dd if=/dev/null of=img5 bs=1 seek=2G
dd if=/dev/null of=img6 bs=1 seek=2G
mkfs.btrfs -d raid1 -m raid1 img5 img6
losetup /dev/loop4 img5
losetup /dev/loop5 img6
btrfs device scan
mount -t btrfs /dev/loop4 dir
umount dir
losetup -d /dev/loop5
mount -t btrfs -o degraded /dev/loop4 dir
umount dir
losetup -d /dev/loop4
ioctl: LOOP_CLR_FD: Device or resource busy
mkfs.ext3 /dev/loop4
mke2fs 1.39
2005 Nov 17
2
ext3-image doesn't mount anymore and reports errors
Hi folks,
we made an image of a partition by using dd. Original filesystem is
ext3 (4k block-size).
My colleague was able to mount this image once (using mount with "-o loop").
Since then anytime we try to mount it, it ends in the following error-message:
ioctl: LOOP_CLR_FD: Device or resource busy
mount: you must specify the filesystem type
We also tried to mount it on another system
2005 Apr 05
1
RE: NFS Root FS Prob
> I have my disk file stored on a NFS server.
> I have tried these two approaches:
>
> A) Mounting the NFS directory in RW mode on a local directory
> and specifying in my config file the complete path of my disk file.
>
> xm create configFile returned with this error:
> Error: Error creating domain: vbd: Segment not found:
> uname=file:/MountPoint/diskfile
2006 Jul 20
1
RE: Error: Device 769 (vbd) could not be connected...Limit of 25 domains.
This is a known issue.
It has been fixed in xen unstable.
The problem is loop device is not leased after the guest destroyed.
If execute "losetup -d /dev/loopX" in domain0, the problem will be solved temporarily.
>-----Original Message-----
>From: xen-users-bounces@lists.xensource.com
>[mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Thomas Karsten
>Sent:
2008 Feb 12
4
Reg Disk space in guest domain with fedora img
Hi
I had installed Xen-3.0.4 in Scientific linux 4 (kernel version 2.6.16.33)
by following the instructions given in following link
project-xen.web.cern.ch/project-xen/xen/howto_slcXen.html
I ve created the guest Domain with fedora image of size 2.2GB , disk space
as 10GB and the domain started successfully . when i logged into the xm
console and checked the disk space its showing only 2.2GB ..
2012 Apr 02
3
booting a dos floppy from a disk image over pxe
Hello,
I'm trying to boot a dos floppy stored on a disk image which is initially
loaded over pxe using memdisk.
I've created the disk image as follows:
dd if=/dev/zero of=$IMGLOCATION/$IMGNAME bs=$(( 1024 * 1024 )) count=20
LOOPDEV=$(losetup --show -f $IMGLOCATION/$IMGNAME)
MAJOR_MINOR=$(ls -l $LOOPDEV|awk '{print $5$6}'|sed 's/,/:/')
DMSIZE=$(( $(ls -l
2012 Nov 04
1
syslinux installation problem
Hey, guys.
I have a problem when installing syslinux 4.06, and I'd be grateful if someone could tell me how to solve the problem.
My task - to install the bootloader on the virtual machine image. The image contains the MBR and the only partition with the file system ext4. The file system contains all the files for the guest OS.
To install bootloader into the image of the guest OS, I use the
2005 Aug 19
2
Block device caching causes out of memory in dom0
We run our dom0''s with 128MB of RAM using xen 2.0.6, kernel 2.6.11 for
dom0 and domUs, and typically have ~10 domUs per server. All the domU
filingsystems are loopback files served from dom0 using the file
method.
We''ve found that really busy servers sometimes get out of memory
problems on dom0. This appears as lots of x-order memory allocation
failures with a variable
2019 Oct 31
3
[PATCH 1/2] loop: fix loop_info struct
Otherwise, stack can be corrupted resulting in incorrect runtime
behaviour. For example, overriding argc from main().
References: https://bugs.launchpad.net/ubuntu/+source/klibc/+bug/1850184
Signed-off-by: Michael Hudson-Doyle <michael.hudson at ubuntu.com>
Signed-off-by: Adam Conrad <adconrad at ubuntu.com>
Signed-off-by: Dimitri John Ledkov <xnox at ubuntu.com>
---
2011 Jan 22
32
Bug in mkfs.btrfs?!
Hi,
I wanted to create a new btrfs fs for my backups.
When trying to mkfs.btrfs for that device, I''m getting
"error checking /dev/loop2 mount status"
With strace I see where the problem is:
lstat("/dev/disk/by-id/ata-INTEL_SSDSA2M160G2GC_CVPO939201JX160AGN-par",
0x7fffa30b3cf0) = -1 ENOENT (No such file or directory)
The problem is there is something missing
2009 Aug 05
2
Unable to start domU because losetup fails
Hi,
I have Xen 3.3.1 dom0 on Debian with 2.6.26-2-xen-amd64 kernel and I had to "xm
destroy" my domU. Now when I try to start it again it fails like this:
# xm list | grep n39
#
# xm create -c /xen/conf/n39
Using config file "/xen/conf/n39".
ROOT xen1:~> Error: Device 4 (vbd) could not be connected. losetup -r /dev/loop1
/xen/iso/amd64-netbsd-6.iso failed
# losetup -a
2009 Jul 18
1
Windows 7 on Xen 3.2.1 on Debian 5.0 fails to install
Hi guys,
I am having problem with installing Windows 7 RC on Xen. My config file is:
WIndows is starting, which i can see in VNC terminal, and it hangs on
"Starting windows" screen...
I get error in logs which says:
...
Done register platform.
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
And I/O request error repeats as many times as many cores virtual cpus
I
2009 Nov 12
24
How to Backup and Restore MBR within Logical Volumes?
Hi All,
I have several Xen virtual machines within logical volumes using LVM2. I did
not use disk images for performance reasons.
Conventionally, if I want to clone my virtual machines, I have to dd the LV
to an image file. But this consumes a lot of time and harddisk space.
So, instead of doing that, I want to use losetup and kpartx with my logical
volumes, which contain operating systems of
2010 Jul 08
0
Bug#588406: xen-utils-common: /etc/xen/scripts/block not driving helper scripts; XEN_SCRIPT_DIR not properly set
Package: xen-utils-common
Version: 4.0.0-1
Severity: normal
After upgrading xen-utils-common from 3.4.2-4 to 4.0.0-1, I could not create
a guest domain defined with a DRBD file type. The xm create command would
fail with "Error: Device 51713 (vbd) could not be connected. Hotplug scripts
not working.". After some research I realized the /etc/xen/scripts/block-drbd
helper script was
2011 Aug 14
3
cant mount degraded (it worked in kernel 2.6.38.8)
# uname -a
Linux dhcppc1 3.0.1-xxxx-std-ipv6-64 #1 SMP Sun Aug 14 17:06:21 CEST
2011 x86_64 x86_64 x86_64 GNU/Linux
mkdir test5
cd test5
dd if=/dev/null of=img5 bs=1 seek=2G
dd if=/dev/null of=img6 bs=1 seek=2G
losetup /dev/loop2 img5
losetup /dev/loop3 img6
mkfs.btrfs -d raid1 -m raid1 /dev/loop2 /dev/loop3
btrfs device scan
btrfs filesystem show
Label: none uuid:
2010 Mar 14
0
[patches] klibc review unsorted patch queue
hello hpa,
please review this unsorted patch queue,
as I wasn't sure about them they didn't land yet in todays
pull request.
thanks
max
git clone git://git.debian.org/users/maks/klibc.git test
Thomas B?chler (1):
klcc: compile shared by default
jeremy buisson (1):
[klibc] sparc64: fix bad 32 bits socket syscalls
maximilian attems (1):
[klibc] add losetup utils
the
2008 Jan 24
5
Can''t boot from ISO image...
Hi,
I''ve been trying to boot from a RHEL4 install iso without much luck
(the xen way).
The Host is:
RHEL 5.1
xen-3.0.3-41.el5
Here is my guest config:
# -*- mode: python; -*-
#============================================================================
# Python configuration setup for ''xm create''.
# This script sets the parameters used when a domain is created using
2013 Oct 21
11
swapfile on btrfs, temporary solution for wiki
Hello list, i know what btrfs don''t support swap files.
I read arch wiki and when i reading about systemd addon for auto
create swapfile on btrfs, i invent the way, how create and using swap
file, just see following sh code:
swapfile=$(losetup -f) #free loop device
truncate -s 8G /swap #create 8G sparse swap file
losetup $swapfile /swap #mount file to loop
mkswap $swapfile
swapon