Solved

How to navigate to 2nd Hard Drive?

Posted on 2004-09-22
13
261 Views
Last Modified: 2010-04-20
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
Comment
Question by:Intern
  • 7
  • 4
  • 2
13 Comments
 
LVL 6

Expert Comment

by:knollbert
Comment Utility
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
 
LVL 1

Author Comment

by:Intern
Comment Utility
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
 
LVL 6

Expert Comment

by:knollbert
Comment Utility
>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
 
LVL 6

Accepted Solution

by:
knollbert earned 500 total points
Comment Utility
>mkdir /Oracle
>mount /dev/sdb /Oracle

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

Need to specify partition
0
 
LVL 6

Expert Comment

by:knollbert
Comment Utility
>Sorry if these are stupid questions
No Problem we all have to learn someplace
0
 
LVL 22

Expert Comment

by:pjedmond
Comment Utility
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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 22

Expert Comment

by:pjedmond
Comment Utility
...wow....I'm slow today!
0
 
LVL 6

Expert Comment

by:knollbert
Comment Utility
I've been slow for the last 2 weeks
0
 
LVL 1

Author Comment

by:Intern
Comment Utility
Thank you so much.  You have saved me from an hour of "Am I doing this right?"
0
 
LVL 6

Expert Comment

by:knollbert
Comment Utility
Thanks for the points and the Grade

---Knollbert
0
 
LVL 1

Author Comment

by:Intern
Comment Utility
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
 
LVL 6

Expert Comment

by:knollbert
Comment Utility
edit /etc/fstab

for info
man /etc/fstab
0
 
LVL 1

Author Comment

by:Intern
Comment Utility
Thanks, after I read that I saw it in pjedmonds post.  Thanks alot
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Join & Write a Comment

Suggested Solutions

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now