Adding New partitions to Linux servers.

ADDING A NEW PARTION TO THE LINUX SERVER

Follow the below steps.

Creating, Mounting, and Configuration New Partitions
Before adding an extra drive, this machine had 2 physical drives. Both of them were named accordingly (sda and sdb) before the new drive was added. The second drive containing the swap partitions was automatically renamed when the new drive was added. Notice the command and output below:

[root@test root]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 8.3G 2.4G 5.5G …

Read On »

NFS with Firewall.

Server setup
1. If you want to export a brand new disk through nfs, you must find the corresponding device in the /dev directory. You can use the boot log messages in /var/log. We will assume that the new device is /dev/hdg.
2. Now you must create the new partition on your disk with the command:
fdisk /dev/hdg
Follow the instructions and create one big partition /dev/hdg1.
3. Format the new partition with the ext3 file system with the following command:
mkfs -t ext3 -c /dev/hdg1
The …

Read On »

Redhat Kickstart Installation

boot: linux ks=hd:sdb1:/ks.cfg
Alternatively, if the kickstart file is on the boot CD, try
boot: linux ks=cdrom:/ks.cfg
http://256.com/gray/docs/redhat_boot/
http://blog.chinaunix.net/u/17896/showart_509332.html

Read On »

CHMOD & BASH Shell programming- The basics

Read On »

 Page 2 of 4 « 1  2  3  4 »