Hi All.
I am pretty new when it comes to Linux. My admin left on vacation and has presented 2 new disks to the server but they won't be seen until I can reboot the box this weekend.
Once that happens I need the steps to make it available to my server and mount them as new filesystems. One will be for oracle data and the other for backup data.
Can anyone provide me with the steps neeed to complete this?
Here is some info I have on the current setup:
The first question is should the disk be formatted? That is, should there be a file system on them.
I am not sure about Oracle Data. I know that sometimes Oracle uses raw disks for storage. If this is the case, then you need to determine the device of the new Oracle Data disk (is it /dev/sda /dev/sdb, etc') and configure Oracle accordingly.
If the disks need to be formatted, the first step would be to create a file system on them:
1. Determine the device of the disks.
2. Create one or more partitions on each disk using "fdisk" or the graphical tool "gparted".
3. Decide which file system you want to use. It seems like you are using reiserfs for all the disks, and I assume you will use it for the new disks as well.
4. use the "mkfs" command to create the file system.
5. Update the "/etc/fstab" file so that the new formatted partitions will be automatically mounted when the system comes up, or manually.
BTW, what distribution are you using (look at /etc/issue)?
Yes the devices should be formatted.
I am not planning to use them for raw storage for Oracle and there will only be the one partition on both disks for the data.
You mention to determine the devices of the new disks? How do I do that exactly? What command should I run to see the disks after the reboot?
Currently there is:
I don't beleive sdf and sdg are being used but after the reboot will I see sdh and sdi? How can I see if sdf and sdg are being used. If they were I am assuming I would see sdf1 and sdg1 for the partitions.
Sorry if these are elementary questions. I appreciate your time in helping me with this.
I would try the script (make sure you run a chmod +x) and run the script like this
Now... for Oracle, if it will be for ASM it will still require a partition. You should learn some of the commands for fdisk from here:
and then create the associated partitions, but not put any file systems on them. If by backup, you mean dumps of the tables, then you will need a filesystem
mkfs.<filesystemtype> should get you started. Many people use ext3, but any number of file system types should work, such as jfs, xfs, etc.
Based on the output, it appears you are running SUSE, is this correct? Yast would help you with a lot of this if you are.
---------- Post updated at 01:38 PM ---------- Previous update was at 01:36 PM ----------
Also, since you are using SAN based storage, and probably using some sort of multi-pathing (SANs, by the way they work, tend to show you multiple paths to the storage, and the operating system confuses them with actual drives), you should reference your drives like they are in /etc/fstab
Using either devmapper or /dev/disk/by-id rather than the sd? designation.
From the lists you provide, merely by comparing the output of your ls command with the contents of the fstab file you included, it appears to me that the new disk is sdd, since it has no partitions on it, and it is not covered by fstab (and consequently, I assume it is not in use). I cannot see he second new disk there.
of course, sdf and sdg are also new disks. They don't appear in the SCSI list for some reason.
You can use the fdisk program to look at each of these disks. You can see their size and the partitions created on them (if any).
Simply do (as a superuser): fdisk /dev/sdf (or sdg or sdd)
At the prompt type "p" to print the structure of the disk. You will be able to see its size and also any partitions created on it. I hope this information is sufficient for you to recognize the two new disks.
Hi Folks -
I need to mount a Windows Share to a Linux server. What is the best/easiest way to do this?
Is this 'how-to' guide accurate:
How to Share Files Between Windows and Linux
Or is there a better method you could share?
Thanks! (8 Replies)
Dear Experts,
My buissness requierment is to place some automated files in Windows server, Now Can you help me to map the Windows folder into Linux server.
Windows Details:-windows 2003
Linux Details:-
$ uname -a
Linux testdb.mawarid.local 2.6.9-55.ELsmp #1 SMP Fri Apr 20 16:36:54 EDT 2007... (3 Replies)
I wasn't sure where to put this thread but since i use ubuntu for data recovery, I figured this is the best place. So, a friend passed me a 250G Western Digital hard disk the other day and said that his client needs to get her pictures off it. the problem: windows says it wants to reformat the... (13 Replies)
I am using Solaris 10. I have a raw device attached to my system which is
/dev/md/rdsk/d91
I want to mount this as a disk with file system on a mount point /u05.
Actually this raw device was earlier part of Oracle ASM. Now I have removed this disk from ASM, and want to use it as normal... (3 Replies)
Can someone please help me out here.
I have SunSolaris server that has a ridiculous about of space on it. several hundred gigabytes of space. There are lots of partitions on this server that has at least 100Gs on them.
I want to mount just one of these partitions on my Linux server so I can... (4 Replies)
Hi once more :p
Yesterday I reinstalled Solaris OS and now I can not mount pcfs HDD
SunOS unknown 5.10 Generic_142901-03 i86pc i386 i86pc
and what has been added in /etc/vfstab is
/dev/dsk/c1t0d0p1:c - /podaci - pcfs - yes rw
But as I said , my disk is... (4 Replies)
hi,
is that possible?
i installed one disk of a old rs/6000 in a linux machine.
the problem seems to be the partition layout.
linux fdisk tells me that aix disklabels are not supported,
so the problem seems to be the partition layout, not the filesystem.
does anybody know a way to access... (1 Reply)
Hi Engg. ! :mad:
I have a harddisk on which SCO UNIX Open Server was installed. There was some data (in .dbf format) on it. Present condition of HDD is that it is not booting. Now I want to mount this HDD through other HDD on which SCO UNIX Open Server is installed by attaching... (0 Replies)
I have connected up second hard drive to my Sparcstation5, touched /reconfigure. and now would like to know how to mount the hard drive. I am trying to access /etc/passwd file on second disk to change root passwd but after connecting drive; touching reconfigure. don't know how to go about accessing... (2 Replies)
i am using Interactive Unix 4.1.1 and i have a disk from a another unix machine which is Unix Slackware 2.1 i'm having problem mounting the disk. it gives me an error message, ??? is there any solution to this ???
it say the disk has invalid file system (1 Reply)