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


ADVERTISEMENT

Raid Disk Partition Errorc :: Warning: Invalid Flag 0x0000 Of Partition Table

Mar 16, 2008

I have a disk in raid, but it seems raid is not working correctly. I took it out, and plug into another server without raid. However, fdisk shows error

Quote:

#fdisk /dev/sdb
device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.

The number of cylinders for this disk is set to 20023.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)

2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

Command (m for help):

Should I correct the partition table now, or should I put it in another raid for checking?

View 2 Replies View Related

Plesk Disk Partition?

Apr 30, 2009

I have 2 x250 gb disk on a server. What configuration would be the best for partition to run Plesk and webhosting on the server?

I want www files on 2nd disk and server is hosted at Softlayer that we can reload server from web interface.

View 1 Replies View Related

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 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

Partition Disk (/) 80% Full

Sep 12, 2007

i have the partition (/) 80% full ; what should i do? the picture below

[url]

note that i have raid 1 .

View 10 Replies View Related

Disk Doesn't Contain A Valid Partition Table

Feb 2, 2008

I am unable to mount the 2nd disk's extended partition. Please help.

Commands I tried and returns....

Quote:

mount -t ext2 /dev/hdd2 /second
mount: wrong fs type, bad option, bad superblock on /dev/hdd2,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

Quote:

mount -t ext3 /dev/hdd2 /second
mount: wrong fs type, bad option, bad superblock on /dev/hdd2,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

Also I tried to add it to /etc/fstab but it says the same error, Disk /dev/hdd2 doesn't contain a valid partition table... I am able to mount /dev/hdd1 successfully.

View 7 Replies View Related

[openvz] WHM Not Show Partition On Service Status And Disk Usage

Nov 23, 2008

[openvz] WHM not show partition on Service Status and Disk usage

Hi, the VPS not show the partition on "Service Status" of WHM and in the "Show Current Disk Usage" see the Attach Files images...

How to fix/show this?







Attached Thumbnails



ÂÂ*

View 12 Replies View Related

Unable To Terminate Account :: The /var Partition On This Server Is Running Out Of Disk Space ...

Jul 19, 2008

when i try to Terminate an Account this message appears

The /var partition on this server is running out of disk space. WHM operation has been temporarily suspended to prevent something bad from happening. Please ask your system admin to remove any files not in use on that partition.

i know its coz the /var is full

Filesystem Size Used Avail Use% Mounted on
/dev/sda5 9.9G 1.6G 7.8G 17% /
/dev/sda1 99M 21M 73M 23% /boot
/dev/sda7 198G 32G 157G 17% /home
/dev/sda3 9.9G 3.5G 6.0G 37% /usr
/dev/sda2 9.9G 9.3G 121M 99% /var
/dev/sdb 231G 103G 116G 48% /backup
none 2.0G 4.0K 2.0G 1% /tmp
none 2.0G 0 2.0G 0% /var/tmp
none 2.0G 0 2.0G 0% /dev/shm

the var is 99%

View 5 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

Disk (dev) 100 % What To Do

Jan 17, 2007

Under Service Status, the "Disk (dev) 100 % ", what should I do?

FreeBSD with cPanel installed.

View 2 Replies View Related

Disk Checking (I/O)

May 20, 2009

My server load is high, i checked and see everuthing is ok.

I think my sata disk cannot support my hard disk traffic.

Is it posible to check wich file used more hard disk traffic? (rpm speed)

View 7 Replies View Related

Disk /dev/sda5 (/) 95 %

May 27, 2009

how can i reduce this value

it was at 70% but after i did wget for abig backup and its failed i get this value in dev/sda5

Quote:

[root@xx]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 4.0G 3.6G 196M 95% /
/dev/sdb1 135G 111G 18G 87% /backup
/dev/sda1 198M 40M 148M 22% /boot
none 3.0G 0 3.0G 0% /dev/shm
/dev/sda8 76G 37G 36G 51% /home
/dev/sda7 2.0G 37M 1.9G 2% /tmp
/dev/sda3 25G 6.0G 18G 26% /usr
/dev/sda2 25G 20G 4.4G 82% /var
/tmp 2.0G 37M 1.9G 2% /var/tmp

alos

Quote:

[root@xxxx]# du -h --max-depth=1
1.8M ./tmp
8.0K ./opt
1.2M ./namedOLD
728K ./named
84K ./profiles
18G ./lib
423M ./cpanel
4.0K ./portsentry
28K ./empty
16K ./lost+found
288K ./run
672M ./cache
8.0K ./local
8.0K ./preserve
28K ./db
217M ./log
1.2M ./www
40K ./lock
16K ./crash
8.0K ./nis
8.0K ./net-snmp
24K ./yp
12K ./account
100K ./netenberg
170M ./spool
19G .

View 5 Replies View Related

Set Up Disk Quotas

Apr 27, 2009

As per this [url]tutorial to set up disk quotas u need the /Home in the fstab file but how ever all i can find on my server is this:

LABEL=/ / ext3 defaults 1 1
LABEL=/disc2 /disc2 ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
LABEL=SWAP-sdb2 swap swap defaults 0 0
LABEL=SWAP-sda2 swap swap defaults 0 0

How do i go about setting quota for my users

View 8 Replies View Related

Disk Tuning

May 5, 2009

shared hosting env?

/etc/sysctl.conf:
vm.dirty_background_ratio = 20
vm.dirty_ratio = 60

blockdev --setra 16384 /dev/sda

View 3 Replies View Related

Disk Inodes

Oct 21, 2009

I have a VPS that has hard limits for Disk Inodes at 500,000. I am currently over 430,000.

I am only using 24GB of 40GB of disk space.

How do I find what is gobbling up disk inodes? How can I find unused, abusive or unnecessary disk inodes and remove them?

# df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/vzfs 500000 430553 69447 87% /
/dev/simfs 500000 430553 69447 87% /tmp
/dev/simfs 500000 430553 69447 87% /var/tmp
none 2049640 95 2049545 1% /dev

View 6 Replies View Related

Disk IO Performance

Mar 26, 2008

From the Disk I/O performance is it better

1) to have main PHP file with 10 includes

2) all 11 files as one file

3) the difference is not big

Suppose
a) a low traffic site

b) a high traffice site

View 7 Replies View Related

Where Is All My Disk Space Used

Jun 28, 2008

I have a server with cpanel/WHM. The file system says I am using 26GB of my 40GB:

Filesystem Size Used Avail Use% Mounted on
/dev/sda1 40G 26G 14G 66% /
none 257M 0 257M 0% /dev/shm
/usr/tmpDSK 243M 4.1M 226M 2% /tmp
/tmp 243M 4.1M 226M 2% /var/tmp

however the total of my accounts is less than 5GB.

How can I find out where all the other disk space is being used?

View 9 Replies View Related

Partitionning A 750 Gb Disk

Nov 1, 2008

partitionning a server disk.

I have a 76 gb disk which is partitioned this way :
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdb5 10317828 319000 9474712 4% /
/dev/sdb1 101086 24171 71696 26% /boot
none 3114756 0 3114756 0% /dev/shm
/dev/sdb7 36384624 17595080 16941268 51% /home
/dev/sdb8 1035660 34732 948320 4% /tmp
/dev/sdb3 10317860 4959788 4833952 51% /usr
/dev/sdb2 10317860 4847048 4946692 50% /var
/tmp 1035660 34732 948320 4% /var/tmp

I would like to create the same kind of partition on another server, but the disk is 750 gb and I need /var to be at least 30 gb big.

How big must the other partitions be ?

Regarding "none" ---> /dev/shm,

I don't understand very well. Do I have to create this partition myself ?

View 3 Replies View Related

What Is Disk Inodes?

Apr 18, 2008

How do I decrease my disk inodes usage?

View 6 Replies View Related

Disk /dev/sda5 (/var) 96 %

Mar 8, 2008

Good day All

the Disk /dev/sda5 (/var) 96 % Full

What I do

View 2 Replies View Related

More Than Use Disk Usage

Jul 21, 2007

i Have 2 vps From Swvps and HostForWeb

