Displaying 20 results from an estimated 5000 matches similar to: "Resize guest filesystem question"
2012 Jun 15
4
Resizing est4 filesystem while mounted
Greetings -
I had a logical volume that was running out of space on a virtual machine.
I successfully expanded the LV using lvextend, and lvdisplay shows that it
has been expanded. Then I went to expand the filesystem to fill the new
space (# resize2fs -p /dev/vde1) and I get the results that the filesystem
is already xx blocks long, nothing to do. If I do a # df -h, I can see that
the
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
2011 Dec 19
1
Confusion over steps to add new logical volume to guest VM
Greetings -
I am hoping someone can confirm for me the steps that I am using to add an
LV to an existing Guest in KVM, and what I am seeing as I do some of these
steps. My host (earth) is CentOS 6 and so is my guest (disect). The guest
(disect) is my testing server. The main objective of what I am trying to do
is add a logical volume for /var into my guest. The LV (lv_disectvar) is
part
2011 Nov 21
2
Virt-resize error (ntfs) : Fatal error: exception Guestfs.Error("ntfsresize_opts: /dev/vda2)
Hi.
Libguestfs 1.14
Ubuntu 11.10
I am trying use virt-resize on NTFS partitions.
I have installed Windows 2008 in an LVM partition (in order to use RAW) - I
am trying to resize to a larger LVM partition.
I have ntfsresize installed on the server - the windows partition is not
encrypted.
root at kvm1:~# ntfsresize -v
ntfsresize v2011.4.12AR.4 (libntfs-3g)
The attempt ends with an error
2008 Feb 12
4
Reg Disk space in guest domain with fedora img
Hi
I had installed Xen-3.0.4 in Scientific linux 4 (kernel version 2.6.16.33)
by following the instructions given in following link
project-xen.web.cern.ch/project-xen/xen/howto_slcXen.html
I ve created the guest Domain with fedora image of size 2.2GB , disk space
as 10GB and the domain started successfully . when i logged into the xm
console and checked the disk space its showing only 2.2GB ..
2008 Aug 21
1
ext2online with 1k blocks not working
Hello,
As a Virtuozzo users we have majority of our diskspace formatted with -i 1024 -b 1024.
Lately I discovered that on CentOS 4.6 ext2online barfs when I try to grow such filesystem. Running it with -v -d, it prints lots of lines like:
ext2online v1.1.18 - 2001/03/18 for EXT2FS 0.5b
ext2online: 873646830 is a bad size for an ext2 fs! rounding down to 873644033
...
group NNN inode table has
2012 Mar 09
5
[PATCH 0/5] Fixes to resize2fs (RHBZ#755729, RHBZ#801640)
https://bugzilla.redhat.com/show_bug.cgi?id=755729
This bug reports that the error message printed by the resize2fs API
calls (which comes directly from the resize2fs command) says:
Please run 'e2fsck -f /dev/vda1' first.
That command is not possible from guestfish (where it would be
'e2fsck-f' or 'e2fsck ... forceall:true').
Fixing that bug caused this bug:
2012 Mar 18
4
LVM
I need to shrink /home(755G) to 150GB and use free space to add to the
existing /(50G).
#df -kh
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_web-lv_root 50G 7.8G 40G 17% /
tmpfs 7.8G 384K 7.8G 1% /dev/shm
/dev/sda2 485M 79M 381M 18% /boot
/dev/sda1 200M 256K 200M 1% /boot/efi
/dev/mapper/vg_web-lv_home755G 6.2G 711G
2011 Aug 30
3
resize2fs
Hi All:
I am trying to resize a centos (5.2) VM drive. I use VMware and I have
increased the size of the drive by 40G. I am running resize2fs on
/dev/sdb1 (which is my root partition) but when I do I get this error:
[root at centos ~]# resize2fs /dev/sdb1 120G
resize2fs 1.39 (29-May-2006)
The containing partition (or device) is only 19970795 (4k) blocks.
You requested a new size of 31457280
2005 Jun 19
1
ext3 offline resizing
Hi all,
I want to setup a linux workstation with FC4 and with
all the partitions (except for /boot) under LVM to be
able to resize them in future. I don't need online
resizing, I can shutdown the system and reboot with
the rescuecd when needed.
I have done some test on this configuration and I have
sverals doubts:
If i format a partition with the resize_inode feature
enabled and I resize it
2015 Sep 15
4
Question: running appliance commands over guest fs (resize2fs -P).
Hello everyone!
I am working on resizing qcow2 images using virt-resize+liguestfs. E.g.
I when shrinking a partition, I have to resize filesystem using
resize2fs-size. The problem is that I cannot find out minimal partition
size (aka resize2fs -P). The only way is calling "resize2fs-size 1K",
wait for resize2fs to claim "resize2fs: New size smaller than minimum
(510050)"
2009 Sep 08
3
Resize Guest Disk
Hi all,
i''ve a Problem :)
I tried to resize a disk of my data guest from 100 to 400 GB.
I did an lvresize /dev/xendata/data-disk -L 400G an it works.
I started the Guest and did an df -h to check the size but there are still
100 G :( Can somebody tell me whats wrong? i dont want to lose my data at the Disk!
The Machine is Debian Lenny and the guest OS also.
King Regards
Florian Rahmann
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
2011 Aug 11
2
resizing filesystem in a VM
Hello,
I am using Xen 4.0.1 and Xen 3.2.1 dom0 with Debian Lenny and Squeeze dom0s.
I have a bunch of virtual machines running , all using LVM as backend
storage.
Mostly, an LVM logical volume is mapped to a partition in the VM (eg: xvda1)
I have tried to hot resize the filesystem in the VM without umounting it
but it just do not work... Here is what I did:
- lvextend on the dom0,
-
2005 Jun 08
1
clone RHEL 4 ext3 partition
Hi,
I'm about to roll out a whole bunch of Redhat
Enterprise 4 workstations and have run into problems
cloning from the original.
Normally I would use ghost (v7.5) because it does a
nice job when cloning to a different sized
disk.Unfortunately it comes up with read error 29004.
Looking around it seems that Symantec don't support
Fedora Core 3 (with Ghost v.8 - don't know if v.9
works
2001 Sep 26
1
Reverting to etx2???
I am in the odd situation of needing to revert my root partition back to
ext2 so that it may be resized.
I prefer to use Partition Magic at the moment and it can only work with
partitions of ext2, not ext3. I believe that the documentation for ext3
exists at the main web site, http://www.uow.edu.au/~andrewm/linux/ext3/.
That is my next destination but as the answer may not exist there, I
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
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
2007 Dec 19
2
Resizing a Xen DomU disk image
Hello Mailing List!
A quick question. Has anyone gotten a resize (in my case grown) a Xen
DomU disk image?
Here is the procedure I have followed:
1. Install a DomU using virt-install
Customize xvda to be all one partition ext3
2. On Dom0:
dd if=/dev/zero bs=1G count=1 >> <my_disk_image>
ll -h (Image is now 1GB larger)
xm create <DomU>
On DomU:
df -h (Size has not
2013 Oct 28
1
bridged networking using VLAN : guest with 2 NIC
hello all,
I have been trying to set-up bridged network with VLAN and not able to
succeed as many tutorials address only single NIC.
I am trying to setup 2 guests (backtrack instance) each guest has NIC1 and
NIC2. following is snippet for guest1
I am not able to get 192.168.0.2 address back on guest eth0.
VIRT-MANAGER GUI :
guest1-lan details radio button
left side panel
NIC1