Displaying 20 results from an estimated 11000 matches similar to: "How to use libguestfs access LVM as non-root user?"
2013 May 31
2
Re: How to use libguestfs access LVM as non-root user?
On Fri, May 31, 2013 at 12:48 AM, Richard W.M. Jones <rjones@redhat.com>wrote:
> On Thu, May 30, 2013 at 10:21:42PM +0800, Qiu Yu wrote:
> > Hi,
> >
> > Following code snippet, running as non-root user, will throw up a
> > 'Permission denied' RuntimeError.
> >
> > Could someone kindly guide me the correct way to handle LVM disk as
> >
2013 May 31
2
Re: How to use libguestfs access LVM as non-root user?
On Fri, May 31, 2013 at 3:55 PM, Richard W.M. Jones <rjones@redhat.com>wrote:
> On Fri, May 31, 2013 at 10:58:30AM +0800, Qiu Yu wrote:
> > Unfortunately, the standard 'disk' group permission only applies to
> > /dev/sdX device nodes, not to device mapper nodes created by LVM
> commands.
>
> Actually, it depends on udev rules. On my machine device mapper
2013 May 31
3
Re: How to use libguestfs access LVM as non-root user?
On Fri, May 31, 2013 at 4:17 PM, Richard W.M. Jones <rjones@redhat.com>wrote:
> On Fri, May 31, 2013 at 04:03:32PM +0800, Qiu Yu wrote:
> > Actually I'm looking into an issue with OpenStack / Libvirt manipulating
> > LVM as an image backend. When the logical volume is created, udev rules
> > will set the ownership to root:disk. After libvirt actually starting an
2013 May 30
0
Re: How to use libguestfs access LVM as non-root user?
On Thu, May 30, 2013 at 10:21:42PM +0800, Qiu Yu wrote:
> Hi,
>
> Following code snippet, running as non-root user, will throw up a
> 'Permission denied' RuntimeError.
>
> Could someone kindly guide me the correct way to handle LVM disk as
> non-root user?
>
> import guestfs
> g = guestfs.GuestFS()
> g.add_drive_opts("/dev/vg0/disk1",
2013 Jul 17
3
Re: [ovs-discuss] Libvirt "tc ingress qdisc" automatically removed by ovs vlan tag setting, how?
On Wed, Jul 17, 2013 at 6:06 AM, Qiu Yu <unicell@gmail.com> wrote:
> After some digging in openvswitch code. My wild guess is that vlan tag
> reconfiguring triggered iface_configure_qos (vswitchd/bridge.c), which
> in turn called netdev_set_policing to reset ingress policing rate.
> Although there's no ingress_policing_rate set in my case, existing
> ingress qdisc still
2013 Jun 01
2
Re: How to use libguestfs access LVM as non-root user?
On Fri, May 31, 2013 at 7:25 PM, Richard W.M. Jones <rjones@redhat.com>wrote:
> On Fri, May 31, 2013 at 06:39:53PM +0800, Qiu Yu wrote:
> > [00098ms] /usr/libexec/qemu-kvm \
> > -global virtio-blk-pci.scsi=off \
> > -drive file=/dev/xenvg/123,cache=off,format=qcow2,if=virtio \
> > -nodefconfig \
> > -enable-kvm \
> > -nodefaults \
2012 Nov 08
3
Failed to access console after launching LXC through libvirt
Hi,
I'm trying to manage LXC instances through OpenStack, which use libvirt as
a virtualization driver layer. After launching LXC instance, I simply could
not attach to the console.
virsh # list
Id Name State
----------------------------------
14366 instance-00000078 running
virsh # console 14366
Connected to domain instance-00000078
Escape character is ^]
And it keeps
2018 Jan 12
5
[PATCH 1/1] appliance: init: Avoid running degraded md devices
'--no-degraded' flag in the first mdadm call inhibits the startup of array unless all expected drives are present.
This will prevent starting arrays in degraded state.
Second mdadm call (after LVM is scanned) will scan unused yet devices and make an attempt to run all found arrays even they are in degraded state.
Two new tests are added.
This fixes rhbz1527852.
Here is boot-benchmark
2013 Jul 17
2
Libvirt "tc ingress qdisc" automatically removed by ovs vlan tag setting, how?
With outbound QoS setting in Libvirt XML, libvirt will add a tc
ingress qdisc for traffic shaping. Then if you set VLAN tag to that
tap device, this qdisc will automatically gone by no reason.
Could anyone shed some lights where should I look into? I'm really
confused and got no clue here. Thanks!
Steps to reproduce
--
# virsh start instance-name
# virsh dumpxml instance-name
...
2016 May 04
9
[PATCH 0/8] python: PEP 8 fixes
Hi,
this series cleans up the Python sources, either static or generated,
including also tests, to make them PEP 8 compliant; see
https://www.python.org/dev/peps/pep-0008/ and tools like pep8.
Almost all the issues reported by pep8 are fixed, reducing the issues
from 3818 to 7.
The changes should have no effect on the actual code, while it will
help Python users with consistency with other
2014 Jul 16
1
anaconda, kickstart, lvm over raid, logvol --grow, centos7 mystery
I am testing some kickstarts on ESXi virtual machine with pair of 16GB disks.
Partitioning is lvm over raid.
If i am using "logvol --grow i get "ValueError: not enough free space in volume group"
Only workaround i can find is to add --maxsize=XXX where XXX is at least 640MB less than available.
(10 extents or 320Mb per created logical volume)
Following snippet is failing with
2012 Jan 24
1
example script for GObject
I tried using Javascript (gjs) with GObject-Introspection and did a port
of the create_disk example which is attached below.
Quite a bit of time was spent looking up stuff in the GLib reference and
guessing how certain idioms translate to gjs.
I used the traditional add_drive_opts method since I haven't been able
to find how to specify the optional arguments to add_drive_opts. How
does that
2006 Jan 05
2
can not lvcreate after lvm snapshot and "xm mem-set" and lvremove
I am not sure if it''s a xen bug or lvm bug, or just my bad hardware,
but here''s how to reproduce:
/dev/vg0/centos1 is lvm block used by a domainU, it''s 8G in size.
#lvcreate -L8192M -s -n snap1 vg0
#mount /dev/vg0/snap1 /mnt
do some copying files here
#umount /mnt
#lvremove /dev/vg0/snap1
not removed! it says can''t allocated memory
#xm mem-set 0 512
#lvremove
2004 Aug 25
4
Exclusive oplock left by process
Hi all,
We have a HP-UX 11i server running as a samba server. Users use Windows 2000 boxes with Service Pack 4 to connect to the samba server. Several days ago, we upgraded samba server from 2.0.7 to 3.0.5, and we started to experience the following problem:
The general connection and access to the samba server is ok. However, under the samba share there have been some directories mounted from
2008 Jul 17
2
lvm errors after replacing drive in raid 10 array
I thought I'd test replacing a failed drive in a 4 drive raid 10 array on
a CentOS 5.2 box before it goes online and before a drive really fails.
I 'mdadm failed, removed', powered off, replaced drive, partitioned with
sfdisk -d /dev/sda | sfdisk /dev/sdb, and finally 'mdadm add'ed'.
Everything seems fine until I try to create a snapshot lv. (Creating a
snapshot lv
2007 Nov 18
1
Installing openSuSE 10.3 as PV-guest on a LVM-drive of a openSuSE 10.3 host
Hi,
how can I install a openSuSE 10.3 PV-guest on a LVM-drive of a openSuSE
10.3 host with Xen 3.10?
On 10.2 with Xen 3.0.3 the openSuSE-YaST-module for managing VMs could
install the system also on block-devices, unfortunately this is not
possible anymore with OSS 10.3 :-(
What I have tried:
- I created two LVM-partitions, one for "/" one for swap.
- Installing an OSS 10.2 PV-guest
2015 Jun 26
1
LVM hatred, was Re: /boot on a separate partition?
On Fri, Jun 26, 2015 at 10:51 AM, Gordon Messmer
<gordon.messmer at gmail.com> wrote:
>> , or alternatively making the LVs
>> redundant after install is a single command (each) and you can choose
>> whether it should be mere mirroring or some MD manged RAID level (modulo
>> the LVM RAID MD monitoring issue).
>
>
> I hadn't realized that. That's an
2010 Apr 07
2
how to add space do LVM based DomU
Hi,
I want to know
1) How can I add space to LVM based DomU ?
2) How can I remove a LVM based DomU
--
Tapas
+91 8971248477
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
2007 Jul 04
1
adding lvm root example to xmdomain.cfg.5
--- xen-common-3.0.3-0/docs/man/xmdomain.cfg.pod.5 2006-11-02
16:45:36.000000000 +0000
+++ xen-common-3.0.3-0-cjac/docs/man/xmdomain.cfg.pod.5 2007-07-04
20:58:22.000000000 +0000
@@ -274,7 +274,16 @@
=item I<LVM Root>
-FIXME: write me
+ kernel = '/boot/vmlinuz-2.6-xen'
+ ramdisk = '/boot/initrd.img-2.6.18-4-xen-686'
+ memory = '16'
+ root =
2009 Aug 16
9
increase size for dom guest using lvm online
could we increase the size for dom guest online without rebooting or unmounting?
pls kindly advise any methods.
Yahoo!香港提供網上安全攻略,教你如何防範黑客! 請前往 http://hk.promo.yahoo.com/security/ 了解更多!
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users