Solved

Redhat sda partition problem

Posted on 2006-07-11
1
1,160 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Backup & Restore 3 54
How code a 301 redirect for folder files -> 1 file 2 39
Red Hat 7 Linux on Azure cannot run a command as root 22 41
linux SFTP 8 38
rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

813 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

10 Experts available now in Live!

Get 1:1 Help Now