Displaying 20 results from an estimated 6000 matches similar to: "Resizing a Xen DomU disk image"
2006 Aug 23
2
question on mounting a partition that is in a disk image
How do I mount a partition that is in an image file?
I have a file called centos.img that has 3 partitions in the file.
I need to copy data to the third partition on that image file.
I have seen things about a loop back device (which is fine)
but then it talked about an offset parameter and I dont know what
that is or more importantly what number to use. I hope I'm on the
right track.
How
2002 Mar 23
1
bad i_blocks count when FS full
I tried it on loop.
1. mount /dev/loop0 /mnt/test -t ext3
2. cp files to 100% full
3. umount /mnt/test
4. fsck.ext3 -f /dev/loop0
Inode xxxxx, i_blocks is xxx, should be yyy. Fix?
2006 Aug 03
2
how can I tell if a directory is using dir_index?
Hi,
I enabled dir_index on a filesystem and dumpe2fs -h also reports this.
My understanding is that this will be used for newly created directories
and that old directories can be indexed using "fsck.ext2 -D".
Two questions:
- Is there a way to tell is a given directory is indexed or not?
- Is there a better way to index the root fs than to boot off a live
CD?
Best,
Norbert
2010 Aug 12
2
Problem resizing partition of nfs volume
Hi:
I have an NFS volume that I'm trying to resize a partition on.
Something about the fdisk process is corrupting something on the drive
Before running fdisk, I can mount the volume find:
$ mount /dev/sdo1 /home
... and the volume is mounted fine.
And,
$ e2fsck -f /dev/sdo1
/dev/sdo1: clean, ...
But then I run fdisk to rewrite the partition table of this drive, to expand
the /dev/sdo1
2009 Nov 19
10
Unable to mount loopback devices in RAID mode
Hi!
I recently tried to mount a filesystem in RAID1 mode using loopback devices. I followed the instructions at [1]. Here''s exactly what I''ve done:
$ dd if=/dev/zero of=raid1_0.img bs=1M count=500
$ dd if=/dev/zero of=raid1_1.img bs=1M count=500
$ mkfs.btrfs -m raid1 -d raid1 raid1_0.img raid1_1.img
$ losetup /dev/loop0 raid1_0.img
$ losetup /dev/loop1 raid1_1.img
$ mount -t
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
2008 Jan 22
1
Resize a VM disk image
Hi guys,
I have Xen 3.0.3 installed with yum on Centos 5.1.
I''am facing an issue trying to resize the disk image of a centos 4.5 VM.
The VM disk size is 50Go and i need to add 150Go.
I tried two methods so far :
-------------1st method-----------------------
dd if=/dev/zero of=<image file> bs=1M conv=notrunc count=1 seek=2500
*
losetup /dev/loop0 <image file>
*
e2fsck -f
2012 Nov 04
1
syslinux installation problem
Hey, guys.
I have a problem when installing syslinux 4.06, and I'd be grateful if someone could tell me how to solve the problem.
My task - to install the bootloader on the virtual machine image. The image contains the MBR and the only partition with the file system ext4. The file system contains all the files for the guest OS.
To install bootloader into the image of the guest OS, I use the
2013 Sep 05
9
btrfs-convert won't convert ext* - No valid Btrfs found on /dev/sdb1
Hello guys, i try to convert ext4 volume, but btrfs-convert show me error:
"No valid Btrfs found on file
unable to open ctree
conversion aborted."
Ubuntu 13.04
Kernel: 3.11
btrfs-progs git version 0.20-git20130822~194aa4a13
way to reproduce error:
$ truncate -s 4G file
$ mkfs.ext4 file #say yes to create fs on non block device.
$ btrfs-convert file
No valid Btrfs found on file
unable
2008 Dec 26
7
Installing domU from ISO image file
I am trying to install CentOS from an ISO image file but the installer does
not see a CD-ROM drive. The VNC viewer works but the CentOS installer
indicates "Unable to find any devices of the type needed for this
installation type." Then it prompts with "[Select driver] [Use a driver
disk] [Back]". I have tried several variations of the "disk" paramater, all
2003 Jul 02
6
help: booting dos from syslinux/memdisk
Thanks for Remko for his help to solve the fractional cylinder problem.
But there is the second problem, the boot disk failure (see below << [B])
...
command line: initrd=disk.img harddisk c=2 h=256 s=63 BOOT_IMAGE=memdisk
Disk is hard disk, 16128K CHS=2/256/63 <<<< [A]
...
Loading boot sector... booting...
SYSLINUX 2.04
welcome!
boot: 1
[single dot]
2014 Jun 02
2
Re: [long] major problems on fs; e2fsck running out of memory
On Sun, Jun 01, 2014 at 11:24:51PM -0400, Theodore Ts'o wrote:
>
> The "get root inode failed" is rather unfortunate.
Heh, I like your understatement. :) I think this helps answer part of
my questions in my second email: I should probably try to preserve
changes from last backup before getting too deep into a tricky e2fsck.
At one point the fs was still mountable, so I
2008 Oct 03
2
OCFS2 with Loop device
hi there
i try to setup OCFS2 with loop device /dev/loop0
i've 4 servers running SLES10 SP2.
internal ip's: 192.168.55.1, .2, .3 and .6
my cluster.conf:
--------------------------------------------
node:
ip_port = 7777
ip_address = 192.168.55.1
number = 0
name = www
cluster = cawww
node:
ip_port = 7777
ip_address = 192.168.55.2
2009 Feb 25
3
HVM Linux DomU doesn''t start
Hi all,
we are running two servers with Ubuntu 8.04 LTS Server with Xen 3.2 and two
dual-core CPUs:
processor : {0-3}
vendor_id : AuthenticAMD
cpu family : 15
model : 65
model name : Dual-Core AMD Opteron(tm) Processor 2218 HE
stepping : 3
cpu MHz : 2613.394
cache size : 1024 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
fpu :
2006 Aug 21
4
Making DOS/Win9x HD Image for memdisk
Hi list!
I'm trying to make a hd image with can boot from memdisk over PXE.
So this is what i did:
- Created a new VM [VMware]
-Installed DOS on a 100MB HD from a floppy
-bootet Linux over PXE [DamnSmallLinux]
-in terminal: dd if=/dev/hda of=dos.img
This image [dos.img] isn't working! Memdisk loads the Image and boots the
HD! The error message is something like this:
I/O Device
2008 Apr 07
6
img file to physical disk
Hi all.
I''ve got a domU that exists in a sparse file image, I''d like to now use
this on a physical partition (loopback performance issues).
Is there an a easy way to do this ?
Thanks
Stuart
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
2008 Jun 24
11
what''s correct way of shrinking LVM based domU?
Hi all
I want to shrink one of my LVM based domU''s, but don''t quite know how to
do it.
I have searched the Wiki & HOWTO''s, and they all show you how expand /
enlarge a LVM based domU, but not shrinking it.
So, I stopped (destroyed) the domU, and then resized it as follows:
lvresize /dev/data/cpanel1 -L10GB (It was 100GB), but when I a started
it up again, I
2014 Jun 02
0
Re: [long] major problems on fs; e2fsck running out of memory
On Sun, Jun 01, 2014 at 08:54:24PM -0700, Keith Keller wrote:
>
> Heh, I like your understatement. :) I think this helps answer part of
> my questions in my second email: I should probably try to preserve
> changes from last backup before getting too deep into a tricky e2fsck.
> At one point the fs was still mountable, so I could have tried to copy
> files off first. (In a
2005 Sep 20
4
standalone bootable usb-stick
hi ya syslinuxerz
- i've been slowly working on a making a custom bootable
standalone usb-stick with X11 and kde
- it's basically builds itself off of a slackware-10.1 server
- create a custom initrd.gz ( /dev/ram0 )
http://linux-boot.net/Bootable/InitRD/
- create a custom rootfs.gz ( /dev/loop0 )
http://linux-boot.net/Bootable/RootFS/
- create X11 and kde loopfiles
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