Displaying 20 results from an estimated 1000 matches similar to: "Pass array to a define"
2010 Oct 15
2
puppet-lvm and volume group issues
Trying to setup a volume group with puppet lvm and this:-
volume_group { "my_vg":
ensure => present,
physical_volumes => "/dev/sdb /dev/sdc /dev/sdd",
require => [ Physical_volume["/dev/sdb"],
Physical_volume["/dev/sdc"],
Physical_volume["/dev/sdd"]
]
}
Fails with this in the debug
2012 Jan 17
29
pass values to puppet-lvm
i would like to use the module puppet-lvm and would like to pass
values to it.
I have it setup properly as a module but I can''t for the lfe of me get
it to take any values that I put in my baseconfig.pp in my home
folder.
like shouldn''t something like this work??
puppet-lvm {''setvolume'':
vg => ''myvg'',
pv =>
2012 Aug 14
8
Custom Providers and Environmemts.
I''ve installed the puppet labs lvm module. After fixing the missing
"}" at line 20 in init.pp (really?!?!), I''m getting this:''
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError:
Invalid resource type physical_volume at
/truth/sauce/env/prod/modules/role/manifests/common.pp:43
2013 Aug 14
1
Can't remove a physical_volume from a volume_group
Hello,
I have this bit of code that tries to remove a physical volume from the VG
(which consists of /dev/sda5 amd /dev/sdb1):
volume_group {
"system":
ensure => absent,
physical_volumes => "/dev/sdb1",
}
But I get this error:
Error: Execution of
2013 Jan 08
3
Puppet LVM create volume maximum size
Hello,
Using the LVM module/providers from the forge I want to create a logical
volume at the maximum size and I cannot work out how to do this.
physical_volume -> volume_group -> logical_volume -> filesystem -> mount
All works fine but you have to hard code the size for the logical volume.
Anyone know if this is possible ?
Thanks
Paul
--
You received this message because you
2010 Jul 21
13
sda instead of xvda ?`
Hi,
how can i passthroughs HDD with sda instead of xvda ?
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
2012 Mar 13
1
udev works ok in CentOS 6.x??
Hi all,
I have strange problem with my persistent names applied to iscsi
disks. I have configured an udev rule to assign static iscsi disk
names:
KERNEL=="sd[a-z]", SUBSYSTEM=="block", PROGRAM="/sbin/scsi_id
--whitelisted --replace-whitespace --device=/dev/$name",
RESULT=="1iTGTDSK9a2c73ce654d0ca6", NAME="iscsi/sda"
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
2012 May 23
1
pvcreate limitations on big disks?
OK folks, I'm back at it again. Instead of taking my J4400 ( 24 x 1T
disks) and making a big RAID60 out of it which Linux cannot make a
filesystem on, I'm created 4 x RAID6 which each are 3.64T
I then do :
sfdisk /dev/sd{b,c,d,e} <<EOF
,,8e
EOF
to make a big LVM partition on each one.
But then when I do :
pvcreate /dev/sd{b,c,d,e}1
and then
pvdisplay
It shows each one as
2008 Jun 25
6
dm-multipath use
Are folks in the Centos community succesfully using device-mapper-multipath?
I am looking to deploy it for error handling on our iSCSI setup but there
seems to be little traffic about this package on the Centos forums, as far
as I can tell, and there seems to be a number of small issues based on my
reading the dm-multipath developer lists and related resources.
-geoff
Geoff Galitz
Blankenheim
2007 Nov 19
10
Resize domU block device?
Is there a way for a domU to discover size changes of block
devices modified by dom0?
To make it clear - if I do in dom0 a lvresize of a logical volume given
as physical disk to a domU, is there a way to use the new size
of this device within the domU without reboot?
Thanks
Ralf
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
2009 May 01
4
How do I resize a Physical Partition in a Dom U that''s "on" a Logical Volume in the Dom 0?
Hey all,
I''m trying to figure out how to re-size physical partitions in the Dom U.
I''ve read up what I can find on line and finally decided to have
Logical Volumes in the Dom 0 and pass them as physical volumes for use
in the Dom U.
Here''s an example of what I''m doing.
To start in the Dom 0 I created the LV''s with
lvcreate -n guest_boot -L 100M
2011 Mar 14
1
configsync requires 2nd puppet run for plugin loading to work
First run of puppet performs a configsync and an attempt to load the
downloaded plugins, the provider fails to be found by puppet in this
first run, another re-run of puppet is needed for the provider to
work, see debug output below.
Is this a bug or am I missing something you think?
The error in short:
err: /Stage[main]/Ibe::Slave/Logical_volume[mysql]: Could not
evaluate: No ability to
2011 Nov 18
2
newbie question re block-attach on ubuntu 11.10
I''m a complete newbie at Xen, just getting started.
I was happy to see that Ubuntu 11.10 includes Xen again,
http://zulcss.wordpress.com/2011/09/04/xen-4-1-1-on-ubuntu/
So I installed ubuntu 11.10''s precompiled Xen,
and started playing around with it.
I''m not even trying to start another VM at the moment,
just playing around with mounting block devices,
and had trouble
2008 Aug 31
2
LVM and hotswap (USB/iSCSI) devices?
Hi list,
I'm having one of those 'I'm stupid' -problems with LVM on CentOS 5.2.
I've been working with traditional partitions until now, but I've
finally been sold on the theoretical benefits of using LVM, but for now
I only have a huge pile of broken filesystems to show for my efforts.
My scenario;
I attach a disk, either over USB or iSCSI.
I create a PV on this
2006 Jul 06
4
LVM Input/output error
Hi,
I recently installed centos for the first time and I like it!
Also, I just started working with lvm. The following warnings
are genertated whenever I run one of lvm commands on the external
usb disk (MyBook by Western Digital).
* What could be the source for those messages?
* Should I worry about them (writing into the created LV's
seems to work)?
* If yes, how to fix them?
[root
2017 Apr 08
2
lvm cache + qemu-kvm stops working after about 20GB of writes
Hello,
I would really appreciate some help/guidance with this problem. First of
all sorry for the long message. I would file a bug, but do not know if
it is my fault, dm-cache, qemu or (probably) a combination of both. And
i can imagine some of you have this setup up and running without
problems (or maybe you think it works, just like i did, but it does not):
PROBLEM
LVM cache writeback
2012 Oct 08
1
Resource Scope
I can''t work this out and I''m getting frustrated. :(
Puppet is complaining:
err: Failed to apply catalog: Could not find dependency
Lvm::Volume_group[bcvg] for Lvm::Application_volume[cache] at
/truth/sauce/env/prod/modules/object_store/manifests/server.pp:47
Yet, if I comment out that line so that puppet runs ok, and then look
at the state.yml file on the client, I see:
2018 Mar 18
0
Gluster very poor performance when copying small files (1x (2+1) = 3, SSD)
On 3/18/2018 6:13 PM, Sam McLeod wrote:
Even your NFS transfers are 12.5 or so MB per second or less.
1) Did you use fdisk and LVM under that XFS filesystem?
2) Did you benchmark the XFS with something like bonnie++? (There's
probably newer benchmark suites now.)
3) Did you benchmark your Network transfer speeds? Perhaps your NIC
negotiated a lower speed.
3) I've done XFS tuning
2010 Jul 19
0
mdadm in Domain ?
Hi,
i tried to make a RAID5 Software Raid with 3 HDDs
Disk /dev/xvdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe86f85d6
Device Boot Start End Blocks Id System
/dev/xvdb1 1 30401 244196001 fd Linux raid autodetect
Disk /dev/xvdc: 250.0 GB,