LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (https://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   How to add a scsi disk in RedHat Enterprise Linux v 4 (https://www.linuxquestions.org/questions/linux-enterprise-47/how-to-add-a-scsi-disk-in-redhat-enterprise-linux-v-4-a-632487/)

LotharIrausquin 04-02-2008 11:37 AM

How to add a scsi disk in RedHat Enterprise Linux v 4
 
Dear LinuxQuestions.org

We have a RedHat Enterprise Linux v 4 Server and we need to add another scsi disk so that we can put additional data on it.

We need the procedures on how to add this additional scsi disk .


Lothar Irausquin
e-mail: IrausquinL@arubadigital.com

frndrfoe 04-02-2008 09:26 PM

try fdisk -l to find the new disk path (as in /dev/sdxx)
use fdisk /dev/sdxx to create partition.
use mkfs to create a filesystem
create mount point
make entry in /etc/fstab to mount device.
point services to use new directory

on the other hand if this is a raid or lvm system it can get a bit more complicated

LotharIrausquin 04-04-2008 07:38 AM

Hello frndrfoe,

Thank you for you fast response!

I got the following questions:

How do you create a mount point and how do you point services to point to the new device?

When I shutdown the server and then I put in the new scsi disk, I can boot up the server and then run " fdisk -l " to find the new disk path right?

We are not using raid . What is lvm?

Do you have an example on how to mount the drive in /etc/fstab ?



Thanks in advance,

Lothar Irausquin MCSE

frndrfoe 04-04-2008 07:37 PM

Quote:

Originally Posted by LotharIrausquin (Post 3110482)
How do you create a mount point

a mount point is just a directory that you create like /data or something

Quote:

and how do you point services to point to the new device?
I just meant "start using it". If your adding it for log space, point your configs to log there or if it's for web space point your web server to it.

Quote:

When I shutdown the server and then I put in the new scsi disk, I can boot up the server and then run " fdisk -l " to find the new disk path right?
yes, you may want to record the fdisk -l output before adding the disk so that you can compare.

Quote:

We are not using raid . What is lvm?
a way to manage disks into a pool for better management. type in pvdisplay and vgdisplay and the output should tell you if anything is setup.

Quote:

Do you have an example on how to mount the drive in /etc/fstab ?
/dev/sdd1 /data ext3 defaults 1 2

then type mount -a


All times are GMT -5. The time now is 05:04 AM.