search for: lvcreat

Displaying 20 results from an estimated 341 matches for "lvcreat".

Did you mean: lvcreate
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 /dev/vg0/snap1 now it removed successfully #lvcreate -L4096M -n fedora1 vg0 System lockup at this p...
2008 Jun 25
4
Centos 5.2 Install - lvcreate failed for ...
!st install of 5.2; system requires custom partitioning (Scalix mail server). Boot and Swap are hard partitions, rest of drive is LVM. In LVM, three ext3 partitions: /, /home, /var/opt/scalix lvcreate failed for the last (named Scalix_02). It was the last of the three partitions and used up the remainder of the LVM space. Now 'The Installer will now exit..." And all there is is a Reboot button. Any idea on what the real error is, how to find out more, what to try next? It did tak...
2010 Dec 13
0
Any ideas why this lvcreate kernel BUG happens?
Hello, From time to time I get this error and the lvcreate process becomes with D state and can not be killed? Any ideas why this happens? I use Debian Lenny with xen-4.0.1 [229995.580419] kernel BUG at /root/xen-4.0.1/linux-2.6-pvops.git/arch/x86/xen/mmu.c:1885! [229995.580624] invalid opcode: 0000 [#1] SMP [229995.580749] last sysfs file: /sys/devices...
2011 Feb 25
3
can't create large LVM, even though pvscan shows enough space left
...VG freenas lvm2 [500.00 GB / 500.00 GB free] PV /dev/sdc VG thecus lvm2 [1010.00 GB / 910.00 GB free] PV /dev/mapper/ddf1_RAIDp2 VG VolGroup00 lvm2 [931.25 GB / 0 free] Total: 3 [2.38 TB] / in use: 3 [2.38 TB] / in no VG: 0 [0 ] [root at francois-pc ~]# lvcreate -L 500gig -n 500G freenas Insufficient free extents (127999) in volume group freenas: 128000 required Even dropping the size a bit, I get this: [root at francois-pc ~]# lvcreate -L 500gig -n 450G freenas Insufficient free extents (127999) in volume group freenas: 128000 required How do I...
2014 Oct 05
0
lvcreate error
Hello I am unable create a new logical volume, I receive the following error when using lvcreate # lvcreate -L 1g -n system3_root hm device-mapper: resume ioctl on failed: Invalid argument Unable to resume hm-system3_root (253:7) Failed to activate new LV. # pvs PV VG Fmt Attr PSize PFree /dev/sda4 hm lvm2 a-- 998.00g 864.75g # gvs VG #PV #LV #SN Attr V...
2008 May 27
8
How to manage partitions and logical volumes with puppet?
...location/$name": ensure => directory, owner => $owner, group => $group, mode => $mode, notify => Exec["create lv /dev/$vgname/$lvname"], } exec { "create lv /dev/$vgname/$lvname": command => "lvcreate -n $lvname -L $lvsize /dev/$vgname && mkfs.$fstype /dev/$vgname/$lvname", unless => "lvs | grep -q "$lvname.*$vgname", notify => Exec["mount lv $location/$name"], } exec { "mount lv $location/$name": command =&...
2002 Apr 08
2
ext3 on an logical volume - snapshot using how?
...dy! I'm using LVM and ext3 and am very satisfied with it. But now I have the following problem: I have a filesystem on a LV which is in use - files are created, modified and so on. To do a backup I'd like to create a snapshot of this volume which gets backup'd and then dropped. # lvcreate -s -L 20M -n snapshot /dev/vg/data lvcreate -- WARNING: the snapshot will be automatically disabled once it gets full lvcreate -- INFO: using default snapshot chunk size of 64.00 KB for "/dev/vg/snapshot" lvcreate -- doing automatic backup of "vg" lvcreate -- logical volume...
2020 Mar 24
2
Building a NFS server with a mix of HDD and SSD (for caching)
...r: /dev/sdb ==> SSD raid1 array /dev/sdd ==> spinning raid6 array I've added "allow_mixed_block_sizes = 1" to lvm.conf to be able to add sdb and sdd in the same VG (because of the sector size missmatch). But as the LVs will only use one and only one PV I guess it's OK. # lvcreate -L 500M -n lv_cache_meta VGnfs /dev/sdb # lvcreate -l +100%FREE -n lv_cache VGnfs /dev/sdb # lvconvert --type cache-pool /dev/VGnfs/lv_cache --poolmetadata /dev/VGnfs/lv_cache_meta # lvcreate -l +100%FREE -n LVnfs VGnfs /dev/sdd # lvconvert --type cache /dev/VGnfs/LVnfs --cachepool /dev/VGnfs/lv_...
2004 Aug 13
0
centos31 anaconda bug with lvm lvcreate?
...to install centos3.1 from the 3cd. I removed all existing partitions and made a custom partitionning: a /boot partition /dev/hda1 and a lvm physical volume for the rest: /dev/hda2 in the lvm volume group I placed all other partitions including root (/) The anaconda crashed because of an error in lvcreate for the root partition. Is there a problem with that? I did reboot and restarted with then same config and it is now installing. I have saved the debug info on a floppy if anyone interested. Thanks Sophana -------------- next part -------------- An HTML attachment was scrubbed... URL: <h...
2013 Apr 22
1
failure creating a snapshot volume within a lvm-based pool
...ated # virsh vol-list images_lvm Name Path ----------------------------------------- myvol /dev/libvirt_images_vg/myvol if I try to create another volume using the previous one as backing-vol, the creation fails with what looks like an incorrect commandline for lvcreate: # virsh vol-create-as images_lvm myvol-instance 2G --backing-vol myvol error: Failed to create vol myvol-instance error: internal error Child process (/usr/sbin/lvcreate --name myvol-instance -L 2097152K -s=/dev/libvirt_images_vg/myvol) unexpected exit status 3: /usr/sbin/lvcreate: invalid opt...
2011 Feb 13
2
using an lvm for kvm vm
Is there a simple way to directly install a vm on an lvm (or proably seperate LVM's for root and swap)? For example something like: lvcreate -L 10G -n testvm_root vg_myvg lvcreate -L 1G -n testvm_swap Then somehow setup the VM to be able to directly install and boot the vm from these LV's. How do I do this? Could you then pause the virtual machine and safely take an LVM snapshot, continue the VM and then mount the snapshot on t...
2023 May 19
3
[libguestfs PATCH 0/3] test "/dev/mapper/VG-LV" with "--key"
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2168506 This small set covers the new /dev/mapper/VG-LV "--key" ID format in the libguestfs LUKS-on-LVM inspection test. Thanks, Laszlo Laszlo Ersek (3): update common submodule LUKS-on-LVM inspection test: rename VGs and LVs LUKS-on-LVM inspection test: test /dev/mapper/VG-LV translation common
2023 May 19
3
[guestfs-tools PATCH 0/3] test "/dev/mapper/VG-LV" with "--key"
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2168506 This small set covers the new /dev/mapper/VG-LV "--key" ID format in the LUKS-on-LVM virt-inspector test. Thanks, Laszlo Laszlo Ersek (3): update common submodule inspector: rename VGs and LVs in LUKS-on-LVM test inspector: test /dev/mapper/VG-LV translation in LUKS-on-LVM test common
2005 Jul 30
3
LVM Snapshot Create Error
Just discovered that on CentOS 4.1 when you issue the command: lvcreate -s -n temp -L2G /dev/vgname/lvname to create a snapshot, you get the error message: snapshot: Required device-mapper target(s) not detected in your kernel I've checked and recheck my spelling and tried using the device created under /dev/mapper. I've tried it on both x86_64 and on i386...
2011 Feb 17
0
Can't create mirrored LVM: Insufficient suitable allocatable extents for logical volume : 2560 more required
...inherit ACTIVE '/dev/LVM/swap' [3.91 GB] inherit ACTIVE '/dev/LVM/data' [120.00 GB] inherit ACTIVE '/dev/LVM-RAID/lvol0' [10.00 GB] inherit ACTIVE '/dev/LVM-RAID/lvol1' [10.00 GB] inherit [root at HP-DL360 by-path]# lvcreate -L 10G LVM-RAID Logical volume "lvol2" created Yet, when I try and add a mirror, I get this: [root at HP-DL360 by-path]# lvcreate -L 10G -m1 LVM-RAID Insufficient suitable allocatable extents for logical volume : 2560 more required Unable to allocate extents for mirror(s). I...
2002 Feb 04
1
LVM (1.0.2 ), ext3 and 'hot' snapshotting
Hello, all. I work with lvm ( kernel 2.4.17 + ext3-2.4-0.9.17-2418p3 patch ) but i can't snapshot a ext3 fs directly # lvcreate --snap --name snap --size +1G /dev/vgtest/lvtest # mount -o ro -t ext3 /dev/vgtest/lvtest /snap /mnt/snap ext3 can't work , ext2 work If I mount readonly the etx3 filesystem, snapshot-it, and remount rw the filesystem ( and ro the snapshot ) it work fine. # mount -o remount,ro /dev/v...
2009 Oct 06
1
Disc layout advice
I have a DAS w/ 6 750Gb and 6 1Tb discs I am setting up using Linux raid. The controller is a POS so each disc is exported as an R0 single volume. I used a parted and fdisk script to create 1 max size partition labeled as Linux Raid Autodetect and created the first r6 array w/ mdadm. I normally create and mark partitions as raid or lvm so people know what's going on. The first md array is
2009 Dec 04
0
Fwd: Re: [PATCH 1/2] Provides a new storage administration system to the managed node.
...gt;, ovirt-devel at redhat.com Darryl L. Pierce wrote: > On Mon, Nov 09, 2009 at 02:54:50PM -0500, Joey Boggs wrote: > >> ACK pending below comments: >> >> For lvm -It creates a pool fine, when creating a volume its missing the >> volume group name when running lvcreate >> >> +-----+ An Exception Has Occurred +-----+ >> Couldn't create storage volume '1.img': 'internal error '/sbin/lvcreate >> --name 1.img -L 1024K /tmp/lvm' exited with non-zero status 3 and signal >> 0 >> Volume group name expecte...
2019 Nov 12
1
[PATCH] tests: luks: Test the --key options.
Requires this series: https://www.redhat.com/archives/libguestfs/2019-November/msg00036.html
2007 May 03
1
best practice backup
Hi there, I am using tar to backup the whole system (specific directorues usr,lib,sbin,etc,var,home,root). On bare metal recovery I install the minimal portion of the syetm and then I throw the tarballs. Any opinions? D. Karapiperis -------------- next part -------------- An HTML attachment was scrubbed... URL: