[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 279
  • Last Modified:

How to navigate to 2nd Hard Drive?

We have a Dell Poweredge server with 6 hard drives.  The first 2 drives are configured in a RAID 1 config and the other 4 are in RAID 10.  The first 2 drives show up as one drive and all of the system information is on those.

We are going to install Oracle Application Server and wanted to install it on the RAID 10 drives.  So we created a partition and formatted it to ext3.  Now the problem, how do we access this drive?  It shows up in the hardware browser in Gnome, but how can we naviget to it?   Do we need to create a mount point on this drive and if so how do we do this?

I am a linux newbie, so you may have to explain the basic stuff in your explanation of this.

Thanks
0
Intern
Asked:
Intern
  • 7
  • 4
  • 2
1 Solution
 
knollbertCommented:
create a folder in which to mount it
mkdir /mnt/myraidHD

mount /dev/whereever /mnt/myraidHD


you might want to look at the
/etc/fstab to mount on boot
0
 
InternAuthor Commented:
so if I did the following:

mkdir /mnt/Oracle
mount /dev/sdb /mnt/Oracle

Then I would have to navigate to /mnt/Oracle to get to all the drives associated with that disk?  could I do the following?

mkdir /Oracle
mount /dev/sdb /Oracle

Then I would just go to /Oracle for all the files on the drive.  Sorry if these are stupid questions.
0
 
knollbertCommented:
>It shows up in the hardware browser in Gnome, but how can we naviget to it?
should be /dev/whatever

>Do we need to create a mount point on this drive and if so how do we do this?
Yes.
mkdir /mnt/myraidHD

if mounting regualrly (boot up) modiify /etc/fstab
add line

/dev/whatever      /mnt/myraidHD (or where ever you choose to mount)                  ext3           defaults             1       2


then mount using
mount /dev/whereever /mnt/myraidHD

0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
knollbertCommented:
>mkdir /Oracle
>mount /dev/sdb /Oracle

Would not work
mkdir /Oracle
mount /dev/sdb1 /Oracle

Need to specify partition
0
 
knollbertCommented:
>Sorry if these are stupid questions
No Problem we all have to learn someplace
0
 
pjedmondCommented:
Although /dev/sdb is the second 'scsi' disk device, you will to access the aprtition on the drive, so it is more likely that it will be /dev/sdb1, therefore, you would:

mkdir /Oracle
mount /dev/sdb1 /Oracle

Assuming that the device hasn't already been mounted. You can check which devices have already been mounted by typing:

mount

If you wish to change where the mounts occur by default, then you may wish to edit the /etc/fstab file.

In addition, there is a possibility that you may need to stipulate the correct filesystem type for the partition if it is not in the  /etc/fstab file:

mount -t ext2 /dev/sdb1 /Oracle

man mount

for more details

HTH:)
0
 
pjedmondCommented:
...wow....I'm slow today!
0
 
knollbertCommented:
I've been slow for the last 2 weeks
0
 
InternAuthor Commented:
Thank you so much.  You have saved me from an hour of "Am I doing this right?"
0
 
knollbertCommented:
Thanks for the points and the Grade

---Knollbert
0
 
InternAuthor Commented:
Just a quick question for you - and if you think it is hard then I can start a new question.

I want to mount this same drive everytime the Server boots up.  Where can I put the command to do this? and I also am wondering if we need to log onto root to make this command run.  It would be ideal if we could start up as another user and still have this mount point available.
0
 
knollbertCommented:
edit /etc/fstab

for info
man /etc/fstab
0
 
InternAuthor Commented:
Thanks, after I read that I saw it in pjedmonds post.  Thanks alot
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

  • 7
  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now