Sponsored Content
Full Discussion: Adding Extra Hard Disk
Operating Systems Solaris Adding Extra Hard Disk Post 302523432 by rbadillarx on Thursday 19th of May 2011 12:44:20 AM
Old 05-19-2011
Hi:
U10 is a "normal" ATA/IDE hard disk machine.
In order to practice I recommend you buy two identical (size, model, maker, geometry (CHS)) ATA/IDE hard disks. Or buy one identical to the current one.

Depending of your U10 origin; may need two double connectors ATA/IDE flat cables (allowing you connect 2 devices per MB port).

Since CDROM has a master designation; and If you want to avoid working on OBP too much left one hd as master and the other as slave on separate MB ports.
Then boot off CDROM install Oracle/Solaris on one disk leaving the 7th slice (30/50MB) for metadb storage and practice SVM.

PD: Keep in mind that there is a kernel parameter to avoid 1/2+1 (metadb) requirement to boot mirrors. ;-)
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Adding hard Disk

Hi all, I am using SCO Openserver V and I want to add one more harddisk (/dev/hd1) Hw can I do it? (1 Reply)
Discussion started by: skant
1 Replies

2. SCO

adding hard disk from SCO OpSer in SCO 5.06

Hi! Sorry, but I am'not spesialist in SCO OpenServer. I need to add hard disk from SCO Open Server ( "a") in my SCO OpenServer 5.6. I need data from "a". When I added, I see only swap disk, and didn't see root file system. I need to add IDE and SCSI Please, help me. How right to add disk?... (0 Replies)
Discussion started by: fedir
0 Replies

3. IP Networking

Adding an extra route to the ip routing table

In my college dorm, there is a file sharing network in the entire building. Problem is, there is only a manual for windows with the settings on how to connect... :mad: They say that you have to give the following command in cmd in windows: route add 172.16.71.0 mask 255.255.255.0... (2 Replies)
Discussion started by: Japie89
2 Replies

4. SCO

declare disk driver for IDE hard disk

hi I've a fresh installation of SCO 5.0.7 on the IDE hard disk. For SCSI hard disk I can declare, for example blc disk driver using: # mkdev hd 0 SCSI-0 0 blc 0but it works for IDE hard disk? (3 Replies)
Discussion started by: ccc
3 Replies

5. Shell Programming and Scripting

sort file adding extra character

HI all i have this script : #!/bin/bash sort /usr/tmp/"REPORT"$1 -o \ /usr/tmp/"SREPORT"$1 -k 1,7 -S 150 end of script now i'm doing this command : ls -lsgt *REPORT* 4 -rw-r--r-- 300 Sep 16 REPORT54784 4 -rw-r--r-- 301 Sep 16 SREPORT54784 as you can see the sorted file... (5 Replies)
Discussion started by: naamas03
5 Replies

6. Linux

C++ Code to Access Linux Hard Disk Sectors (with a LoopBack Virtual Hard Disk)

Hi all, I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it... (23 Replies)
Discussion started by: shen747
23 Replies

7. Shell Programming and Scripting

Adding extra word from file1 to file2

I need to add a word from file1 to file2 accordinggly... file1 contains name of servers and file2 version of server I need that information in a single file so that the format is server_name : version I been trying but havent been able to figure out how to search for a file using sed... ... (14 Replies)
Discussion started by: eponcedeleonc
14 Replies

8. AIX

Adding New Hard Disk

Hi, On P5 I would like to add hard drive, currently 2 hard disk are already exists, would like to add one more, 2 Slots are emtpy, I would like to know how to find out wheather adapter is attached to that 2 free slot using command. (7 Replies)
Discussion started by: manoj.solaris
7 Replies

9. Shell Programming and Scripting

Adding Extra Commas to a CSV file

Trying in this forum. Not sure if it is permitted.... but in need of help. Please find the requirements in the below link. https://www.unix.com/unix-dummies-questions-answers/191503-add-extra-commas-csv-file-2.html#post302665179 Thanks in Advance. (1 Reply)
Discussion started by: chillblue
1 Replies

10. Shell Programming and Scripting

Adding an extra date column in UNIX file

