Xen Disk Image: Corrupt

Jun 19, 2008

I created a 4GB disk image for a virtual machine in Xen. (I have root on the physical box, so please don't tell me to contact my VPS provider!)

The disk was filling up, so I took the advice online and created a 6GB file with dd (zero-filled), cat'ed it to the end of my disk file, and then...

[matt@babe centos]$ sudo resize2fs -f ./cent.img
resize2fs 1.39 (29-May-2006)
resize2fs: Bad magic number in super-block while trying to open ./cent.img
Couldn't find valid filesystem superblock.
Of course, fsck won't take a disk image, only an actual partition. And I can't mount it, since I get the same error about a bad superblock.

The VM actually boots up fine, but it only sees 4GB of what's now a 10GB file.

I can use losetup to mount it on a /dev, but still get fsck errors:

[matt@babe centos]$ sudo fsck.ext3 -b 8193 /dev/loop3
e2fsck 1.39 (29-May-2006)
fsck.ext3: Bad magic number in super-block while trying to open /dev/loop3

The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>

I don't know what blocksize was used, so I don't know where to look for a superblock... (I'm out of my league on fsck'ing virtual disks.)

The thing boots fine and is non-mission-critical right now, so worst-case, I can just mount it, rsync the data to the host, and then set up a new machine and rsync that in... I'd just rather not go through that hassle if I don't have to.

View 3 Replies


ADVERTISEMENT

Disk Image To Disk Partition (Xen)

Sep 1, 2008

can a Xen disk image be converted to a diskpartition?

Someone is asking whether I can host his disk image at his current host, which he is leaving for poor I/O (wonder why that would be ). I can host a diskimage, but I don't like diskimages (slow, and 100GB isn't very 'comfortable' either). Is there any way out there to convert a disk image into a normal partition?

View 3 Replies View Related

Disk Image Hosting

Dec 29, 2008

I am wondering if there is disk image hosting? like, I may create disk image there, when

I swich to another ISP, I may restore the image I created. I could be very helpful for server migration or data backup.

Does anybody know whether this kind of service exists?

View 6 Replies View Related

FTP Uploading Corrupt

May 30, 2008

The Details:

XP Home, Verizon DSL, AVG, ZoneAlarm, CoffeeCup FTP, FileZilla FTP

So this all started about 5 days ago and I cannot think of anything that I did to associate this issue with. I'm very computer savvy and no one else uses this computer except for me (to help move things along faster). Essentially what happens when I start CoffeeCup FTP or FileZilla FTP (testing to make sure it wasn't just a problem with CoffeeCup FTP) and try to upload image files it fails, not the upload itself.. but somehow the image files are corrupt (no they're not CMYK, they're RGB). So it shows the file on my server, correct size, no error messages. However, when I go to the image URL it just shows the image URL where the image should be. I then restart CoffeeCup FTP and everything uploads properly. I've checked the lines on DSLReports.com, I've checked ZoneAlarm to make sure that I didn't somehow accidentally click no to something (which is unlikely). I keep my computer very clean and very organized and very up to date so it would be more helpful to me if someone could share some ideas of something that could happen that's not of my control. Could this possibly have anything to do with SP3 (the only thing I can recall being a change on my computer).

View 4 Replies View Related

/etc/fstab Corrupt

Nov 9, 2007

i have install 3-4 dell PE server withn cenots 5, on the server there is only the OS, i have reboot the server and it work fine, after 4-5 days the system was unstable rebooting it i have note that can mount the partition, i have check the /etc/fstab and i have found that the fstab was corrupt, there are a lot of entry for /dev/shm, why happend this? how can i recove the fstab?

View 3 Replies View Related

Fstab Corrupt

Nov 20, 2007

i have a strange issue on my centos 5, the fstab get corrupt, we have reinstall the OS and with the server empty it get corrupt again, the same problem on a second server, seem that is add /dev/shm line, like this one:

LABEL=/ / ext3 tmpfs /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0,usrquota 1 1
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs tmpfs /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0 0 0
LABEL=/home1 /home ext3 tmpfs /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0,usrquota 1 2
proc /proc proc tmpfs /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0 0 0
sysfs /sys sysfs tmpfs /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0 0 0
LABEL=/tmp1 /tmp ext3 rw,noexec,nosuid,nodev 1 2
LABEL=/usr /usr ext3 tmpfs /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0,usrquota 1 2
LABEL=/var /var ext3 tmpfs /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0,usrquota 1 2
LABEL=SWAP-sda5 swap swap tmpfs /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0 0 0
/tmp /var/tmp ext3 /tmp /var/tmp ext3 rw,noexec,nosuid,nodev,bind 0 0 0 0

View 4 Replies View Related

Access Corrupt Partition

Jun 25, 2008

I have two partitions on my hard drive, each have an installation of windows XP, the old partition got corrupt and I can no longer boot windows from it, however I am able to see the files when on the other partition, the problem is I am unable to access the files.

Is there anyway I can get permissions to delete/move those files?

View 3 Replies View Related

Corrupt O/s, Need To Restore From Original Drive

Mar 26, 2007

O/S was corrupt so I had to do a reload on a new drive. I'm trying to mount original drive (already connected as 2nd) but it is not showing up in df -h


