Solved

Redhat sda partition problem

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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

717 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