How To Partition Drive

Mar 28, 2008

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.

View 1 Replies


ADVERTISEMENT

How To Configure Mysql To Hold Your Databases On Another Partition On Hard Drive

Oct 31, 2009

I have a server that is running linux with cpanel and I am running out of space on a partition.

I was getting this error:
Drive Warning: /dev/sda3 (/var) is 83% full

I looked in the folder and went to /var/lib/mysql and noticed that I have about 6 databases that are a little over 1 GB each. The sda3 partition only has a capacity for 9.9 GB and I was suggested to configure mysql to hold my databases on another partition that has more space..

View 3 Replies View Related

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

Resize Partition/create New Partition/lvm

Jul 4, 2008

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 Related

Data Lost , But Still Have Old Home Drive , How To Copy To New Drive

Jan 26, 2007

1- i did Os Reload with new Hard drive for "home"
2- data "backups" drive lost

3- replaced the old home drive as "/old drive"

4- " /old drive " is now the secondry drive in my server and it has the all sites usres and evry thing

5- what i need , to trasfer, copy this sites from " /old drive " to "home"

but data center said

The /olddrive/home directory contains the contents that were previously in the /home directory. You can copy files from this directory to any other directory on your server.

The command to copy files in the UNIX environment is the "cp" command.

The user directories in /olddrive/home directory contain the web page files for the users. However, simply copying the contents over will not recreate the users or domain entries in DNS/httpd. If you wish these back you will need to recreate them manually or restore them from backups.

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

How To Copy My Current Drive Contents To A New Drive

Dec 28, 2007

I just purchased a brand new 10K 150GB drive. How can I take an exact copy of my current drive and transfer everything over to the new drive? I think I need to create a snapshop, or mirror it somehow.

What software will do this? I was told trueimage, but its very pricy, is there anything else?

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

Mirror Drive A > Drive B

Feb 6, 2007

I have a Win2K3 server which has 2 hard drives. I was considering backup options and I thought that I might try mirroring Drive A ==> Drive B. I would think that, then, if Drive A has a hardware failure, I could simply switch Drive B into the Primary slot (A) and the server would continue to hum along as nothing has happened. This would reduce the downtime, hopefully.

I have 3 questions.

1. Is this idea practical (will it work)?
2. What is a good software program to use fto handle the mirroring?
3. Any considerations, warnings, technical advice in regard to this method?

View 4 Replies View Related

LVM Partition

Jul 31, 2009

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

View 4 Replies View Related

New Partition

Jun 14, 2008

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

View 3 Replies View Related

Create A Partition In A Vps

May 15, 2009

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.

View 1 Replies View Related

Partition Of VPS Windows

Mar 29, 2009

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.

View 3 Replies View Related

Centos 5 Partition HD Via SSH

Apr 22, 2009

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?

View 7 Replies View Related

Partition /usr Full 100%

Nov 25, 2008

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 .

View 7 Replies View Related

CentOS5 - HDD Partition

May 14, 2008

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 Related

Creating A New Partition

Mar 6, 2008

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

View 7 Replies View Related

Resizing Partition

Apr 23, 2008

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?

View 6 Replies View Related

Best Possible Partition Scheme

Jan 21, 2008

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

View 1 Replies View Related

Raid1 Partition

May 26, 2008

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

View 2 Replies View Related

Renaming A Partition

Jun 21, 2007

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?

View 3 Replies View Related

Web Server Partition

Mar 30, 2007

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?

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

Partition Is Recommendable For Openvz

Oct 31, 2008

partition is recommendable for openvz

Which project of partition is recommendable for openvz in the main server?

View 9 Replies View Related

Securing Tmp Folder/partition

Oct 31, 2009

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

View 4 Replies View Related

Way To Clean Up /boot Partition

Mar 14, 2008

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?

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

Partition Scheme For CPanel

May 31, 2008

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?

View 2 Replies View Related

PHP Work With Noexec Partition As Cgi And Others Cant

Jun 26, 2008

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.

View 2 Replies View Related

/tmp Partition Dissapear After Reboot

Dec 13, 2008

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.

View 9 Replies View Related

Optimal Partition Setup

Apr 13, 2008

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?

View 4 Replies View Related







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