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?
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?
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.
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.
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?
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.
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 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.
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:
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 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?
yesterday i order one server in netdirekt but the server only have one hdd mount i need mount the other but first i need make one partition of it
Quote:
Disk /dev/sda: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 1 30140 242099518+ 83 Linux /dev/sda2 30141 30401 2096482+ 82 Linux swap / Solaris
Disk /dev/sdb: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdb doesn't contain a valid partition table
can anyone help me to creat a partition for /dev/sdb with 250.0GB ? for then i mount like that : mount /dev/sdb /home/user/hdd2