Hi All, I have a file with only one column of data (without delimiter). For Ex: cat temp.txt 22055 21088 93840 30990 50990 50950 I want to insert an additional column with current date as value. So, i have used below command but didn't get the result as excepted. Could onyone over... (5 Replies)
Discussion started by: Suresh
5 Replies
ata(7D) 							      Devices								   ata(7D)

NAME
ata - AT attachment disk driver SYNOPSIS
ide@unit-address DESCRIPTION
The ata driver supports disk and ATAPI CD/DVD devices conforming to the AT Attachment specification including IDE interfaces. Support is provided for both parallel ATA (PATA) and serial ATA (SATA) interfaces. Refer to the Solaris x86 Hardware Compatibility List for a list of supported controllers. PRECONFIGURE
A PCI IDE controller can operate in compatibility mode or in PCI-native mode. If more than one controller is present in the system, only one can operate in compatibility mode. If two PATA drives share the same controller, you must set one to master and the other to slave. If both a PATA disk drive and a PATA CD- ROM drive utilize the same controller, you can designate the disk drive as the master with the CD-ROM drive as the slave, although this is not mandatory. Supported Settings Supported settings for the primary controller when in compatibility mode are: o IRQ Level: 14 o I/O Address: 0x1F0 Supported settings for the secondary controller when in compatibility mode are: o IRQ Level: 15 o I/O Address: 0x170 Note - When in PCI-native mode, the IRQ and I/O address resources are configured by the system BIOS. Known Problems and Limitations o This driver does not support any RAID features present on a PATA/SATA controller. As a result, you should configure BIOS to select IDE mode rather than RAID mode. Some systems may require updating BIOS to allow switching modes. o On some systems, the SATA controller must have option ROM enabled or BIOS will not consider SATA drives as bootable devices. o Panasonic LK-MC579B and the Mitsumi FX34005 IDE CD-ROM drives are not supported and cannot be used to install the Solaris oper- ating environment. o CMD-604 is unable to handle simultaneous I/O on both IDE interfaces. This defect causes the Solaris software to hang if both interfaces are used. Use only the primary IDE interface at address 0x1F0. o NEC CDR-260/CDR-260R/CDR-273 and Sony CDU-55E ATAPI CD-ROM drives might fail during installation. o Sony CDU-701 CD-ROM drives must be upgraded to use firmware version 1.0r or later to support booting from the CD. A Compact Flash(CF) card can work as an ATA disk through a CF-to-ATA adapter. If both card and adapter implement Compact Flash Version 2.0, DMA is supported. If either of them does not, you should set ata-disk-dma-enabled to '0.' CONFIGURATION
The ata driver properties are usually set in ata.conf. However, it may be convenient, or in some cases necessary, for you to set some of the DMA related properties as a system global boot environment property. You set or modify properties in the boot environment immediately prior to booting the Solaris kernel using the GRUB boot loader kernel boot command line. You can also set boot environment properties using the eeprom(1M) command or by editing the bootenv.rc configuration file. If a property is set in both the driver's ata.conf file and the boot environment, the ata.conf property takes precedence. Property modifications other than with the GRUB kernel boot command line are not effective until you reboot the system. Property modi- fications via the GRUB kernel boot command line do not persist across future boots. Direct Memory Access is enabled for disks and atapi CD/DVD by default. If you want to disable DMA when booting from a CD/DVD, you must first set atapi-cd-dma-enabled to 0 using the GRUB kernel boot command line. ata-dma-enabled This property is examined before the DMA properties discussed below. If it is set to '0,' DMA is disabled for all ATA/ATAPI devices, and no further property checks are made. If this property is absent or is set to '1,' DMA status is determined by further examining one of the other properties listed below. ata-disk-dma-enabled This property is examined only for ATA disk devices, and only if ata-dma-enabled is not set to '0.' If ata-disk-dma-enabled set to '0,' DMA is disabled for all ATA disks in the system. If this property is absent or set to '1,' DMA is enabled for all ATA disks and no further property checks are made. If needed, this prop- erty should be created by the administrator using the GRUB kernel boot command line or the eeprom(1M) command. atapi-cd-dma-enabled This property is examined only for ATAPI CD/DVD devices, and only if ata-dma-enabled is not set to '0.' If atapi-cd-dma-enabled is absent or set to '0,' DMA is disabled for all ATAPI CD/DVD's. If set to '1,' DMA is enabled and no further property checks are made. The Solaris installation program creates this property in the boot environment with a value of '1.' It can be changed with the GRUB kernel boot command line or eeprom(1M) as shown in the Example section of this manpage. atapi-other-dma-enabled This property is examined only for non-CD/DVD ATAPI devices such as ATAPI tape drives, and only if ata-dma- enabled is not set to '0.' If atapi-other-dma-enabled is set to '0,' DMA is disabled for all non-CD/DVD ATAPI devices. If this property is absent or set to '1,' DMA is enabled and no further property checks are made. If needed, this property should be created by the administrator using the GRUB kernel boot command line or the eeprom(1M) command. drive0_block_factor ATA controllers support some amount of buffering (blocking). The purpose is to interrupt the host when an entire drive1_block_factor buffer full of data has been read or written instead of using an interrupt for each sector. This reduces inter- rupt overhead and significantly increases throughput. The driver interrogates the controller to find the buffer size. Some controllers hang when buffering is used, so the values in the configuration file are used by the driver to reduce the effect of buffering (blocking). The values presented may be chosen from 0x1, 0x2, 0x4, 0x8 and 0x10. The values as shipped are set to 0x1, and they can be tuned to increase performance. If your controller hangs when attempting to use higher block factors, you may be unable to reboot the system. For x86 based systems, it is recommended that tuning be performed using a duplicate of the /platform/i86pc/ker- nel directory subtree. This ensures that a bootable kernel subtree exists in the event of a failed test. ata-revert-to-defaults When rebooting or shutting down, the driver can set a feature which allows the drive to return to the power-on revert--<diskmodel> settings when the drive receives a software reset (SRST) sequence. If this property is present and set to 1, the driver will set the feature to revert to defaults during reset. Setting this property to 1 may prevent some sys- tems from soft-rebooting and would require cycling the power to boot the system. If this property is not present the system will not set the feature to revert to defaults during reset. To determine the string to substitute for <diskmodel>, boot your system (you may have to press the reset button or power-cycle) and then view /var/adm/messages. Look for the string "IDE device at targ" or "ATAPI device at targ." The next line will contain the word "model" followed by the model number and a comma. Ignore all charac- ters except letters, digits, ".", "_", and "-". Change uppercase letters to lower case. If the string revert-<diskmodel> is longer than 31 characters, use only the first 31 characters. EXAMPLES
Example 1 Sample ata Configuration File # for higher performance - set block factor to 16 drive0_block_factor=0x1 drive1_block_factor=0x1 max_transfer=0x100 flow_control="dmult" queue="qsort" disk="dadk" ; Example 2 Revert to defaults property revert-st320420a=1; Output of /var/adm/messages: Aug 17 06:49:43 caesar ata:[ID 640982 kern.info] IDE device at targ 0, lun 0 lastlun 0x0 Aug 17 06:49:43 caesar ata:[ID 521533 kern.info] model ST320420A, stat Example 3 Change DMA property using GRUB To change a DMA property using the GRUB kernel boot command line: 1. Reset the system. 2. Press "e" to interrupt the timeout. 3. Select the kernel line. 4. Press "e." 5. If there is no existing -B option: Add: -B atapi-cd-dma-enabled=1 else... Add: atapi-cd-dma-enabled=1 to the end of the current -B option. For example:-B foo=bar,atapi-cd-dma-enabled=1. 6. Press Enter to commit the edited line to memory. (Does not write to the disk and is non-persistent). 7. Press 'b' to boot the modified entry. Example 4 Change DMA Property with eeprom(1M) To enable DMA for optical devices while the Solaris kernel is running with the eeprom(1M) system command: eeprom 'atapi-cd-dma-enabled=1' FILES
/platform/i86pc/kernel/drv/ata Device driver. /platform/i86pc/kernel/drv/ata.conf Configuration file. /boot/solaris/bootenv.rc Boot environment variables file for Solaris x86. eeprom(1M) can be used to modify properties in this file. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Architecture |x86 | +-----------------------------+-----------------------------+ SEE ALSO
eeprom(1M), attributes(5), grub(5) INCITS T13 ATA/ATAPI-7 specifications SunOS 5.11 18 Apr 2007 ata(7D)
All times are GMT -4. The time now is 04:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy