If your Linux server is configured with two hard disks, you will need to prepare the secondary hard disk before you can use it. Before you can use a secondary hard disk, you need to:
These instructions are specific to servers setup after July 15, 2005, for servers prior to this, the path in the following steps will need to be modified slightly. The 'df' command will show you how the current filesystem is mounted, normally /dev/hdc was used for the new partition. For more advanced partitioning and mounting options, please see the vendor provided documentation for your Operating System.
To Create a Hard Disk Partition
Type fdisk /dev/sdb, and then press Enter.
NOTE:If your server still has the IDE drive and no SATA support and you reprovision your server, SATA support will be enabled.
n to create a new partition. p. w and press Enter to write partition information.To Create a File System
mkfs -t ext3 /dev/sdb and press Enter. It will take a few minutes to create the new file system on your secondary hard drive.To Mount the File System
cd /sbin. mkdir /mnt/disk2. chmod 777 /mnt/disk2. mount /dev/sdb /mnt/disk2, and then press Enter. echo "/dev/sdb /mnt/disk2 ext3 rw 0 0". Press Enter.