Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Redhat sda partition problem

Posted on 2006-07-11
1
Medium Priority
?
1,276 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 22

Accepted Solution

by:
pjedmond earned 2000 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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). …
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

609 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