Create A Partition In A Vps
May 15, 2009How can i create a /tmp partition (as cpanel recomends) in my openvz vps to install cpanel?
Quote:
/tmp 1 GB (1024 MB)
/ Grow to fill disk.
How can i create a /tmp partition (as cpanel recomends) in my openvz vps to install cpanel?
Quote:
/tmp 1 GB (1024 MB)
/ Grow to fill disk.
i have centos 5 server i want install xen on it on my server is just one partion how may i resize this partion( without format partion/with put delete data) and then create lvm partion?
View 0 Replies View RelatedI 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?
Customer has requested the following:
"Create a zend id for your machine." This is apparently for them to create a product key for their software and have to bind to it?!
I have never heard of this and have been unable to locate any information on it.
This is a Centos box with php 5.2.5 installed:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies
how to go about this or even what this is?
we can able create lVM partition but just we have 9 GB lvm partition i cant create more than or use full disk space
Code:
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 91201 732572001 8e Linux LVM
I have migrated one raptor disk to a 4 raptor raid 10 disks.
I was threated to being blocked from their helpdesk because they say it is a hardware issue.
I need help on 3 things:
- Is possible to just create a new partition on the not used drive ?
- Is this a software or hardware issue ?
- Can you recommend another support in case i am banned from the actual support ?
> root@server01 [~]# fdisk -l
>
>
>
> Disk /dev/sda: 299.9 GB, 299978719232 bytes
>
> 255 heads, 63 sectors/track, 36470 cylinders
>
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
>
>
> Device Boot Start End Blocks Id System
>
> /dev/sda1 * 1 13 104391 83 Linux
>
> /dev/sda2 14 268 2048287+ 82 Linux swap / Solaris
>
> /dev/sda3 269 395 1020127+ 83 Linux
>
> /dev/sda4 396 18235 143299800 85 Linux extended
>
> /dev/sda5 396 18235 143299768+ 83 Linux
I have VPS Windows. I want to resize partition C 50Gb become 20Gb and then create partition D 30Gb for data , I used softwares Partition Manager 8.5 Enterprise Server Edition, Acronis Disk Director Server 10.0.2169 but I can't.
I used command line :
sfc /scannow
to check HDD on this VPS Server 2003 64b but can't too.
my DC has partitioned my server really complicated and im trying to install various different control panels and im running out of space, so id like to combine all my partitions into one.
How would i do this via SSH in centos 5.2?
i have problem and make all solution and the problem stay
the /usr partition is full 100%
i remove all logs in :
/usr/local/apache/logs
/usr/local/apache/domlogs
and make du -h --max-depth=1 in /usr that's the monitor :
Code:
76K ./doc
37M ./sbin
366M ./src
110M ./X11R6
14M ./php4
176K ./man
16K ./lost+found
24M ./evolution28
2.2G ./local
12K ./etc
19M ./libexec
1.2G ./share
62M ./include
181M ./bin
362M ./java
958M ./lib
1.4M ./kerberos
6.4G .
I'm trying to install CentOS5. Although the default partition should work fine for me, but I would like to create my own partition for /var, /usr/, /tmp, /swap, etc. Can you recommend me a good partion including the size. My server has 4GB RAM and 500GB SATA2 HDD. I don't use much space of HDD.
View 10 Replies View RelatedThe server I got from LayeredTech has two hard drives, obviously they set up the first hard drive with Linux etc.
The second hard drive is just there, not showing any partitions in 'fdisk' when I checked, so I assume they just leave it blank in every new server for the owner to deal with however they want.
I've been looking up guides to create a new partition for the full size of the hard drive and then mount it. However, it hasn't been very successful. Everytime I created the partition in fdisk, I have to set a size, and then when I mount it, it only says that the drive is ~98MB big.
Is there a way to partition the drive to its full capacity? And then mount it somewhere on the system? Or anywhere I can go to to find out easily?
I recently ordered a new dedicated machine and for some reason the guys set it up so the /home partition is a massive 250GB, and the / partition is a tiny 20GB. Since that's where all the plesk domains will be storing their files, I'd like to resize things a bit. I'm thinking of making the / partition 200GB and the rest for /home
It's a CentOS machine and the filesystems are ext3.
How can I do this resizing, and are there any caveats I should be aware of?
im assembling my server now....waiting on the 90degree connectors. It is as follows:
SUPERMICRO CSE-512L-260B Black 14" Mini 1U Server Case
ASUS M2N-MX SE Plus AM2+/AM2 NVIDIA GeForce 6100 Micro ATX AMD Motherboard
AMD Athlon 64 X2 4200+ Brisbane 2.2GHz Socket AM2 65W Dual-Core Processor
Dynatron A48G 70mm 2 Ball CPU Cooler - Retail
2gb ddr2 6400 ram
Seagate 500gb 7200.11 32mb hdd
WD 37gb raptor 10k rpm
the wd drive was lying around the house so i figured id add it since i had an extra slot and figured the speed wouldnt hurt.
My question is....how should i partition the drives.? I have 500+gb of space on 2 hard drives. I plan on using centos 5.1 and am downloading the iso now.
What would be an optimal security partioning scheme for a C2D server with a 160 gb HD
Usage for small web hosting company
I dont feel safe with the default setup that I have heard of with the company
If this is not in the right forum for this... I'm sorry didnt knew where else it may go.
I have to build a new server with RAID 1 and WHM/Cpanel installed (in fact i dont have to, but i need to learn ASAP and my boss gave me an old server for practice).
I've seen the installation guide of cpanel but the sizes of the partitions apply to a disk of 80 GB (i think so) so is there any way to calculate the size of the partitions, regardless of disk size? cuz mine are of 250 gb each.
I'm trying to install it on centos 5 on text mode, so far i have been able to successfully install the system (with partitions of any size... since is a test doesnt matter) with RAID 1.
After that i ran cat /proc/mdstat and in some partitions shows me this
Rsync=Delayed
I've read in some places that this is not a big issue... but in other places says it is... maybe i did something wrong
I've spent a while on google and the forums but couldnt find an answer to a question.
Is it possible to change the name of a partition in linux?
e.g. its currently called Disk /dev/mapper/VolGroup01-LogVol00 (/)
But i would rather name is something normal like /dev/sda1
Is this possible with out losing any data?
If so how can this be done?
My PHP/MySQL web application will be put in a unix/linux environment, and the guy who is setting up the server is asking me this:
Do you have any partition requirements?
I don't know too much about hardware, how should I answer him? do you have any suggestions?
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.
partition is recommendable for openvz
Which project of partition is recommendable for openvz in the main server?
Should I secure my tmp folder/partition so nothing can be run/executed from it
Im running plesk 9 centos 5.3
How is this done
I've got Centos 4 and I'm wondering what's the best way to cleanup my /boot partition?
Tried to do a yum update tonight and it included kernel, amongst other updates that belonged there so it stopped. I've googled around for commands to run and whatnot, but no go... or I just can't find it... if I had to clean it up I have an idea already about what to do, but I want to ask for advice first to see if there's an easier way.
so, how do people here clean up that partition?
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?
I just received a new server, I have been using always the partition scheme 'x2 ram swap, 1GB /tmp, /boot and /", but im not sure if I should get the new server re-formatted with that scheme (the HD is 250GB, so I will get 2GB /tmp), or stay with the current one:
#
Filesystem Size Used Avail Use% Mounted on
#
/dev/sda5 7.8G 343M 7.1G 5% /
#
/dev/sda8 198G 1.1G 187G 1% /home
#
/dev/sda6 996M 39M 906M 5% /tmp
#
/dev/sda3 7.8G 2.4G 5.0G 32% /usr
#
/dev/sda2 9.7G 390M 8.9G 5% /var
#
/dev/sda1 122M 11M 105M 10% /boot
#
tmpfs 1014M 0 1014M 0% /dev/shm
#
I dont really see anything better, since I have all the available space in my old scheme. Anyway, which one do you think is better for a cPanel server, or you like to use and the reason?
I have webserver running php with apache suexec and my /home partition is mounted with noexec in fstab.
My httpd.conf includes line like
Action application/x-httpd-php5.cgi /cgi-sys/php5.cgi
AddHandler application/x-httpd-php5.cgi .php
everything works perfectly. However I tried same configuration for python and perl and it did not work. But it worked if I mounted /home without noexec.
What makes php so special that it can work with noexec partitons as cgi while others cant? I would really like to know as I would like to run perl and python with noexec partitons.
Please dont discuss alternatives to noexec flag. This would be off topic.
I recently created a /tmp partition to get it secured to avoid file execution from that dir.
So, created a partition for tmp:
cd /dev/; dd if=/dev/zero of=tmpMnt bs=1024 count=1000000
mkfs.ext3 /dev/tmpMnt
Then mounted the partition
mount -o loop,noexec,nosuid,rw /dev/tmpMnt /tmp
Configured /etc/fstab so the partition is mounted after every reboot:
[root@server.myhost.com:~]cat /etc/fstab
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot 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-sda2 swap swap defaults 0 0
LABEL=/tmp /dev/tmpMnt ext3 loop,noexec,nosuid,rw 0 0
[root@server.myhost.com:~]
[root@server.myhost.com:~]df -ah
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 224G 3.1G 210G 2% /
proc 0 0 0 - /proc
sysfs 0 0 0 - /sys
devpts 0 0 0 - /dev/pts
/dev/sda1 99M 21M 73M 23% /boot
tmpfs 1014M 0 1014M 0% /dev/shm
none 0 0 0 - /proc/sys/fs/binfmt_misc
/dev/tmpMnt 962M 18M 896M 2% /tmp
[root@server.myhost.com:~]ls -alh /dev/tmpMnt
-rw-r--r-- 1 root root 977M Dec 12 18:00 /dev/tmpMnt
[root@server.myhost.com:~]s
Now, after rebooting the system the partition is no longer there?? (and of course, not mounted /tmp due to this)
[root@server.myhost.com:~]ls -alh /dev/tmpMnt
ls: /dev/tmpMnt: No such file or directory
[root@server.myhost.com:~]
This was done under a plain RHEL 5.2 box.
I just purchased a dell poweredge in order to move my website to its own dedicated server. I have a few questions on the best linux partition setup for a webserver. The system has 8 gigs of ram, raid 10 setup with four 15k rpm drives and two quadcore cpu's.
The os is CentOS 5.1
The server can have up to 30,000 uniques in a single day and can be somewhat database intensive.
Does anyone have a recommend partition setup, besides the default?
With 8 gigs of ram, what is the recommend swap? I've seen rules that say anything over 2 gigs of ram, the rule is S = M+2. So that would put me at 10 gigs swap. Is that overkill?
Should i make a seperate partition for log files?
I'm planing on virtualizing my server and selling off windows 2008 virtual machines running on windows server 2008 hyper-v.
Is it common for people with dedicated servers to sell off virtual slices?
I have a server without cpanel and it have this partition details :
Code:
server-rescue / # df -h
Filesystem Size Used Avail Use% Mounted on
192.168.0.1:/nfsroot/gentoo
228G 134G 82G 63% /
none 1.9G 56K 1.9G 1% /mnt/unionfs/etc
none 230G 134G 84G 62% /etc
none 1.9G 720K 1.9G 1% /mnt/unionfs/var
none 230G 134G 84G 62% /var
none 1.9G 0 1.9G 0% /mnt/unionfs/root
none 230G 134G 84G 62% /root
none 1.9G 4.0K 1.9G 1% /tmp
udev 1.9G 160K 1.9G 1% /dev
shm 1.9G 0 1.9G 0% /dev/shm
/dev/sda2 226G 28G 187G 13% /mnt/sysimage
what I can do for this partition before start Cpanel Install?
i have the partition (/) 80% full ; what should i do? the picture below
[url]
note that i have raid 1 .
I have a dell 2950 server with raid 5 + a hotswap.
There are 4 73G 15K drives with TWO dual quad process.
4G mem
I was reading that the swap space s/b 2X the mem or 8Gigs.
The swap drive should be at the outer edge of the drive for speed.
Or drive C, but with these fast drives is it really going to matter
My layout idea so far is as follows
8 swap
20 OS and programs
20 SQL databases and websites
10 log files
10 downloads and upgrade files.
Should/home be its own partition when using r1soft, or can it be part of/?
View 7 Replies View Related