Code:
root@server080 [~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 145G 2.5G 135G 2% /
/dev/sda1 99M 12M 83M 12% /boot
none 252M 0 252M 0% /dev/shm
/usr/tmpDSK 485M 11M 449M 3% /tmp
/tmp 485M 11M 449M 3% /var/tmp
/dev/sdb1 99M 12M 83M 12% /backup
root@server080 [~]# e2label /dev/sdb1
/boot1

root@server080 [~]# dumpe2fs /dev/sdb1 | grep -i superblock
dumpe2fs 1.35 (28-Feb-2004)
Primary superblock at 1, Group descriptors at 2-2
Backup superblock at 8193, Group descriptors at 8194-8194
Backup superblock at 24577, Group descriptors at 24578-24578
Backup superblock at 40961, Group descriptors at 40962-40962
Backup superblock at 57345, Group descriptors at 57346-57346
Backup superblock at 73729, Group descriptors at 73730-73730

/etc/fstab shows


Code:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
LABEL=SWAP-sda2 swap swap defaults 0 0
/dev/hda /media/cdrom auto pamconsole,exec,noauto,managed 0 0
/dev/fd0 /media/floppy auto pamconsole,exec,noauto,managed 0 0

View 1 Replies View Related

EXT3 File System Corrupt - I'm Screwed And Going To Shoot Myself

Jun 14, 2007

Our server with raid 10 has had a failed hdd (which was replaced) and a
corrupt ext3 filesystem.

The server is now booted with Knoppix but drives will not mount. All we are trying to at this point is salvage as much data as we can.

View 12 Replies View Related

Use Almost Disk Space Will Harm Hard Disk

Apr 29, 2008

My server has a small SAS disk(about 73G), if I use 90% diskspace of it, is it good idea, will it harm the physical HDD?

View 6 Replies View Related

2 SATAII Disk W/RAID0 Vs One SAS Disk

Jan 8, 2009

I am looking for better disk performance. Due to the tight budget, I have to choose one of following options as my disk choice:

2 SATAII disk w/RAID0, 7200rpm, 32M cache for each disk

1 SAS disk, 15000rpm, 16M cache.

which one will be better and how better if other things(hardware & OS) are same?

View 14 Replies View Related

Apache :: Use Disk To Enhance For Page Cache And Database Cache For Disk

Apr 24, 2013

I use apache with CentOS VPS hosting for my blog. I only host one blog in this VPS account. I have 1.5GB RAM and I have 7, 500 page preview per day. My page loading time is 2-3 seconds (according to the pingdom tool).

I want to know what is the best performance (faster web page loading) W3 Total cache option for VPS hosting blog. Currently I use Disk to enhance for page cache and database cache for disk.

View 2 Replies View Related

Drive Corrupt, Recovery From 2nd Drive Mount

Feb 16, 2007

Primary drive (centos/cpanel) is corrupt

The server is displaying these errors when I tried to do an FSCK:
Bad inode IO
ext3-fs error (device(8,3)) IO Failure

I am having a new primary installed and old primary set as 2nd drive. I need to recover the cpanel domain accounts from this 2nd drive after I mount it with the method below:

mkdir /backup
mount /dev/sdb1 /backup

However, how do I actually recover these accounts in an automated process via whm? I've done this before with the same matter (corrupt primary drive, mount as 2nd, etc) but cannot exactly remember the proper steps.

View 14 Replies View Related

Drive Corrupt - Should I Ask For New Drive Or Reimage

Jul 9, 2007

I have a dedicated box and I started getting Input/output errors today.

I tried:
# fsck
fsck 1.40-WIP (14-Nov-2006)
e2fsck 1.40-WIP (14-Nov-2006)
/dev/hda2: recovering journal
fsck.ext3: unable to set superblock flags on /dev/hda2

then I tried:
# fsck -a -t ext3 /dev/hda2
fsck 1.40-WIP (14-Nov-2006)
/dev/hda2: recovering journal
fsck.ext3: unable to set superblock flags on /dev/hda2

My data is backed up, so was going to ask for a reimage, but is this an indication of bad hardware? Should I ask for a replacement drive? Is there anything else I should try on my own before going to the host?

View 6 Replies View Related

Image Spam

Jul 12, 2009

I am not sure if many of you have been getting this same spam. But I've been getting spam about sexual topics and the email is just an image with words written on it.

Sometimes the email has words too such as what is written below.

Quote:

Doees Using sexual Body Langauge to Attract Women Really Works? www. med72. com. Chicago Bulls' Masecot Sued For Baad High-Five

I was wondering if you know of a way to block those emails.

View 6 Replies View Related

Image Magick

Jul 20, 2007

I installed imagemagick perl module but it is still giving off this error

Can't locate Image/Magick.pm in @INC (@INC contains: /home/user/real/mgmt/perl /usr/local/lib/perl5/5.8.8/i686-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/i686-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /home/user/real/mgmt/perl/real/Image.pm line 33.
BEGIN failed--compilation aborted at /home/user/real/mgmt/perl/real/Image.pm line 33.
Compilation failed in require at gallery.pl line 42.
BEGIN failed--compilation aborted at gallery.pl line 42.

Using cpanel /centos 4.5

View 6 Replies View Related

VPS Or Image Hosting

Aug 12, 2008

I have developed website which will allow user to upload 1-2 photos and also allow to see other users photo and rate them. For this I have planned to go for VPS. I am also thinking of another alternative of using image hosting service, where I will keep all user photos on image hosting server and embed links given by image server in my webpage.

Now my question is.

1) Using image hosting is faster(respone time for each user) than VPS?

2) How exactly using image hosting works. when user request web page from my server, will my server go and fetch entire image from image server and then send final result to user brower?

View 4 Replies View Related

Image Hosting

Jun 8, 2007

where I can host images for my site. It will be thousands of smaller image like 5k - 30k. I am looking at free sites like imageshak. They say in their terms of service that I can host images for my site as long as I don't host all my images. So do you think that I could put like 20 thousand images on their site? These images would not get accessed too much so it won't slam their servers or anything.

View 13 Replies View Related

NAS As An Image Server

Mar 25, 2007

I haven't been able to find much about this searching, but are people using NAS storage to deliver website images? I've never used NAS before and am not familiar with their performance.

View 5 Replies View Related

Uplouding Xml & Image

Nov 22, 2007

i have problem in my server that any scripts for uploading Image or rar or zip or upload Xml from admincp for forum not upload in my server

