Displaying 20 results from an estimated 373 matches for "blockdevs".
Did you mean:
blockdev
2016 Apr 22
2
[OT] disk utility showing message "the partition is misaligned by"
On 04/22/16 08:19, Leon Fauster wrote:
<<>>
> check it with:
>
> blockdev --getalignoff /dev/sd
>
> (if a '0' is returned, the partition is aligned)
>
===>
Leon,
thank you for reply.
]$ sudo blockdev --getalignoff /dev/sdc1
0
]$ sudo blockdev --getalignoff /dev/sdc2
0
]$ sudo blockdev --getalignoff /dev/sdc5
2560
]$ sudo blockdev --report /dev/sdc1
RO
2010 Apr 06
1
[PATCH] LocalCopy: Use blockdev to get the size of block devices
LocalCopy was previously only using stat to determine the size of a source disk.
If that source disk was a block device it would return 4k. Amongst other
problems, this resulted in disks which would not import into RHEV.
---
lib/Sys/VirtV2V/Transfer/LocalCopy.pm | 32 +++++++++++++++++++++++++++++++-
1 files changed, 31 insertions(+), 1 deletions(-)
diff --git
2020 Jan 17
0
Re: error: internal error: unable to execute QEMU command 'blockdev-mirror': Cannot find device= nor node_name=
On Fri, Jan 17, 2020 at 01:45:00 +0100, Oliver Dzombic wrote:
> Hi,
>
> i try to test live-migration using this command:
>
> #virsh migrate --copy-storage-all --verbose --live kvm1776
> qemu+ssh://nodeb/system
>
>
> Instant error message:
>
> error: internal error: unable to execute QEMU command 'blockdev-mirror':
> Cannot find
2016 Apr 21
1
[PATCH] dib: Rewrite match statement as ordinary if statement.
Just stylistic change, no functional change.
---
dib/dib.ml | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/dib/dib.ml b/dib/dib.ml
index 06a1f67..35ae6b7 100644
--- a/dib/dib.ml
+++ b/dib/dib.ml
@@ -781,9 +781,8 @@ let main () =
) @ mkfs_options @ [ "-t"; cmdline.fs_type; blockdev ] in
ignore (g#debug "sh" (Array.of_list ([ "mkfs" ]
2020 Jan 06
2
Re: Locking without virtlockd (nor sanlock)?
Il 06-01-2020 10:06 Peter Krempa ha scritto:
> On Fri, Jan 03, 2020 at 14:08:03 +0000, Daniel Berrange wrote:
>> As above, QEMU's locking is good enough to rely on for file based
>> images.
Hi Daniel, thank you for the direct confirmation.
>> The flaws I mention with libvirt might actually finally be something
>> we
>> have fixed in 5.10.0 with QEMU 4.2.0,
2018 Mar 05
2
Re: Fail in virDomainUpdateDeviceFlags (libvirt-4.0.0 + Qemu-kvm 2.9.0 + Ceph 10.2.10)
On Fri, Mar 02, 2018 at 15:32:44 -0500, John Ferlan wrote:
>
>
> On 03/02/2018 08:28 AM, Peter Krempa wrote:
> > On Tue, Feb 27, 2018 at 09:53:00 +0100, Michal Privoznik wrote:
> >> On 02/27/2018 03:06 AM, Star Guo wrote:
> >>> Hello Everyone,
> >>>
> >>>
> >>>
> >>> My pc run in CentOS 7.4 and install
2017 Feb 21
0
[PATCH 3/3] dib: rename "aux" to "in_target.aux"
Sadly, there are elements (hello "gentoo"!) that, during the cleanup.d
phase, wipe out almost everything in the /tmp of the guest, including
the /tmp/aux where virt-dib mounts the auxiliary data. Since that
removal excludes things starting with "in_target" (mostly to avoid
wiping the "in_target.d" that disk-image-create itself sets up, then
rename our "aux"
2012 Jan 18
0
blockdev --flushbufs required [was: parted issue/question
[Following up on this thread:
http://thread.gmane.org/gmane.linux.kernel.device-mapper.devel/14999]
Alasdair G Kergon wrote:
> Try
> blkdev --flushbufs
> after any cmd that writes to a dev to see if that makes any difference.
Thanks for the work-around.
Using "blockdev --flushbufs $dev" does indeed make parted
behave the same with dm-backed storage as with other devices.
2020 Oct 15
2
Re: scsi passthrough differs between guests
Greetings Peter,
> Sent: Thursday, October 15, 2020 at 9:52 AM
> From: "Peter Krempa" <pkrempa@redhat.com>
> To: "daggs" <daggs@gmx.com>
> Cc: "libvirt-usersredhat.com" <libvirt-users@redhat.com>
> Subject: Re: scsi passthrough differs between guests
>
> I don't see anything wrong with you configs. There were some changes
2019 Dec 16
2
Change in treatment of qcow2 with chained backing files in v5.10.0?
Hello list,
upon upgrading from libvirt v5.9.0 -> v5.10.0, libvirt started calling
qemu differently causing the VM operating system to not be found. I'm
wondering whether I'm chasing a bug, or have to otherwise fix my domain
config (created by virt-manager).
To start with, I have a Windows 7 domain based on the following images:
windows7-base.qcow2: QEMU QCOW2 Image (v3),
2016 Apr 22
0
[OT] disk utility showing message "the partition is misaligned by"
On 04/22/2016 09:43 AM, g wrote:
> ]$ sudo blockdev --getalignoff /dev/sdc1
> 0
> ]$ sudo blockdev --getalignoff /dev/sdc2
> 0
> ]$ sudo blockdev --getalignoff /dev/sdc5
> 2560
> ]$ sudo blockdev --report /dev/sdc1
> RO RA SSZ BSZ StartSec Size Device
> rw 256 512 4096 2048 838860800 /dev/sdc1
> ]$ sudo blockdev --report
2017 Feb 21
3
[PATCH 1/3] dib: unset all temporary dirs envvars in fake-sudo
The real sudo does it as well, and leaving them when preserving the
environment (-E) maybe breaks the applications, as e.g. chroot will have
a TMPDIR path pointing outside of it.
---
dib/dib.ml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/dib/dib.ml b/dib/dib.ml
index df83ba1..d15cd19 100644
--- a/dib/dib.ml
+++ b/dib/dib.ml
@@ -301,6 +301,11 @@ if [ -z \"$preserve_env\" ];
2014 Nov 23
0
[PATCH 2/3] New API: guestfs_blockdev_setra: Adjust readahead for filesystems and devices.
This adds a binding for 'blockdev --setra', allowing you to adjust the
readahead parameter for filesystems and devices.
---
daemon/blockdev.c | 30 ++++++++++++++++++++----------
generator/actions.ml | 14 ++++++++++++++
2 files changed, 34 insertions(+), 10 deletions(-)
diff --git a/daemon/blockdev.c b/daemon/blockdev.c
index 8a7b1a8..6e8821d 100644
--- a/daemon/blockdev.c
+++
2020 Oct 22
2
Why "discard":"unmap" is the default option for disks
Hello,
I find "discard":"unmap" is defaultly enabled in qemu cmdline(libvirt
v6.6, qemu v5.1):
XML:
<disk type="file" device="disk">
<driver name="qemu" type="qcow2"/>
<source file="/var/lib/libvirt/images/new.qcow2" index="2"/>
<backingStore/>
<target
2019 Dec 17
0
Re: Change in treatment of qcow2 with chained backing files in v5.10.0?
On Mon, Dec 16, 2019 at 12:49:40 +0100, Jens John wrote:
> Hello list,
Hi Jens,
>
> upon upgrading from libvirt v5.9.0 -> v5.10.0, libvirt started calling
> qemu differently causing the VM operating system to not be found. I'm
> wondering whether I'm chasing a bug, or have to otherwise fix my domain
> config (created by virt-manager).
Yes, this change was done by
2014 Nov 23
7
[PATCH 0/3] patches needed for virt-bmap
See http://rwmj.wordpress.com/2014/11/23/mapping-files-to-disk/
2020 Oct 14
2
scsi passthrough differs between guests
Greetings,
I have two machines running the same distro, both running qemu 5.1.0, one runs libvirt 6.7.0, the other 6.8.0.
I've decided to test the viability of passing through my sata cdrom into a vm, so I went to the libvirt docs, read a bit and added the following to a debian10 uefi vm running on libvirt 6.8.0:
<controller type='scsi' index='0'
2012 Aug 21
5
[PATCH 1/2 v1] blkdrv: Add queue limits parameters for sg block drive
This patch adds some queue limit parameters into block drive. And inits them
for sg block drive. Some interfaces are also added for accessing them.
Signed-off-by: Cong Meng <mc at linux.vnet.ibm.com>
---
block/raw-posix.c | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++
block_int.h | 4 +++
blockdev.c | 15 +++++++++++++
hw/block-common.h | 3 ++
4 files
2012 Aug 21
5
[PATCH 1/2 v1] blkdrv: Add queue limits parameters for sg block drive
This patch adds some queue limit parameters into block drive. And inits them
for sg block drive. Some interfaces are also added for accessing them.
Signed-off-by: Cong Meng <mc at linux.vnet.ibm.com>
---
block/raw-posix.c | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++
block_int.h | 4 +++
blockdev.c | 15 +++++++++++++
hw/block-common.h | 3 ++
4 files
2014 Nov 24
2
[PATCH v2 0/2] patches needed for virt-bmap
Does *not* incorporate changes suggested by Pino yet.
Rich.