Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1344
  • Last Modified:

Redhat sda partition problem

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
diegomirner
Asked:
diegomirner
1 Solution
 
pjedmondCommented:
>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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now