Solved

Redhat sda partition problem

Posted on 2006-07-11
1
1,108 Views
Last Modified: 2013-12-16
Hi Experts

I jest add in the ned sames screen shuts where you can see my / partition  and the oders .
Im running a zimbra server  , and in the / I jest have 12gb left  , and I need more space , this server has 2 hard disk of  250gb sata , and how you can see most of the disk its not partitionated , I tray to add a new partition , but it dident let me do it . This server runs a Raid 1 , it’s a hardware raid ( it’s the fake Intel server Raid ) .Tis server is a production server , what can I do in order to change or add more space ???

Thanks



fdisk /dev/sda

The number of cylinders for this disk is set to 30385.
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)

Command (m for help): m
Command action
   a   toggle a bootable flag
   b   edit bsd disklabel
   c   toggle the dos compatibility flag
   d   delete a partition
   l   list known partition types
   m   print this menu
   n   add a new partition
   o   create a new empty DOS partition table
   p   print the partition table
   q   quit without saving changes
   s   create a new empty Sun disklabel
   t   change a partition's system id
   u   change display/entry units
   v   verify the partition table
   w   write table to disk and exit
   x   extra functionality (experts only)

Command (m for help): n
You must delete some partition and add an extended partition first

Command (m for help):

/dev/sda1   *           1          25      200781   83  Linux
/dev/sda2              26        6399    51199155   83  Linux
/dev/sda3            6400       10478    32764567+  83  Linux
/dev/sda4           10479       12518    16386300   82  Linux swap


# mount
/dev/sda2 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
/dev/sda3 on /var type ext3 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/shm on /opt/zimbra/amavisd-new-2.3.3/tmp type tmpfs (rw,noexec,nosuid,nodev,size=150m,mode=777)
0
Comment
Question by:diegomirner
1 Comment
 
LVL 22

Accepted Solution

by:
pjedmond earned 500 total points
ID: 17079891
>Tis server is a production server

You are going to have to do some fairly major work on this I suspect for the following reasons:

1.   You cannot add any more partitions without shutting down your system. The reason for this is that you can only have a maximum of 4 primary partition per hard drive.Your best approach to this is to delete the swap partition , and then create an extended partition into which you can insert an additional partition and create another swap. In order to do this, I suggest getting a live CD such as Knoppix:

http://www.frozentech.com/content/livecd.php

This can be booted from CD, and used to delete/create partitions as required.

2.    Once you have created the extra space, choose a logical point at which to mount it, and make any necessary alterations to the /etc/fstab. For more info:

http://www.tuxfiles.org/linuxhelp/fstab.html

*****N.B. Obviously back everything up before messing with your partitions!*****

Other pointers:

1.    Your swap partition looks fairly big? Any more than twice your RAM is a bit of a waste of disc space.

(   (()
(`-' _\
 ''  ''
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now