Tracking Forums, Newsgroups, Maling Lists
Home Submit Tracker Forums
  Advanced Search
  HOME    TRACKER    Web Hosting

Advertisements: & have generously sponsored dedicated servers and web hosting to ensure a reliable and scalable dedicated hosting solution for

CentOS5 - HDD Partition

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 Complete Thread with Replies

Sponsored Links:

Related Forum Messages:
Raid Disk Partition Errorc :: Warning: Invalid Flag 0x0000 Of Partition Table
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


#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
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 Replies!   View Related
Resize Partition/create New Partition/lvm
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 Replies!   View Related
Less Ram With Centos5
we got a new box with 4GB of ram but seem that Centos 5 show only 3Gb why?

root [/]# free -m
total used free shared buffers cached
Mem: 3290 2757 533 0 228 968
-/+ buffers/cache: 1560 1729
Swap: 8001 0 8000

root@mikonos [/]# uname -a
Linux 2.6.18-8.1.6.el5 #1 SMP Thu Jun 14 17:46:09 EDT 2007 i686 i686 i386 GNU/Linux

the same server with Centos 4 report 4GB

View Replies!   View Related
Centos5 Use Less Memory Than 4
centOS5 don't come with mass install software?

Any perl modules and rpm sources can compile on 64bits version?

View Replies!   View Related
Libxcrypt On CentOS5
Trying to get something sorted on a VPS that I want, but when I try to run a script I get the following error:

cp: cannot stat `/lib/': No such file or directory

which is easy enough for me to understand however, I cannot find what package I need to install to provide the file.

I have searched for libxcrypt* on the box to see if its hidden elsewhere but to no avail.

View Replies!   View Related
Install Xen Centos5
i have installed xen kernel et libraries, i try to install a guest os with virt-install, and when i hit the network installation it doesn't seam to work. The installation doesn't go further.

Anyone has experience with xen ? I'm a good unix admin but i havn't worked alot with xen yet. I can make it work on other hardware but it seams that for some reason it doesn't work on my dedicated server.

View Replies!   View Related
CentOS5 And CPanel :: Subdirectories
I have a VPS with CentOS5 and CPanel...for some reason if I went to that URL it would show the website for the second account created in I modified the httpd.conf and added the domain, but for some reason subdirectories won't work on it.

View Replies!   View Related
Unable To Connect Via SSH With Centos5 X64
I have been struggling with a couple of new servers that we want to run Centos 5 on. For a second assume that is our desire so going back to 4.x isn't an option yet.

Now while I mention Centos 5, the problem seems to be with PAM and x64.

When trying to login to the server via ssh, the login succeds but then immediately kicks the user out. I have tried this with root and another user created. I have set the UsePam option to no to try to resolve this in sshd_config.

On the H-Sphere forum I found this reference:


" if i try to connect with ssh and i enter the right password i get an error and ssh closes the connection. The answer already was in the ticket you opened:


That is known bug dealt with PAM authentication.

The bug was fixed for i386 systems long time ago. But it was not fixed for x86_64 architecture.

We build FreeVPS kernel new version 1.5-13.1 for x86_64 architecture to fix the problem.
We also installed the kernel into the box IP

Please reboot the box with the new FreeVPS kernel version: 2.6.9-freevps-1.5-13.1smp.
Let us know the result."

Does anyone know how to resolve this? A reinstall of PAM was attempted by a well known sysadmin here but to no avail.

View Replies!   View Related
Steps To Install FFMPEG On Centos5
Can someone please provide me steps to install FFMPEG on centos5.

View Replies!   View Related
CentOS5: VI Not Showing Files With Color
I tried CentOS5 on my new server. Having CentOS 4 on all other server I never faced this issue. I always get server with vim -minimal installed and I install vim enhanced and common to get text color highlighting.

View Replies!   View Related
Centos5 Cant Mkdir Numeric Directories
We have a weird issue on one of our centos 5 servers, running the 2.6.18-53.1.4.el5 kernel

for some reason we cant mkdir any directories that are numerically named

ie mkdir 5789 doesnt work

alpha and alpha numeric work fine... ie mkdir ab567a


[root@]# mkdir 6
mkdir: cannot create directory `6': No such file or directory
[root@]# mkdir 6ab

Someone suggested the adore-ng rootkit was to blame but we have run ossec root check, rkhunter and chkrootkit and even run clamav over the drives and cant find anything nasty

View Replies!   View Related
CentOS5 VPS - Yum Barely Working. How To Exclude A Mirror/Mirroring For YUM?
On a CentOS5 VPS I have access to "yum update" barely working due to the base mirror "" being tremendously slow.

I'm trying to find out how to disable that mirror possibly via a mirror exclude setting in yum.conf or some other way. I've been searching but I've not found any documentation on this so hopefully somebody out there will know how to make this change.

View Replies!   View Related
Howto Install PHP/Java Bridge In Server Centos5.2
i have server
system centos5.2
Apache 2.2.11
PHP 5.2.9

how can install HP/Java Bridge?

in this link he said install Apache Tomcat
but i have Apache 2

View Replies!   View Related
Supermicro H8DA8 Kernel Issues On CentOS5 | HyperVM
I just colocated a 2U supermicro server for a VPS node and experiencing troubles getting HyperVM (ovz) and centos5 to run on it. First of all, the h/w specs.:

2x dual-core opteron 280
12GB DDR400 ECC Reg. RAM
Supermicro H8DA8 mainboard
Adaptec 2120S RAID card with BBU, writecache on
6x73GB SCSI as RAID5+hotspare

All firmware updated

I asked DC staff to load centos5 x64. They installed 5.1 and it was running fine.

However, they said centos 5.2 didn't install. So, I ran a yum update and it updated to 5.2 including kernel.

After the update and issuing a reboot, the box did not come back online and on consoling it, they said error messages scroll too fast to be read after the centos splash screen and it loops on like that. Only the 5.1 kernel 2.6.18-53.el5 seem to boot fine though.

I booted with the old kernel and installed hyprvm; set grub to boot using the ovz kernel and rebooted. Sadly, the same errors and server non-responsive.

Does anyone have any clue regarding this issue? Should I try my luck with centos4.7 x64 instead?

View Replies!   View Related
How Do I Configure Dedicated IP's On Virtual Machines Running On A CentOS5 Host
How do I configure dedicated IP's on Virtual Machines running on a CentOS5 Host?

I installed VMWare Server 2 almost without a problem using no GUI, I now have the web interface for the VMWS2 and any machine I create and run on it seems to do so without a problem.

The thing is, I can't connect or know how to configure this virtual network so I end up using 2 dedicated IPs on the Virtual Machine.

View Replies!   View Related
LVM Partition
we can able create lVM partition but just we have 9 GB lvm partition i cant create more than or use full disk space

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 91201 732572001 8e Linux LVM

View Replies!   View Related
New Partition
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 Replies!   View Related
Create A Partition In A Vps
How can i create a /tmp partition (as cpanel recomends) in my openvz vps to install cpanel?


/tmp 1 GB (1024 MB)
/ Grow to fill disk.

View Replies!   View Related
Partition Of VPS Windows
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 Replies!   View Related
Centos 5 Partition HD Via SSH
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 Replies!   View Related
Partition /usr Full 100%
i have problem and make all solution and the problem stay
the /usr partition is full 100%

i remove all logs in :
and make du -h --max-depth=1 in /usr that's the monitor :
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 Replies!   View Related
Creating A New Partition
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 Replies!   View Related
Resizing Partition
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 Replies!   View Related
How To Partition Drive
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 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 Replies!   View Related
Best Possible Partition Scheme
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 Replies!   View Related
Raid1 Partition
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


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 Replies!   View Related
Renaming A Partition
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 Replies!   View Related
Web Server Partition
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 Replies!   View Related
Plesk Disk Partition?
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 Replies!   View Related
Partition Is Recommendable For Openvz
partition is recommendable for openvz

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

View Replies!   View Related
Securing Tmp Folder/partition
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 Replies!   View Related
Way To Clean Up /boot Partition
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 Replies!   View Related
Access Corrupt 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?

View Replies!   View Related
Partition Scheme For CPanel
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 Replies!   View Related
PHP Work With Noexec Partition As Cgi And Others Cant
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 Replies!   View Related
/tmp Partition Dissapear After Reboot
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:

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

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

[]ls -alh /dev/tmpMnt
-rw-r--r-- 1 root root 977M Dec 12 18:00 /dev/tmpMnt

Now, after rebooting the system the partition is no longer there?? (and of course, not mounted /tmp due to this)

[]ls -alh /dev/tmpMnt
ls: /dev/tmpMnt: No such file or directory

This was done under a plain RHEL 5.2 box.

View Replies!   View Related
Optimal Partition Setup
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 Replies!   View Related
Partition My Server And Provide A Few VPS
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?

View Replies!   View Related
Cpanel Install And HDD Partition
I have a server without cpanel and it have this partition details :

server-rescue / # df -h
Filesystem Size Used Avail Use% Mounted on
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?

View Replies!   View Related
Partition Disk (/) 80% Full
i have the partition (/) 80% full ; what should i do? the picture below


note that i have raid 1 .

View Replies!   View Related
Partition Sizes Layout
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.

View Replies!   View Related
Should /home Be Its Own Partition When Using R1soft, Or Can It Be Part Of /
Should/home be its own partition when using r1soft, or can it be part of/?

View Replies!   View Related
=make Partition In Linux Debian
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


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

I think is that if I'm wrong let me know

View Replies!   View Related
RHEL Installation Without A Swap Partition, Anyway To Fix It
My data center happen to install RHEL 4 without a swap partition

Is there anyway to fix it without an OS reload?

Linux OS:
[root@server2 log]# uname -a
Linux 2.6.9-55.0.9.ELsmp #1 SMP Tue Sep 25 02:17:24 EDT 2007 i686 i686 i386 GNU/Linux
[root@server2 log]#

Kernel Version(uname -r)
[root@server2 log]# uname -r
[root@server2 log]#
Hardware Information
Clovertown with quad core , dual thing.
4 gb ram.

Control Panel(if any)

[root@server2 sbin]# df -l
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda5 75505212 37384684 34285012 53% /
/dev/sda1 101086 17347 78520 19% /boot
none 2074560 0 2074560 0% /dev/shm
/dev/sda3 25197252 80800 23836476 1% /tmp
/dev/sda2 40313996 7249168 31016944 19% /var
/tmp 25197252 80800 23836476 1% /var/tmp
[root@server2 sbin]#

[root@server2 sbin]# fdisk -l

Disk /dev/sda: 146.8 GB, 146815733760 bytes
255 heads, 63 sectors/track, 17849 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 5112 40957717+ 83 Linux
/dev/sda3 5113 8299 25599577+ 83 Linux
/dev/sda4 8300 17849 76710375 5 Extended
/dev/sda5 8300 17849 76710343+ 83 Linux
[root@server2 sbin]#

View Replies!   View Related
How To Increase Mounted Partition Size
I mounted sda2 as var and its size is 2GB. I wanna to increase its size to 4GB,which command should i run without umount and mount it again?

View Replies!   View Related
Mdadm: Raid Active Partition
The server is currently live on /dev/sda and it was installed w/o raid. Now i have added a second HDD in, how do i RAID it?

It's Ubuntu 6.06

View Replies!   View Related
/home Partition Is Heavily Corrupted
So what I got is a problem that /home partition of the server is heavily corrupted.

NOC has already done a FSCK on the disk, but not all the errors were fixed. So they are
running another FSCK.

Here's what manager suggested


Hence, to save time, we would suggest an OS reload on the server. We may do OS reload on a fresh hard disk and then attach the current disk as secondary. After that we may use a data recovery tool such DDRESCUE to recover data from the corrupted hard drive.

Since I am bit nervous now (no backups, as chornobs wasn't been able to run it due corrupted hdd for some time) wondering. How often it fails to recover all the data? I know it's hard to say, but just aprox?

View Replies!   View Related
Wrong Free Space On Partition
I have problem with free space on one partition. After deleting files on about 10GB "df" still shows about 100% used but when I count files by "du" then it show correct value. Where's the problem and how fix it ?

root@alfa [~]# du -sh /usr
9.1G /usr

root@alfa [~]# df -h /usr
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdb3 20G 19G 0 100% /usr

View Replies!   View Related
Disk Doesn't Contain A Valid Partition Table
I am unable to mount the 2nd disk's extended partition. Please help.

Commands I tried and returns....


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


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 Replies!   View Related
Backup Solutions - Compressing Partition & Transfer
I administer a busy forum and require a best backup solution.
(Servers are clustered and running Debian Etch)

Currently when backup script packs the whole partition using command:
tar cvzf /backup/webroot/webroot-(today's-date).tar.gz /webroot
But, this causes huge load on to the server and the whole website becomes unavailable during this time.

Since the number of files is huge, it takes around 10-15min for it to finish.

Now, I need another software or a way to limit tar's load on to the system so that the website doesn't go down during the backup process.

(dd would work as /webroot has it's own partition but I'm not sure on how it the load goes with it and also if it works with cron)
Do you know any good solution?

Also, right now all backups are on each server separately.

To clarify, mysql server's backups are on mysql server and actual files' backups are on web server.

As you may have realized, this is very bad as it won't protect me from harddisk failures and hackings.

(Hacker can just delete the whole thing and website will be gone forever...)

So, to prevent them from happening and also for central management of the backups, I got a server just for backups.

Now, I need a way to transfer the backups to it.

What software do you recommend to accomplish this?
(scp, rsync, ncftp, etc...)

Some of you may say R1Soft's CDP is the best but I would like to have that as my last option because I don't want to rely on another company when it comes to backups.

View Replies!   View Related
Issue Mounting RAID Perc Partition
We had a problem on one of our servers and it was running RAID 1 with two 300GB SAS.

When I boot the server I have the following issue,
PXE:E61: Media test failure, check cable

I searched through all the net but couldnt find a solution that helped me.

Now I took one of the HDDs out and installed as slave on another Linux server. One of the HDDs says when I do /sbin/fdisk -l,
no partition table for /dev/sdb (something like that)

The other HDD have all the partition table,


The big partition (probably when I have my data) is under /dev/sdb2, although when I try to mount that partition I get the following error,

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

Is any command specific for mounting RAID partitions or the HD is gone ?

I really need the data that are inside it.

View Replies!   View Related
How To Configure Mysql To Hold Your Databases On Another Partition On Hard Drive
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 Replies!   View Related
[openvz] WHM Not Show Partition On Service Status And Disk Usage
[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 Replies!   View Related
Copyright 2005-08, All rights reserved