but when i upload from ftp working and upload

View 6 Replies View Related

Image Hosting Htaccess

Jun 29, 2008

My goal is to block hotlinking of fullsize images and display a image when they attempt it... but allow clickable thumbnails to be shown. For some reason the following isn't working...

My htaccess looks like this:

RewriteEngine On
RewriteBase /images

#Allow if it's not from another website
RewriteCond %{HTTP_REFERER} ^$ [OR]
RewriteCond %{HTTP_REFERER} ^[url]
RewriteCond %{HTTP_REFERER} ^[url]

#Allow if it's the hotlink.gif
RewriteCond %{REQUEST_FILENAME} hotlink.gif [NC,OR]

#Pass through thumbnails or hightlights as-is
RewriteCond %{REQUEST_URI} .thumb.jpg$ [NC,OR]

#Return an anti-hotlink gif in place of any visual media
RewriteRule .*.(jpe?g|gif|bmp|png)$ css/images/hotlink.gif [R,L,NC]

View 4 Replies View Related

Image Hosting Site

May 7, 2008

how much space should I need for Image hosting site?

View 4 Replies View Related

Image Hosting (Germany?)

May 5, 2008

We have an image hosting project, which uses ~5Tb/mo,

Currently we are running it on Pentium D 2,8GHz CPU (Dual Core), 1Gb RAM, 2×160Gb 7200rpm IDE HDD for ~170$/mo.

We don't need much better hardware, but need some good hdds (IDE sucks) + RAID.

Stats for 20.03.08-30.03.08 (10 days) - incoming: 35 Gb, outgoing: 1.3 Tb
So it's about ~4 Tb/mo. And we want 5-6Tb for a reserve.

Keyweb doesn't allow image hosting on their servers

Best choice is OVH, but I'm not in Germany..

View 14 Replies View Related

Make Centos Image For Xen

Jul 6, 2008

I have been trying to get it to work, but cant get it going...

how do I make centos run on xen?

View 8 Replies View Related

Image Sharing Host

Aug 23, 2008

i have a forum site which is running on a vps 45gb space and 2000gb put i would like to offer my members a means to upload images small files max 5-10mb just with in the site but i would like to use a totally new server are there any shared host that will allow this has i will use a scrpit has well on it

View 9 Replies View Related

Image Hosting Bandwidth

Jul 10, 2008

i'm planning to create an image hosting kind of site. how much bandwidth per month does it usually take?

View 6 Replies View Related

Take An Image Of The Server And Reload It Again If Need Be

Dec 17, 2008

i have set up a sever with certain software exactly the way i want it. However, there is some extra stuff i need to install on it.

I am running Centos 5.1 and would like to run some command possibly via ssh which would create an entire image of the server in a disk format such as ISO and then if need be, reinstall the basic operating system and restore the ISO back up if need be.

Is this possible?

If so how and how would i restore the image as well?

View 5 Replies View Related

Want To Build An Image Hosting

Dec 8, 2008

i have plan to build a image hosting. I will build a site using script like this notinportland.com . I need some advise.

I trust i will get about 7k-10k page view everyday , may be 1k-2k unique visitor, just see image on my site, not direct link.

- Of course, i will start with shared hosting. But in future, do i need to updrage vps or server ?

- Does Image hosting make server load highly, using more resource on server?

- All images is legal and have adult content, of course sometime it will have some illegal image ( will be banned and deleted )? Can HPs will allow?

View 10 Replies View Related

Image Hosting Website

Apr 21, 2008

I have started a new image hosting website and currently i alloted 7 GB Disk Space and 30GB BW. I know it will not be enough after the site get famous. So which host i can go for to be in a safer side with my image hosting website?

View 6 Replies View Related

No Image Displayed In The Site

Feb 18, 2008

I am having a win 2003 server with a static ip and i have hosted 2 web sites in the iis server but no images are been displayed is it something to do with the designing of the site or some problem in my hosting,

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved