Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New hard disk in Solaris 9 1

Status
Not open for further replies.

01backuper

IS-IT--Management
Jan 2, 2006
27
A2
Hello,
I want to add a second drive to a SunFire V480 Server, this one being a FCAL 146 GB disk. There's already an 32 GB disk having the OS Solaris 9. This is not going to be a hot-plug situation, the disk will not replace any existing one. It will simply be a second drive for storing data. I suppose that i must visit the Format and Partition Menus in Solaris after i install the hardware, but i'd appreciate any extra details given from people who already have the experience on such things. One more detail is the fact that i need to create a mount point which people from Oracle will have access to. This mount point must be permanent, meaning that after a reboot it has to be accessible again. Thanks for all your help in advance
 
If it is for Oracle, I suspect they will want more than one mount point. One for data, one for archive logs, redo logs etc. It is highly recomended that they be on different controllers too. I am not an expert on Oracle so maybe someone who is will be of more help.

Gallows
 
I'm not sure if this is what you are looking for, to mount a fileystem over reboots you would need to make an entry in /etc/vfstab

To make a mount point available to remote users you would have to share it and to make this permanent over reboots you would have to make an entry in /etc/dfs/dfstab.

 
If you have the SAN Foundation 4.xx installed (does not come with Solaris 9, so you probably don't have it if you don't know what it is) then you can do everything with out a reboot.

-If you do not have the SAN Foundation installed then you will first need to:
reboot -- -r
or
boot -r
or
touch /reconfigure and reboot

-use format to partition the drive
-use newfs to write a file system(s) (I am assuming you are using file systems and not Oracle ASM)
newfs /dev/rdsk/cXtXdXsX
-use mount to mount the partition(s)
mkdir /mountpoint
chmod 755 /mountpoint
mount /dev/dsk/cXtXdXsX /mountpoint
chown oracle:dba /mountpoint
-add the device(s) to /etc/vfstab so you can make it
mountable at boot time
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot option
s
#
/dev/dsk/cXtXdXsX /dev/rdsk/cXtXdXsX /mountpoint ufs 2 yes -




 
One thing I left out, be careful when editing the /etc/vfstab file. All files must be complete for each entry or you will have problems at boot time. (Notice the -) at the end, you must give a - if you have no options you want)

You should test the vfstab before you reboot

umount /mountpoint
mount /mountpoint
 
Gee, thanks for all your replies folks,

Ok, first off, Oracle wants a mount point named /oradata.
They want it permanent, which means it has to be there after reboot. They have to have priviledges on it.
The V480 has two sockets for disks, the one is already occupied, this second one will host the new drive. No OS will be on it. Just Oracle stuff.
I don't have the SAN Foundation. The system is simple, no clusters exist there.
To maximusGeek : The two entries after your text mountable at boot time
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot option
s
#
have gotten me a bit confused, the reason being probably that lines don't align neatly in the browser.
But you seem to have added a single s and a single # sfter that. Are the to go like that?

Thank you all once again
 
dev/dsk/cXtXdXsX /dev/rdsk/cXtXdXsX /mountpoint ufs 2 yes -

It does not have to have a single space, it can be several or a tab. The second to the last entry "yes" means it will mount at boot time.
 
Thank you all for your replies.
The disk didn't show up at first boot, but got it recognized afterwards in the Format menu.
I now have a 146 GB disk (actually 136 GB usable) with the moint point ok.

Thanks once again
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top