Displaying 20 results from an estimated 6000 matches similar to: "Best way to extend pv partition for LVM"
2015 Feb 28
1
Looking for a life-save LVM Guru
Dear James,
Thank you for being quick to help.
Yes, I could see all of them:
# vgs
# lvs
# pvs
Regards,
Khem
On Sat, February 28, 2015 7:37 am, James A. Peltier wrote:
>
>
> ----- Original Message -----
> | Dear All,
> |
> | I am in desperate need for LVM data rescue for my server.
> | I have an VG call vg_hosting consisting of 4 PVs each contained in a
> | separate
2015 Feb 28
9
Looking for a life-save LVM Guru
Dear All,
I am in desperate need for LVM data rescue for my server.
I have an VG call vg_hosting consisting of 4 PVs each contained in a
separate hard drive (/dev/sda1, /dev/sdb1, /dev/sdc1, and /dev/sdd1).
And this LV: lv_home was created to use all the space of the 4 PVs.
Right now, the third hard drive is damaged; and therefore the third PV
(/dev/sdc1) cannot be accessed anymore. I would like
2009 Sep 19
3
How does LVM decide which Physical Volume to write to?
Hi everyone.
This isn't specifically a CentOS question, since it could apply for
any distro but I hope someone can answer it anyway.
I took the following steps but was puzzled by the outcome of the test
at the end:
1. Create a RAID1 array called md3 with two 750GB drives
2. Create a RAID1 array called md9 with two 500GB drives
3. Initialise md3 then md9 as physical volumes (pvcreate)
4.
2016 May 18
4
enlarging partition and its filesystem
Hi all!
I've got a VM at work running C6 on HyperV (no, its not my fault,
that's what the company uses. I'd rather gag myself than own one
of th ose things.)
I ran out of disk space in the VM, so the admin enlarged the virtual disk.
but now I realize I don't know how to enlarge the partition and its
filesystem.
I'll be googling, but in case I miss it, it'd be great if
2009 Oct 25
2
Move Windows within an LV to another pv safely
----- "Ben M." <centos at rivint.com> wrote:
> Does this appear to be a sound procedure? I have one inline question.
I read your version of the procedure and it looks like you want to skip the pvmove. That's fine, but it means more downtime (an unreliable estimate is one minuted per GB). In that case, you don't even need the snapshot. You won't need a point in time
2007 Feb 06
1
Increasing existing partition and LVM size
I have a disk on which CentOS is installed and running. The disk
partitions look like this:
Disk /dev/sda: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 5221 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 1044
2015 Jun 24
4
LVM hatred, was Re: /boot on a separate partition?
Once upon a time, m.roth at 5-cent.us <m.roth at 5-cent.us> said:
> Here's a question: all of the arguments you're giving have to do with VMs.
> Do you have some for straight-on-the-server, non-VM cases?
I've used LVM on servers with hot-swap drives to migrate to new storage
without downtime a number of times. Add new drives to the system,
configure RAID (software or
2007 Nov 29
1
RAID, LVM, extra disks...
Hi,
This is my current config:
/dev/md0 -> 200 MB -> sda1 + sdd1 -> /boot
/dev/md1 -> 36 GB -> sda2 + sdd2 -> form VolGroup00 with md2
/dev/md2 -> 18 GB -> sdb1 + sde1 -> form VolGroup00 with md1
sda,sdd -> 36 GB 10k SCSI HDDs
sdb,sde -> 18 GB 10k SCSI HDDs
I have added 2 36 GB 10K SCSI drives in it, they are detected as sdc and
sdf.
What should I do if I
2009 Nov 09
6
Move domU lvm based to another dom0
Hi guys, I need to move an lvm based domU from one dom0 to another dom0.
How do you guys do ths?
xm save/restore doesnt have the option to specify lvm target as the storage.
Thanks
Chris
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
2011 Aug 31
2
How to expand LVM without create new drive?
I now how to expand a LVM by creating a new drive as described here:
http://lists.centos.org/pipermail/centos/2007-February/032664.html, the steps
are:
# pvcreate /dev/sda3
# vgextend VolGroup00 /dev/sda3
Now, I want to know how to expand a LVM without create /dev/sda3?
Suppose I have 2 GB free (unpartitioned) and LVM use /dev/sda2 (8 GB). How to
make /dev/sda2 become 10 GB? Then resize LVM
2018 May 28
9
CentOS6: HELP! EFI boot fails after replacing disks...
OK, I wanted to replace the 500G disks in a Dell T20 server with new 2TB
disks. The machine has 4 SATA ports, one used for the optical disk and three
for the hard drives. It is set up with /dev/sda and /dev/sdb with each three
partitions:
1 -- VFAT (for EFI)
2 -- ext4 (for /boot)
3 -- LVM
/dev/sda2 and /dev/sdb2 are a mirror raid (/dev/md0)
/dev/sda3 and /dev/sdb3 are a mirror raid
2008 Dec 12
1
Upgrade to new drives in raid, larger
Hi all,
As part of my raid experience, I have yet to have to do this, but was
wondering how you guys would attempt it.
I have 3 drives in a raid 1, with one as a hot spare.
They are 250gb with all space used by two raid devices, 1 with boot, the
other with LVMs filling them up.
Now, lets say down the road I want to put in 500gb drives and replace
them....yikes.
I was thinking of taking out the
2020 May 13
4
CentOS 7 - xfs shrink & expand
I'm having some difficulty finding a method to shrink my /home to expand
my /.? They both correspond to LVMs.? It is my understanding that one
cannot shrink a xfs filesystem.? One must back it up (xfsdump), remove
(lvremove) redefine it and then restore it back (xfsrestore).
Okay, I'm running into a problem where /home? needs to be "unused".? If
tried going in to
2006 Dec 21
3
Upgrading to larger HD with LVM
What's the easiest way to transition to a larger HD when using LVM2? I'm
running Centos 4.4. I'm going from a 20gb HD to a 40gb HD. I've already
DD'd it to the 40gb HD. So now I have 20gb of unused space. Ideally, I'd
like to make it one big physical space for the logical space instead of
making another physical partition to expand the logical. Here is what I
have now
2013 Dec 16
2
LVM recovery after pvcreate
Hi all,
I had centos 5.9 installed with one of its volumes (non-root) on LVM:
...
/dev/vgapps/lvapps /opt/apps ext3 defaults 1 2
...
Then installed centos 6.4 on this servers but without exporting this volume (I wanted to reuse it).
After that instead importing it I did:
# pvcreate /dev/sddlmac
# vgcreate vgapps /dev/sddlmac
And then realised that I should have
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
2011 May 25
1
Hook script to preserve one partition untouched during install
This hook script tries to address the fact that a RHEV-H installation
will format all the storage devices available in the machine in order to
create HostVG and AppVG with all the available space. It may be the case
that RHEV-H needs to respect and co-exist with a proposed partitioning
scheme, not getting all the storage space for HostVG and AppVG volume
groups.
The proposed solution adds the
2006 Oct 15
1
Proper partition/LVM growth after RAID migration
Hi
This topic is perhaps not for this list, but it I'm running on a
CentOS 4.4 and it seems that a lot of people here uses 3Ware and RAID
volumes.
I did a RAID migration on a 3Ware 9590SE-12, so that an exported disk
grew from 700GB to 1400GB. The exported disk is managed by LVM. The
problem now is that I don't really know what to do now to let LVM and
my locigal volume to make use of
2015 Jun 25
1
LVM hatred, was Re: /boot on a separate partition?
On Thu, 2015-06-25 at 11:50 -0400, Robert Heller wrote:
> At Thu, 25 Jun 2015 11:03:18 -0400 CentOS mailing list <
> centos at centos.org> wrote:HA! You only really need to learn *one*
> command: the man command.
> The man
> provides 'enlightenment' for all other commands:
> man vgdisplay
> man lvdisplay
> man lvcreate
> man lvextend
> man lvresize
2011 Nov 16
4
not using LVM for Linux VM guests?
I came across an old post comment yesterday (from http://echenh.blogspot.com/2010/04/how-to-extend-lvm-on-vmware-guest-os.html ) discussing the "hack" of LVM on Linux VM guests and whether it's better not to use it to simplify disk management.
I've re-posted the comment below, does it sound reasonable? Is it better to not use LVM on Linux VM guests?
--Russell