Displaying 20 results from an estimated 11000 matches similar to: "resize lvm"
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
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 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
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
0
resize lvm
On 5/6/2016 11:39 AM, Wes James wrote:
> file -s /dev/dm-0
>
>
>
> and it says XFS
>
>
>
> So would I use xfs_growfs?
bingo! xfs_growfs can be used with the file system online, I'm pretty
sure resize2fs requires the file system to be offline (unmounted).
--
john r pierce, recycling bits in santa cruz
2016 May 06
2
resize lvm
>
> From: Scott Robbins <scottro11 at gmail.com>
> Date: May 06, 2016 12:32:55 PM
> To: CentOS mailing list <centos at centos.org>
> Subject: Re: [CentOS] 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
2018 Apr 12
0
[PATCH v2 2/2] resize: expand f2fs partitions
Use resize.f2fs (via f2fs_expand) to expand f2fs filesystems, if
available.
---
resize/resize.ml | 12 ++++++++++--
resize/virt-resize.pod | 10 ++++++++--
2 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/resize/resize.ml b/resize/resize.ml
index 1a21e4dff..8e4bb1b16 100644
--- a/resize/resize.ml
+++ b/resize/resize.ml
@@ -136,7 +136,7 @@ let debug_logvol lv =
type
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
2015 Jun 25
2
LVM hatred, was Re: /boot on a separate partition?
On 6/25/2015 8:50 AM, Robert Heller wrote:
> man vgdisplay
> man lvdisplay
> man lvcreate
> man lvextend
> man lvresize
> man lvreduce
> man lvremove
> man e2fsck
> man resize2fs
man xfs_growfs
--
john r pierce, recycling bits in santa cruz
2016 Nov 25
0
[PATCH 2/2] resize: shrink/expand swap partitions
Handle the swap partition on their own, rebuilding them using the
existing UUID and label.
---
resize/resize.ml | 35 ++++++++++++++++++++++++++++-------
resize/virt-resize.pod | 8 ++++++++
2 files changed, 36 insertions(+), 7 deletions(-)
diff --git a/resize/resize.ml b/resize/resize.ml
index 7d06f18..59ee5bf 100644
--- a/resize/resize.ml
+++ b/resize/resize.ml
@@ -60,6 +60,7 @@ and
2015 Jun 25
0
LVM hatred, was Re: /boot on a separate partition?
----- Original Message -----
| On 6/25/2015 8:50 AM, Robert Heller wrote:
| > man vgdisplay
| > man lvdisplay
| > man lvcreate
| > man lvextend
| > man lvresize
| > man lvreduce
| > man lvremove
| > man e2fsck
| > man resize2fs
|
| man xfs_growfs
You forgot man "this opinion thread is getting really long"
--
James A. Peltier
IT Services - Research Computing
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
2014 Dec 16
1
virt-resize corrupts ext2 filesystem
steps to reproduce:
./run guestfish -N disk:1536M <<EOF
part-init /dev/sda mbr
part-add /dev/sda p 1 1048577
part-add /dev/sda p 1048578 2097154
part-add /dev/sda p 2097155 -1
mkfs ext2 /dev/sda1
mkfs ext2 /dev/sda2
mkfs ext2 /dev/sda3
EOF
qemu-img create -f raw test2.img 1520M
./run virt-resize --format raw --output-format raw --resize /dev/sda1=-2M --resize /dev/sda2=-8M --shrink
2015 Dec 15
2
CentOS 7 (1511) is released
> Date: Monday, December 14, 2015 20:38:23 -0700
> From: Wes James <comptekki at me.com>
>
>
>> On Dec 14, 2015, at 4:57 PM, Johnny Hughes <johnny at centos.org>
>> wrote:
>>
>> On 12/14/2015 05:46 PM, Wes James wrote:
>>>
>>>> On Dec 14, 2015, at 9:37 AM, Johnny Hughes <johnny at centos.org>
>>>> wrote:
2015 Dec 15
1
CentOS 7 (1511) is released
On 15 December 2015 at 12:15, Zdenek Sedlak <dev at apgrco.com> wrote:
> On 12/15/2015 04:52 AM, Richard wrote:
> >
> >
> >
> >> Date: Monday, December 14, 2015 20:38:23 -0700
> >> From: Wes James <comptekki at me.com>
> >>
> >>
> >>> On Dec 14, 2015, at 4:57 PM, Johnny Hughes <johnny at centos.org>
>
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
2015 Dec 15
0
CentOS 7 (1511) is released
On 12/15/2015 04:52 AM, Richard wrote:
>
>
>
>> Date: Monday, December 14, 2015 20:38:23 -0700
>> From: Wes James <comptekki at me.com>
>>
>>
>>> On Dec 14, 2015, at 4:57 PM, Johnny Hughes <johnny at centos.org>
>>> wrote:
>>>
>>> On 12/14/2015 05:46 PM, Wes James wrote:
>>>>
>>>>> On Dec
2012 Feb 24
4
Resize guest filesystem question
Greetings -
I am going through some testing steps to expand a logical volume and the
corresponding filesystem on a KVM guest and have run across a deficiency in
my knowledge. I spent the afternoon yesterday googling for answers, but had
have come up blank still. What I am trying to do is resize the file system
to use the additional disk space that I added to the logical volume that the
2012 Aug 04
2
resize too large
I have a file system I am trying to resize via resize2fs but I get this error
resize2fs 1.41.14 (22-Dec-2010)
resize2fs: New size too large to be expressed in 32 bits
im on debian squeeze 2.6.32-5-amd64
# pvs
? PV???????? VG????? Fmt? Attr PSize? PFree
? /dev/md1?? vgRAID6 lvm2 a-?? 18.17t 134.12g
# lvs
? LV??? VG????? Attr?? LSize? Origin Snap%? Move Log Copy%? Convert
? data1 vgRAID6 -wi-ao
2008 Nov 09
2
DomU partition resize problem
Hello everybody,
I''m playing with Xen and trying to extend DomU disk space.
My Configuration:
Dom0: all Xen machine are HVM. They''re installed on LVM.
I''ve one VG (XEN) on Dom0 and created a LV (here, xps.101.disk) per DomU.
disk configuration in xen conf is as follow:
disk = [
''phy:/dev/XEN/xps.%d.disk,ioemu:hda,w'' % (vmid)