Configure disk array in RAID5 and create file system


 
Thread Tools Search this Thread
Operating Systems Solaris Configure disk array in RAID5 and create file system
# 1  
Old 12-14-2010
Configure disk array in RAID5 and create file system

I'm new to forums, it's my first time posting.

I have a sun v490 server. I just installed solaris 10.6, on the local drives. I'm being asked to do the following:

For Oracle install I need “oracle” user that belong to “dba” and “oinstall” groups. File system /u01/app/oracle, 10GB (if have extra space I’ll take it for patches), and grant full privs to “oracle” user.

Please configure Disk array in RAID5 and create the following file systems:



/data

/log

/archive

/backup


I attached a scsi array and used the smc gui to create a raid 5 set from 5 disks.

Quote:
# metastat
d0: RAID
State: Okay
Interlace: 32 blocks
Size: 1146692736 blocks (546 GB)
Original device:
Size: 1146711680 blocks (546 GB)
Device Start Block Dbase State Reloc Hot Spare
c1t10d0s2 20682 Yes Okay Yes
c1t11d0s2 20682 Yes Okay Yes
c1t12d0s2 20682 Yes Okay Yes
c1t8d0s2 20682 Yes Okay Yes
c1t9d0s2 20682 Yes Okay Yes

Device Relocation Information:
Device Reloc Device ID
c1t10d0 Yes id1,sd@n5000cca0044c9c07
c1t11d0 Yes id1,sd@n5000cca004448e63
c1t12d0 Yes id1,sd@n5000cca0043d5d97
c1t8d0 Yes id1,sd@n5000cca0043e2607
c1t9d0 Yes id1,sd@n5000cca0044d1b3b

I ran newfs -c 256 -i 8192 -m 8 -C 65 /dev/md/rdskd0
I created the groups, and the user account.
I created a folder /oracle and tried to mount the file system but I get this error.

# mount /dev/md/dsk/d0 /oracle
mount: /dev/md/dsk/d0 is not this fstype
I'm freaking out because I need to know how to do this. so any help would be appreciated.
Smilie
# 2  
Old 12-14-2010
Try:
Code:
mount -F ufs /dev/md/dsk/d0 /oracle

This User Gave Thanks to bartus11 For This Post:
# 3  
Old 12-14-2010
great, that worked. Will it automatically mount at restart or do I need to edit vfstab? and how do I edit it?

I spoke with the DBA and he said I need to create a 10GB file system. u01/app/oracle how do I do that?

Sorry for the simple questions but I appreciate the quick response.


# 4  
Old 12-14-2010
Quote:
Originally Posted by Kjons76
great, that worked. Will it automatically mount at restart or do I need to edit vfstab? and how do I edit it?

I spoke with the DBA and he said I need to create a 10GB file system. u01/app/oracle how do I do that?

Sorry for the simple questions but I appreciate the quick response.


You need to add it to /etc/vfstab for it to mount at boot time.

Use /bin/vi to edit /etc/vfstab. The line should look like this:
Code:
/dev/md/dsk/d0 /dev/md/rdsk/d0 /oracle ufs 2 yes -

HTH

---------- Post updated at 11:15 AM ---------- Previous update was at 11:10 AM ----------

I just re-read your post above. Smilie

change /oracle with /u01 in /etc/vfstab. Then mount the fs. Next create the dirs with
Code:
mkdir -p /u01/app/oracle

HTH
This User Gave Thanks to bluescreen For This Post:
# 5  
Old 12-14-2010
that makes sense, does this vfstab look right?

Code:
# cat /etc/vfstab
#device         device          mount           FS      fsck    mount   mount
#to mount       to fsck         point           type    pass    at boot options
#
fd      -       /dev/fd fd      -       no      -
/proc   -       /proc   proc    -       no      -
/dev/md/dsk/d0 /dev/md/rdsk/d0 /u01 ufs 2 yes
/dev/dsk/c2t0d0s4       -       -       swap    -       no      -
/dev/dsk/c2t0d0s0       /dev/rdsk/c2t0d0s0      /       ufs     1       no                                                                                              -
/dev/dsk/c2t0d0s6       /dev/rdsk/c2t0d0s6      /usr    ufs     1       no                                                                                              -
/dev/dsk/c2t0d0s3       /dev/rdsk/c2t0d0s3      /var    ufs     1       no                                                                                              -
/dev/dsk/c2t0d0s7       /dev/rdsk/c2t0d0s7      /export/home    ufs     2                                                                                               yes     -
/dev/dsk/c2t0d0s5       /dev/rdsk/c2t0d0s5      /opt    ufs     2       yes                                                                                             -
/dev/dsk/c2t0d0s1       /dev/rdsk/c2t0d0s1      /usr/openwin    ufs     2                                                                                               yes     -
/devices        -       /devices        devfs   -       no      -
ctfs    -       /system/contract        ctfs    -       no      -
objfs   -       /system/object  objfs   -       no      -
swap    -       /tmp    tmpfs   -       yes     -
#

thanks again, it means a lot to me. I finally found a job close to home but it's with unix and I know nothing about it.

Last edited by radoulov; 12-14-2010 at 12:45 PM.. Reason: Code tags, please!
# 6  
Old 12-14-2010
Dont forget the "-" at the end of the line. OTW, looks fine to me.
This User Gave Thanks to bluescreen For This Post:
# 7  
Old 12-14-2010
what a difference a "-" makes. I can't thank you enough.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

DISK ARRAY PROTECTION SUSPENDED message following disk replacement

Hello, On 4/20/2018, we performed a disk replacement on our IBM 8202 P7 server. After the disk was rebuilt, the SAS Disk Array sissas0 showed a status of degraded. However, the pdisks in the array all show a status of active. We did see a message in errpt. DISK ARRAY PROTECTION SUSPENDED. ... (3 Replies)
Discussion started by: terrya
3 Replies

2. Filesystems, Disks and Memory

DISK ARRAY PROTECTION SUSPENDED message displayed following disk replacement

Hello, On 4/20/2018, we performed a disk replacement on our IBM 8202 P7 server. After the disk was rebuilt, the SAS Disk Array sissas0 showed a status of degraded. However, the pdisks in the array all show a status of active. We did see a message in errpt. DISK ARRAY PROTECTION SUSPENDED. ... (1 Reply)
Discussion started by: terrya
1 Replies

3. OS X (Apple)

Create a bash array from a flat file of whitespaces only.

Hi guys and gals... MacBook Pro. OSX 10.13.2, default bash terminal. I have a flat file 1920 bytes in size of whitespaces only. I need to put every single whitespace character into a bash array cell. Below are two methods that work, but both are seriously ugly. The first one requires that I... (7 Replies)
Discussion started by: wisecracker
7 Replies

4. UNIX for Advanced & Expert Users

RAID5 multi disk failure

Hi there, Don't know if my title is relevant but I'm dealing with dangerous materials that I don't really know and I'm very afraid to mess anything up. I have a Debian 5.0.4 server with 4 x 1TB hard drives. I have the following mdstat Personalities : md1 : active raid1 sda1 sdd1... (3 Replies)
Discussion started by: chebarbudo
3 Replies

5. UNIX for Advanced & Expert Users

how to create multiple-boot system with disks mirrored(RAID1+0) and disk alone

I have a HP proliant ML 570 G3 with two 146GB disk drives mirrored(RAID1+0) windows server 2003 was installed on that disk. I will add a disk.(scsi 300GB) I will install Linux on that additional disk. I want to create multiple-boot system. Is it possible? I wanna know how to create... (0 Replies)
Discussion started by: lifegeek
0 Replies

6. UNIX for Dummies Questions & Answers

For create file system.

How many ways and how we can create unix file system in sun solaris? (1 Reply)
Discussion started by: anupdas
1 Replies

7. Shell Programming and Scripting

How do I create an array from a file using every 3rd line

A file contains the following information shown below. Every ceName has 2 consecutive lines that have to be evaluated, using awk, sed, cut (any common unix tools). Input file: ceName: Node-1 processName: tzMgmt Status: PROCESS_NOT_RUNNING ceName: Node-2 processName: tzMgmt Status:... (15 Replies)
Discussion started by: BRH
15 Replies

8. Shell Programming and Scripting

create array holding characters from sring then echo array.

Hi, I wish to store $string1 in $string1array a character in each array element. Then i wish to echo the entire array to the screen so that it reads as the normal string again. I have been trying with the code below but does not work. Please help... To put string into array: ... (5 Replies)
Discussion started by: rorey_breaker
5 Replies

9. UNIX for Dummies Questions & Answers

How to create a new file system

Is there any URL or procedure to create a new file system on solaris 8/9/10.. (3 Replies)
Discussion started by: tintedwindow
3 Replies

10. SCO

create a new file system

I have just installed 5.0.7 of openserver and forgot to create a /u filesystem. I have a root filesystem that takes up most of the hard disc space and I want to reduce the size of that and create a /u. I have tried divvy amd mkdev fs but to no avail. Could somebody give me some idea as to how I... (2 Replies)
Discussion started by: rongrout
2 Replies
Login or Register to Ask a Question