When Finish Transfer Old VPS( HostForWeb ) To New VPS (Swvps.com) and See Disk Usage
Swvps=> 13 gig Usage
HostForWeb=> 23 gig space!

View 5 Replies View Related

Why So Little Disk Space

May 13, 2008

I've got a server in a local colo facility. both the facility and my server are slowly falling apart. Rather than investing in hardware and then shipping it to some location and hoping it doesn't break, I've decided to investigate VPS.

What I am finding is puzzling me. Why do providers charge so much for disk space? My current old p3-733 has a 30gb drive, I could deal with about 15gb but with some 'flex' room (i.e. a virtual drive for uncompressing files or some such). It's a personal server for me and a couple of friends, it doesn't get much traffic, I don't need a heck of a lot of bandwidth, nor anything flashy, just Ubuntu 8.04. I see places offering plenty of traffic for a decent price, yet little in the way of storage. I just don't get it.

A year ago I was here wanting to trade my class C for a dedicated server. I realize now that it would be pretty difficult for providers to do this, because if I wanted to yank my class c they'd have to renumber. But if anyone is still interested, let me know.

View 9 Replies View Related

Imaging Disk Via SSH

Jun 22, 2008

I've decided I want cPanel installed on my iWeb dedicated box. They informed me it will require a reinstall. Before they do this I wanted to image the disk and download the image to my PC. Is this possible to do via SSH? I'd prefer an open-source free solution.

View 11 Replies View Related

Disk Full

May 16, 2008

I have a site with a lot of data (almost 20-30gigs). I want to pkgacct the site to transfer to another server but the harddisk gets full and the pkgacct stops working.

Which files and folders can I delete on the server without touching critical CPanel files? I want to delete as many as folders so that I can have enough space for the packaging process.

View 4 Replies View Related

Freebsd Disk

Oct 8, 2007

i having an issue with FreeBSD...

I have a Raid5 setup and working fine, I just put 2 new 18gig drives for raid1.

Now i see in dmesg this.

amrd0: <LSILogic MegaRAID logical drive> on amr0
amrd0: 104193MB (213387264 sectors) RAID 5 (optimal)
amrd1: <LSILogic MegaRAID logical drive> on amr0
amrd1: 17365MB (35563520 sectors) RAID 1 (optimal)

In bold is the 'new' array.

in fdisk i get....

fdisk /dev/amrd1
******* Working on device /dev/amrd1 *******
parameters extracted from in-core disklabel are:
cylinders=2213 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=2213 heads=255 sectors/track=63 (16065 blks/cyl)

fdisk: invalid fdisk partition table found
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 35551782 (17359 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 164/ head 254/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>

I get write errors when i use sysinstall. As for the raid status. Its fine.

Logical Drive : 1( Adapter: 0 ): Status: OPTIMAL
---------------------------------------------------
SpanDepth :01 RaidLevel: 1 RdAhead : Adaptive Cache: CachedIo
StripSz :064KB Stripes : 2 WrPolicy: WriteThru

Logical Drive 1 : SpanLevel_0 Disks
Chnl Target StartBlock Blocks Physical Target Status
---- ------ ---------- ------ ----------------------
0 00 0x00000000 0x021ea800 ONLINE
0 03 0x00000000 0x021ea800 ONLINE

View 1 Replies View Related

Xen Disk IO Performance

Jun 19, 2007

One of the things people seem to bring up a lot is disk IO Performance.

Why? Because theres little you can do about a customer being stupid and creating a disk swap nightmare.

There is however something you can do to reduce the impact across your clients, Have a separate raid array for swap space.

This does 2 things, it splits some of the Disk IO across 2 arrays, but more important it reduces the affect someone overusing there swap will have on the ones that are not.

Just my quick 10 cents for the day.

View 5 Replies View Related

Server Disk

Aug 20, 2007

One of our server is very slow and cpu and memory usag is fine. Also, there isn't any problem on network, I thought the problem with disk and I got the following iostat result. Is it normal?

# iostat
Linux 2.4.21-37.0.1.EL (domain.com) 08/20/2007

avg-cpu: %user %nice %sys %iowait %idle
6.66 1.87 1.50 8.22 81.75

View 2 Replies View Related







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