General :: Find Out Maximum Size Of A Image Disk File Created By Kvm-img?
May 22, 2011
I created a VM disk image with kvm-img, but I forget what was the max size of that disk image when I created it. Currently, its size is 6.2G, I want to install some large packages in that VM, so I want to make sure the disk image can expand to an adequate size.
View 1 Replies
ADVERTISEMENT
Feb 22, 2011
I want to delete the KVM created hard disk image file, so I would like to know where it is located .
View 6 Replies
View Related
Jan 20, 2010
I have set up squid server. My cache directory has been set up as per following statements.cache_dir ufs /Cache1/squid 10000 16 256cache_dir ufs /Cache2/squid 10000 16 256Now the problem is that size of /Cache1 and /Cache2 has reached to about 8GB and in near future it will reach the maximum limit of 10GB. I just want to know that whether I need to delete the contents of these directories or otherwise.
View 1 Replies
View Related
May 22, 2010
Both gThumb and Geeqie image viewers have limited maximum size for thumbernails. Is there any way to work with bigger thumbernails (or slide photos)?
View 3 Replies
View Related
Nov 28, 2009
How do I find out maximum I/O request size?
I'm using CentOS release 5.2
I know that the default size is 128 K, how do I find out/confirm this?
View 1 Replies
View Related
May 16, 2011
Is there any way to know which process had created any file in Linux Red Hat/CentOS 5?
View 2 Replies
View Related
Jul 25, 2011
i have to upload a signature image(in jpeg format) to fill a recruitment form which says file-size must be of between 10-20 kb......i have scanned image which is of 9.5 kb.....tried to edit in shotwell photo manager....tried some random things in Adjust and crop menu but my little changes didn't work, it always shortened the file size......as i don't know anything about Image editing can someone tell me how can i increase the file size (>=10kb) i also tried gnome-screenshot to take the screenshot of the image, but it also saved the new image smaller than 10kb....
View 6 Replies
View Related
Feb 19, 2010
I have created a file with a pre-defined size as follows:
Code:
#define FILEPATH "testfile"
#define FILESIZE 16
[code]...
View 5 Replies
View Related
Mar 8, 2011
When I try to delete a file, ( move to trash ) It says , The trash has reached It's maximum size! clean the trash manually. When I click on the trash icon on desktop it is empty. Where is the trash? Where can I delete these files ?
View 2 Replies
View Related
May 31, 2011
First off all, I'm booting from a large MEMDISK using PXE (900MB) . Due to our environment, I cannot decrease the size, nor move files to a nfs/iSCSI/... environment. Everything needs to be in that MEMDISK.
Now, when I try to run the OS, I get out of vmalloc space. How do I increase it to a number which allows such a large image to be mapped? I tried the parameter "vmalloc=1280M", but with that parameter, I don't get past the Booting the kernel screen.
Memory should not be an issue, since the machine(s) have at least 2GB RAM. (900MB MEMDISK + 256MB for other kernel stuff + 768MB for user stuff). The machine(s) have a Pentium 4 Extreme Edition processor, with hyperthreading and SSE2, but no EM64T.
How can I boot the system, and get past that message? Decreasing the MEMDISK size is not possible too. It is at the smallest we can get with our userland + kernel + modules.
View 1 Replies
View Related
Jul 17, 2011
How do I change the size of the available shared memory on Linux?evidently 4GB is not enough for what I am doing (I need to load a lot of data into shared memory - my machine got 8GB of RAM).
View 2 Replies
View Related
Apr 7, 2011
I'm using fc14 and the SG driver to test some SCSI (SAS) targets. In doing so, I'm bumping up against what appears to be a 512KB maximum transfer size per command. Transfers up to 4MB sometimes work, but often they result in ENOMEM or EINVAL returned from the write() function in the SG driver. I could not find any good documentation on how the SCSI system in Linux works so I've been studying the source for drivers in drivers/scsi.
I see that there is a scsi_device struct that contains a request_queue struct that contains a queue_limits struct that contains an element called max_sectors. The SG driver seems to use this to limit the size of the reserve buffer it is willing to create. I see that there are several constants used to initialize max_sectors to 1024 which would result in the 512KB limit I see (with targets having 512 byte sectors). At this point I have several questions:
1) When the open() function for the sg driver gets called, who initializes the scsi_device struct with the default values?
2) Can I merely change the limits struct to arbitrary values after initialization and cause the SG ioctls to set the reserve buffer to allow greater values?......
View 2 Replies
View Related
Mar 24, 2010
Is it possible to boot from a disk image file(containing linux) file that resides inside windows and add a bootloader entry for booting from the disk image.?
View 2 Replies
View Related
Jul 20, 2010
am trying to write a shell script to find the size of a particular log file and if the log size grows, script should mail the changes to the administrator or a any user so script should monitor the log file continuously in a time interval, how can i do that?
I tried with these codes to find the file size but it throws me error says command not found
$s=$( stat -c %s mylogfile.log)
echo $s
View 10 Replies
View Related
Jul 31, 2010
I have a bunch of disk images, made with ddrescue, on an EXT partition, and I want to reduce their size without losing data, while still being mountable. How can I fill the empty space in the image's filesystem with zeros, and then convert the file into a sparse file so this empty space is not actually stored on disk?
For example:
> du -s --si --apparent-size Jimage.image
120G Jimage.image
> du -s --si Jimage.image
121G Jimage.image
This actually only has 50G of real data on it, though, so the second measurement should be much smaller.
This supposedly will fill empty space with zeros: cat /dev/zero > zero.file rm zero.file But if sparse files are handled transparently, it might actually create a sparse file without writing anything to the virtual disk, ironically preventing me from turning the virtual disk image into a sparse file itself. :) Does it? Note: For some reason, sudo dd if=/dev/zero of=./zero.file works when cat does not on a mounted disk image.
View 4 Replies
View Related
Feb 7, 2010
I know there are many threads about recovering damaged superblocks. I've spent 3 evenings reading them and trying what they suggest. Invariably the commands do nothing except to report bad or missing superblocks. I've removed the physical disk from the machine and am working with a dd image file (/mnt/image). I can mount what used to be hdc1 and read its files with no problem. I'm trying to recover partions hdc6 and hdc7.$ mmls /mnt/image -b
DOS Partition Table
Offset Sector: 0
Units are in 512-byte sectors
[code]....
View 1 Replies
View Related
Feb 5, 2011
which default file system will be created on usb stick using live-helper usb-hdd image?
View 1 Replies
View Related
Apr 8, 2011
How to find the filesize of a flash which is not exactly stored in the temp but redirected by a fd.
flash31 -> /tmp/FlashXXvsg1uY (deleted) directory is /proc/processid
Chrome is downloading a flash and I can see in the proc directory the flash file, How can I see the current file size of such a file ?
View 1 Replies
View Related
Mar 19, 2011
I have written a script.
#/bin/bash
a=`du -sh /root/samplefolder | cut -f1`
echo $a > testfile
[code]....
The aim of this script is, when the folder reaches 20M then attributes will be set to that particular folder so that no newfiles and folders cannot be created or copied to that samplefolder. whenever i copy a file morethan 20M to that folder its getting copied fully and then the attributes were applied. But i dont want this to happen, when the folder reaches its maximum current write operation to that folder should be stopped automatically with a error.
View 5 Replies
View Related
Aug 1, 2011
I'm a little bit confused with partitioning the filesystem in Linux. the difference between creating the file system with fdisk and mkfs (when formatting the disk). I can't clearly tell my problem, so please look at this picture:
View 2 Replies
View Related
May 30, 2011
After screwing up an update to Ubuntu 11.04 I decided to do a clean install. I tried downloading the AMD64 DVD image of 11.04 but I have found that some of the files cannot be downloaded and appear to have bad file size. In several mirrors and repositories I found the image size to be only 46.1 MB! (Yes, thats "Mega"-bytes, not Giga-bytes. I ftp'd to the repositories/mirror sites and confirmed this.) Yet in many of the HTTP pages it shows as 4.0 GB.I can't believe that the true size is 46.1 MB as the i386 DVD image is over 3 GB. 4.0 GB sound right, but doesn't match the actual file size. So, how long until it gets updated?
View 6 Replies
View Related
Mar 7, 2010
I have an image of the entire disk created using dd. The disk structure follows:
The image was created using:
How would I, if it is possible, mount /dev/sda1 from the image so that I'm able to read the contents?
It's not an option to clone the HDD again, I know how to do it if I had only cloned the single partition by itself. I hope it's still possible with the current image.
View 3 Replies
View Related
Oct 23, 2010
I have created an image out of 2 other images using the "montage" command. I want to then print it using "lpr". I view the output from montage in XV and it looks fine however when I try to print, it prints the bottom half of the first image then the second and then the bottom half again.
E.g., imagine this:
Code:
<< end of top image
<< end of bottom image
The above is how it looks in xv however when printed, it looks like:
Code:
-------
-------
~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~
//////////////////
//////////////////
-------
-------
I really can't understand it, I've tried opening and saving the image again but it still prints as above. I don't know if montage is outputting it incorrectly or something, however it looks right on the screen!
View 3 Replies
View Related
Jul 18, 2011
I'm trying to install debian-6.0.2.1 from hard diskand it can't find my iso image wich is on the slackware partition.i downloaded initrd.gz an vmlinuz,added some lines to lilo.conf so that i can boot but then when it searches for the iso image doesn't find it .
View 6 Replies
View Related
Jun 22, 2010
I have a file called abc.txt which has following contents.
10.180.8.231=31608
10.180.8.232=29011
10.180.8.233=31606
[code]....
View 3 Replies
View Related
Mar 7, 2010
When I try to burn some .flv files onto a DVD iso using K3B, it gives me the message: "Could not determine size of resulting image file"
View 1 Replies
View Related
Jun 27, 2010
I am having trouble both installing or even just booting the live CD. I have to interrupt the boot to give the nomodeset boot option.
Once I get the Ubuntu splash with the oscillating red and white dots for several moments, I get the Busybox with the error message "Unable to find a medium containing a live file system"
If I do a dmesg I then see a lot of sr0 errors. I have an onboard SCSI controller but no scsi devices. I am not sure if this matters.
View 3 Replies
View Related
Jan 18, 2010
When I first installed K3b it burned the first track with no GUI user configurations.The second time it says that the file name is too long and asks if you want to catenate (shorten) it even if it is the same file you have already burned that didn't ask for this shortening of the file name before. Than it gives you an error of "Could not determine size of resulting image file". So my question is how do you use K3b I guess. Brasero won't do multi-session as far I can deduct. It will ask if you want to do it but after ask if you want to erase the disc.If you force it there is no entry of the previous burns.If I could get Brasero to muli-session it would sovle my problem as well. Here's the debugging stuff. I'm using this on Gnome.
System
-----------------------
K3b Version: 1.0.3
KDE Version: 3.5.7
[code]......
View 1 Replies
View Related
Jul 26, 2009
I have a CentOS5 server with a 1tb hard drive.There is only 80gb of data on that huge drive and now I want to make a bare metal recovery backup using AcronisMy question is, how can I estimate the amount of time the backup will take and the size of the image file? Is it based on the size of my drive or is it based on the amount of data on the drive?
View 1 Replies
View Related
Feb 2, 2010
how to mkpart with maximum size available?
mkpart primary 0 3001G
I have 3TB raid disk. I cannot install centos using GPT partition. I need to use parted and mkpart to format it.
View 1 Replies
View Related