Sponsored Content
Operating Systems Solaris Assigning disks to grid user Solaris 11 Post 302962227 by Magwai on Thursday 10th of December 2015 03:01:36 AM
Old 12-10-2015
Hammer & Screwdriver Assigning disks to grid user Solaris 11

hello....am trying to install Oracle 11gR2 RAC on Solaris 11 using Oracle Virtualbox, am stucked somewhere when trying to assign disk to grid user......I created five disks of 5GB each for ASM, I formatted them successfully but when trying to assign them to grid user, there is no changes as still appear that root is the owner

--Here are my disks
Code:
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <ATA-VBOX
HARDDISK-1.0-40.00GB>
/pci@0,0/pci8086,2829@d/disk@0,0
1. c1t1d0 <ATA-VBOX HARDDISK-1.0 cyl
2558 alt 2 hd 128 sec 32>
/pci@0,0/pci8086,2829@d/disk@1,0
2. c1t2d0 <ATA-VBOX HARDDISK-1.0 cyl
2558 alt 2 hd 128 sec 32>
/pci@0,0/pci8086,2829@d/disk@2,0
3. c1t3d0 <ATA-VBOX HARDDISK-1.0 cyl
2558 alt 2 hd 128 sec 32>
/pci@0,0/pci8086,2829@d/disk@3,0

Specify disk (enter its number): 1     
selecting c1t1d0
[disk formatted]
No Solaris fdisk partition found
format> p
format> fdisk
Type "y" to accept the default partition, otherwise type "n" to edit the partition table. y
format> p
partition> 0
Enter partition id tag[unassigned]:
Enter partition permission flags[wm]:
Enter new starting cyl[0]: 1
Enter partition size[0b, 0c, 1e, 0.00mb, 0.00gb]: 4.95g
partition> print
partition> label
Ready to label disk, continue? y
partition> quit
format> volname ASMDISK1
format> verify

I repeated same steps for the rest of the disks then as root user I changed the ownership to grid
Code:
chown grid:asmadmin /dev/rdsk/c1t1d0s0
chown grid:asmadmin /dev/rdsk/c1t2d0s0
chmod 660 /dev/rdsk/c1t1d0s0
chmod 660 /dev/rdsk/c1t2d0s0

---but when issued below command the disks still appear to be owned by root
Code:
ls -altr  /dev/rdsk/c1t1d0s0
# ls -altr  /dev/rdsk/c1t1d0s0
lrwxrwxrwx   1 root     root          51 Dec  7 21:40 /dev/rdsk/c1t1d0s0 -> ../../devices/pci@0,0/pci8086,2829@d/disk@1,0:a,raw

--grid user attributes
Code:
# id -a grid
gid=500(oinstall) groups=500(oinstall),501(asmadmin),502(asmdba),503(asmoper)


Last edited by Magwai; 12-10-2015 at 05:22 AM.. Reason: Add CODE tags.
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

re-partition disks on solaris

hi all, i was wondering if i have some volume manager and i want to format all partitions/disks and re-create new slices can i use regular format command or what? i think veritas volume manager is already installed. (2 Replies)
Discussion started by: Bashar
2 Replies

2. Linux

Assigning Authorization to a user

Hi, I created a user, however, l want this user to be able to configure some services in REd Hat 8.0 such changing of Network address which is exclusive to root super user. Unlike in Openserver or Unixware were you can assign authorization and privileges to user. I have not being able to figure... (5 Replies)
Discussion started by: kayode
5 Replies

3. Solaris

disks in solaris

whats the command to find name of all disks. Is it iostat -En ? (1 Reply)
Discussion started by: vikashtulsiyan
1 Replies

4. Solaris

How to activate "high" priority queues for codine (Sun Grid Engine) under solaris 10

How to activate "high" priority queues for codine (Sun Grid Engine) under solaris 10? What are the steps? (0 Replies)
Discussion started by: ionrivera
0 Replies

5. AIX

Interesting Problem! 2 VIOs, One is problematic, assigning disks and resources from the other only

Hi, The scenario is like this: 1.We needed to assign two hdisks to an LPAR 2.SAN team gives us two ldevs 3.One of our VIO is hanging on cfgmgr operation 4. We ran cfgmgr on the smooth VIO. Got the disks and assigned the disks from there to the LPAR.(By passed the other VIO as in didnt run... (11 Replies)
Discussion started by: aixromeo
11 Replies

6. Solaris

list all solaris Disks

Hi Guy's can anyone advise me .. I have mapped some of EMC devices from EMC Storage to Sun Solaris server and I want to list all the disk which are assigned from the storage can anyone advise me with the command how to can I list all the disk in Solaris Thanks .. (2 Replies)
Discussion started by: roooooot
2 Replies

7. Red Hat

Trouble assigning user to group in OpenLDAP

Hello, I am working on setup LDAP Server and facing issue related to assigning user to a group. Below is the LDAP structure i am using. I have created Users,Groups and Servers ou's and sub ou's added to the same or Users as well as Groups OU. Logged in as: cn=Manager,dc=bebolabs,dc=net ... (0 Replies)
Discussion started by: sunnysthakur
0 Replies

8. Solaris

Solaris packages for Oracle grid infrastructure installation

Hello guys, I am trying to install oracle grid infrastructure 11.2 on Solaris 5.11. while I was reading the installation guide to check for the software requirements, there were two packages mentioned for the Solars 5.11. They are as follows pkg://solaris/developer/build/make... (2 Replies)
Discussion started by: zacsparrow
2 Replies

9. Solaris

Assigning ip to Solaris

Hi I cannot assign static ip address to my solaris machine. When i do dladm show-dev it shows nothing. (3 Replies)
Discussion started by: anfieldre
3 Replies

10. Solaris

Assigning proc_owner privilege to particular user in RBAC

Hi I need to assign proc_owner privilege to particular user through RBAC. How can I assign this privilege to user, I need help on this. Further I need to understand if I give this proc_owner privilege to particular user, what kind of control user will get on other user or system processes... (7 Replies)
Discussion started by: sb200
7 Replies
fmthard(1M)															       fmthard(1M)

NAME
fmthard - populate label on hard disks SYNOPSIS
SPARC fmthard -d data | -n volume_name | -s datafile [-i] /dev/rdsk/c? [t?] d?s2 fmthard -d data | -n volume_name | -s datafile [-i] /dev/rdsk/c? [t?] d?s2 The fmthard command updates the VTOC (Volume Table of Contents) on hard disks and, on systems, adds boot information to the Solaris fdisk partition. One or more of the options -s datafile, -d data, or -n volume_name must be used to request modifications to the disk label. To print disk label contents, see prtvtoc(1M). The /dev/rdsk/c?[t?]d?s2 file must be the character special file of the device where the new label is to be installed. On systems, fdisk(1M) must be run on the drive before fmthard. If you are using an system, note that the term ``partition'' in this page refers to slices within the fdisk partition on machines. Do not confuse the partitions created by fmthard with the partitions created by fdisk. The following options are supported: -d data The data argument of this option is a string representing the information for a particular partition in the current VTOC. The string must be of the format part:tag:flag:start:size where part is the partition number, tag is the ID TAG of the partition, flag is the set of permission flags, start is the starting sector number of the partition, and size is the number of sectors in the partition. See the description of the datafile below for more information on these fields. -i This option allows the command to create the desired VTOC table, but prints the information to standard output instead of modifying the VTOC on the disk. -n volume_name This option is used to give the disk a volume_name up to 8 characters long. -s datafile This option is used to populate the VTOC according to a datafile created by the user. If the datafile is "-", fmthard reads from standard input. The datafile format is described below. This option causes all of the disk par- tition timestamp fields to be set to zero. Every VTOC generated by fmthard will also have partition 2, by convention, that corresponds to the whole disk. If the input in datafile does not specify an entry for partition 2, a default partition 2 entry will be created auto- matically in VTOC with the tag V_BACKUP and size equal to the full size of the disk. The datafile contains one specification line for each partition, starting with partition 0. Each line is delimited by a new-line character ( ). If the first character of a line is an asterisk (*), the line is treated as a com- ment. Each line is composed of entries that are position-dependent, separated by "white space" and having the fol- lowing format: partition tag flag starting_sector size_in_sectors where the entries have the following values: partition The partition number. Currently, for Solaris SPARC, a disk can have up to 8 partitions, 0-7. Even though the partition field has 4 bits, only 3 bits are currently used. For , all 4 bits are used to allow slices 0-15. Each Solaris fdisk partition can have up to 16 slices. tag The partition tag: a decimal number. The following are reserved codes: 0 (V_UNASSIGNED), 1 (V_BOOT), 2 (V_ROOT), 3 (V_SWAP), 4 (V_USR), 5 (V_BACKUP), 6 (V_STAND), 7 (V_VAR), and 8 (V_HOME). flag The flag allows a partition to be flagged as unmountable or read only, the masks being: V_UNMNT 0x01, and V_RONLY 0x10. For mountable partitions use 0x00. starting_sector The sector number (decimal) on which the partition starts. size_in_sectors The number (decimal) of sectors occupied by the partition. You can save the output of a prtvtoc command to a file, edit the file, and use it as the datafile argument to the -s option. See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ uname(1), format(1M), prtvtoc(1M), attributes(5) Only fdisk(1M), installgrub(1M) Special care should be exercised when overwriting an existing VTOC, as incorrect entries could result in current data being inaccessible. As a precaution, save the old VTOC. For disks under one terabyte, fmthard cannot write a VTOC on an unlabeled disk. Use format(1M) for this purpose. 11 Apr 2005 fmthard(1M)
All times are GMT -4. The time now is 01:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy