Displaying 20 results from an estimated 400 matches similar to: "resize lvm"
2016 May 06
0
resize lvm
On Fri, May 06, 2016 at 06:19:35PM +0000, Wes James wrote:
> I have a laptop that I put centos 7 on and I started out with a 30gig partition.? I resized the other part of the disk to allow more space for centos.? I then created an unformated partition in the available space,? ran
>
>
> pvcreate /dev/sda4
>
>
>
> vgextend lvname /dev/sda4
>
>
>
> lvextend
2016 May 06
4
resize lvm
I have a laptop that I put centos 7 on and I started out with a 30gig partition.? I resized the other part of the disk to allow more space for centos.? I then created an unformated partition in the available space,? ran
pvcreate /dev/sda4
vgextend lvname /dev/sda4
lvextend -L 184.46G /dev/lvname/root
but when I run:
sudo resize2fs /dev/lvname/root
I get:
resize2fs: Bad magic
2016 May 07
0
resize lvm
On 05/06/2016 02:15 PM, Wes James wrote:
> I found this:
>
> # lvextend -l +100%FREE /dev/myvg/testlv
>
> doing a search. What's the difference between 100%VG and 100%FREE?
For the special case of "100%" there is no difference. For values
less than 100% with a non-empty VG, the two are quite different,
e.g., (50% of VG) != (50% of the free space in VG).
--
Bob
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
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
2006 Mar 10
0
RE: RE: domU lvm and resizing40
The way I''ve done it in the past is:
1. Make sure that xen domain is shut down that you are re-sizing
2. Run lvextend (you''ve already done this)
3. Run e2fsck -f [logical volume name] (i.e. /dev/domain0/lvname)
4. Run resize2fs [volume name] [new size in G of LV] (i.e. resize2fs
/dev/domain0/lvname 8G
5. Start up vm. New size should be reflected now.
HTH
-----Original
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 =>
2000 Jun 22
0
LSP optimisations
Here are two optimisations for LSP :
in vorbis_lsp_to_lpc, Ae and Ao are filled with zero when i increase so you
can reduce the j loop, and I replaced qsort in cacm (maybe there are better
algorithms, but it's already much faster than qsort on my mac)
void vorbis_lsp_to_lpc(double *lsp,double *lpc,int m){
int i,j,m2=m/2;
double *O=alloca(sizeof(double)*m2);
double
2011 Jun 14
0
OT: clear error from premature disk removal from LVM
Hi all,
This question is only slightly ontopic, in that the host system is a
CentOS 5 box, but is otherwise a fairly generic question. I've looked
in so many different places for an answer, but haven't had much luck,
so I'm hoping someone here has some advice. (for the record: I posted
this question to comp.os.linux.misc a few weeks ago)
===
I made a minor mistake recently, and
2016 May 06
0
resize lvm
On May 06, 2016, at 12:37 PM, John R Pierce <pierce at hogranch.com> wrote:
On 5/6/2016 11:28 AM, John R Pierce wrote:
On 5/6/2016 11:19 AM, Wes James wrote:
sudo resize2fs /dev/lvname/root
I get:
resize2fs: Bad magic number in super-block while trying to open
/dev/lvname/root
Couldn't find valid filesystem superblock.
what file system type is this /dev/lvname/root ?
2011 Sep 28
6
I can't seem to create mountpoint and change permissions after mounting in 2.7.3
Hi,
I''m using puppet 2.7.3 on RHEL/CentOS and I have an issue which is now
a big blocking issue within my environment. What I''m trying to
accomplish wit puppet is a create a mountpoint, mount a filesystem on
it and install an application on that filesystems are set proper user/
group and permissions on it, but it fails big time.
The issues I currently run into are about 3
2016 May 06
0
resize lvm
On 5/6/2016 11:19 AM, Wes James wrote:
> sudo resize2fs /dev/lvname/root
>
>
> I get:
>
>
>
> resize2fs: Bad magic number in super-block while trying to open
> /dev/lvname/root
> Couldn't find valid filesystem superblock.
what file system type is this /dev/lvname/root ?
--
john r pierce, recycling bits in santa cruz
2016 May 06
3
resize lvm
On May 06, 2016, at 12:29 PM, John R Pierce <pierce at hogranch.com> wrote:
On 5/6/2016 11:19 AM, Wes James wrote:
sudo resize2fs /dev/lvname/root
I get:
resize2fs: Bad magic number in super-block while trying to open
/dev/lvname/root
Couldn't find valid filesystem superblock.
what file system type is this /dev/lvname/root ?
I tried to find the type from blkid /dev/sda4
2008 May 27
8
How to manage partitions and logical volumes with puppet?
Hi,
As someone new to puppet I''m trying to work out the best way to manage
different filesystems and logical volumes on different servers. Specifically
I would like to be able to define on a series of nodes different LVM logical
volumes to create and mount.
I''m trying to do this at the moment with a define of the following type:
# Manage a partition and create if needed.
2013 Mar 05
1
ubuntu, libvirt and virtio block devices
--
Hi. I'm running
Ubuntu Precise
12.04 LTS. I created some virtual machines using vmbuilder, and then
migrated those from their .qcow files to lvm. However, those virtual
machines are still using disk type "file":
Code:
<disk type='file' device='disk'>
<driver name='qemu' type='raw'/>
<source
2011 Sep 19
4
LVM lvresize/lvextend requires some space in /etc to grow a logical volume?
Side note:
In CentOS-6, I noticed a new option in lvresize / lvextend:
-r, --resizefs
Resize underlying filesystem together with the logical
volume using
fsadm(8).
Nice. Two steps (lvresize and resize2fs) can now be combined into one!
Works great.
But that has nothing to do with my question, just thought I'd share
the discovery.
==
Anyway, here's
2008 Sep 12
2
Can''t see changes in LV Size inside domU (after lvextend on dom0)
Hi guys,
I''ve seen this post regarding "lvm resize" and this contains all the
information I need to resize a disk inside domU :
http://lists.xensource.com/archives/html/xen-users/2006-11/msg00019.html
>From this post:
"With this I can extend the LVs in the Dom0, and either shutdown the DomU
and
resize2fs from Dom0 or even (tested on test VMs and low-use
2008 Apr 22
1
dd backup of lv
I have a series of unmounted lv's that are used in xen vm's of various flavors in a lab environment. I made a script that I use to backup all of them prior to doing anything I may need to undo and all I execute is:
dd if=/dev/vgname/lvname of=/dir/name.img
Are there any additional parameters I should use? I haven't tried to restore this into an lv, but I did swap the 'phy'
2018 May 22
1
LVM GUI in live CD
On 05/21/18 11:07 PM, Mike Burger wrote:
> On 2018-05-21 4:33 pm, Miguel Gonzalez wrote:
>> Hi,
>>
>> ? I am searching around and I can?t find any GUI LVM manager included in
>> a Centos live CD.
>>
>> ? I am trying to resize a LVM partition in a Centos 6.9 machine with a
>> live CD.
>>
>> ? If I need any other distro, It?s fine with me
2007 Aug 22
5
Slow concurrent actions on the same LVM logical volume
Hi 2 all !
I have problems with concurrent filesystem actions on a ocfs2
filesystem which is mounted by 2 nodes. OS=RH5ES and OCFS2=1.2.6
F.e.: If I have a LV called testlv which is mounted on /mnt on both
servers and I do a "dd if=/dev/zero of=/mnt/test.a bs=1024
count=1000000" on server 1 and do at the same time a du -hs
/mnt/test.a it takes about 5 seconds for du -hs to execute:
270M