Low-end RAID - Ugh (Or how to create partition level arrays)
Ok... I got a new mobo and my system is up and running!
Now let me tell you how I "want" to configure my drives.
I have two Hitachi 160 SATA drives. I would like to create two RAID partitions. Configured like so:
SATA1 SATA2
20GB + 20GB @ Mirrored = 20GB C: (For Windows, etc.) (Safe)
140GB + 140GB @ Stripped = 280GB D: (For everything else ) (Fast)
The problem is that the stupid Nvidia RAID BIOS only seems to support creating drive level arrays and not partition level!
I only have expierence with high-end server RAID controllers and doing what I have layed out is perfectly possible. Is this just something that "low-end" RAID controllers do not support?
Thanks!
Unfortunatly that is true, this controller does not support partition level arrays, only disc level.
Be well....
Similar Messages
-
What is partition ? how to create partition ? how to maintain indexes ?
HI experts,
What is the use of peartion table
how to create partition ?
how to create index ? how to maintain ?
Thanks in Advance!
VijayRead
Partitioned Tables and Indexes
Create Partitioned Tables and Indexes
SQL Server Index and Statistics Maintenance
Many Thanks & Best Regards, Hua Min -
How to create 3 levels of Top Level Navigation?
Hi
I have a requirement to create 3 levels of TLN in this manner:
Role A
RoleAFolderA | RoleAFolderB
RoleAFolderAViewA | RoleAFolderBViewB
In the help, it says I can have only 2 levels max. How can I configure the TLN to display the third level too?
If this is not possible, what is a work around?
Thanks
ManojHI,
Check if this can help you.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/dae78be4-0601-0010-c9ab-c0b8d86fac07
Regards,
Harini S -
How to create an new array from dynamically discovered type
public static Object toAdjustedArray(Object source, Object addition,
int colindex, int adjust) {
int newsize = 0;
Class componentType = null;
if (source.getClass().isArray()) {
Object[] arrayIn= (Object[])source;
componentType = arrayIn[0].getClass();
newsize = arrayIn.length + adjust;
else {
System.out.println("error in ArrayUtil");
Object[] newarray = new Object[newsize];
copyAdjustArray(source, newarray, addition, colindex, adjust);
return newarray;
}This methods take an array as an input an append new value(s) to it.
I can get the component type of the array (i.e. the class of the array's member). But how can I create a new array of this component type (i.e doing something like componentType[] newarray = new componentType[newsize])?
CU JeromeI fanally found a walkaround trick for my problem.
Their is no way to create an array of a certain type (dynamically dsicovered) in CLDC. But what you can do is to use the instanceof method to determine the type of your array and in a big if statement create the right array.
Here is the final code:
public static Object toAdjustedArray(Object source, Object addition,
int colindex, int adjust) {
int newsize = 0;
if (source.getClass().isArray()){
Object[] arrayIn= (Object[])source;
newsize = arrayIn.length + adjust;
Object arrayElement = null;
if (addition.getClass().isArray()){
Object[] temp = (Object[])addition;
arrayElement = temp[0];
else{
arrayElement = addition;
Object newarray = null;
if (arrayElement == null){
newarray = new Object[newsize];
if (arrayElement instanceof org.hsqldb.Index){
newarray = new org.hsqldb.Index[newsize];
else {
newarray = new Object[newsize];
copyAdjustArray(source, newarray, addition, colindex, adjust);
return newarray;
} -
How to create partition from one table to another?
Hi,
Can any one help me in this :
I have copied table from one schema to another by using the following command. The table is around 300 GB in size and the partitions are not copied. Now i got a request to create partitions in the destination table similar to the source table.
CREATE TABLE user2.table_name AS SELECT * FROM user1.table_name;
I am using Oracle 9i database. This is very urgent, could any one please suggest me how can i create the partitions in user2 table as user1 table.If you have the TOAD/ SQL DEVELOPER , get the partition DDL from the source table and execute it in the newly created table.
or you can use DBMS_METADATA:
SET LONG 10000
SELECT dbms_metadata.get_ddl('TABLE', 'TEST')
FROM DUAL;
Thanks,
<Moderator Edit - deleted link signature - pl see FAQ link on top right> -
How to create Database level Security in OBIEE
Dear Experts,
Can you kindly tell me the steps on how to create a database level security on OBIEE.
Please can some one give me the scripts and tell me how to implement tht in the RPD.
Thanks in advance,
AnandIf you are looking for Database Level security in OBIEE the only route to truly accomplishing this is using the Oracle Virtual Private Database concept.
http://obieeblog.wordpress.com/2008/12/29/obiee-and-virtual-private-database-vpd/
http://gerardnico.com/wiki/dat/obiee/vpd -
How to create partition in c drive in window7
hi,
I have HP pavilion dv6-Windows 7 home basic 64-bit , ofter recovery we have create partition in C drive but can't farmate. there is shown the facility avail in selected disks.
What, i do?
Mohan SinghHi,
Please use "Disk Management" to check first. Depending how many partitions are there, it is not recommenced to have more than 4 partitions on a physical disk.
Please use this tutorial to perform other tasks if you wish:
http://pcsupport.about.com/od/windows7/ht/disk-management-windows-7.htm
Regards.
BH
**Click the KUDOS thumb up on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem. -
How to create top level classes
what is the meaning of top level classes. and how to create toplevel classes.
http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00000188.html
-
How to create a list/array off numbers with boolean attributes
Hi,
Maybe the title doesn't explain this too well but what I'm trying to do I'd imagine should be straight forward, I just don't know how!
I want an array of numbers to be entered by a user, and for each of these numbers I wish to have a boolean, (it will select later what action is performed on that number)
The array size can vary
e.g.
element Numeric Value Boolean
0 5 True
1 20 True
2 -5 False
3 10 True
n 100 False
I don't see any list with numeric and boolean, maybe I just haven't spotted it or do I have to make it somehow?
Any suggestions please?
Thanks!
p.s. if anyone else is using Opera Browser to post here, hitting enter work properly for ye when entering text? For me it causes the cursor to go up one line instead of down! Drives me nuts! It only happens with this NI forum
Solved!
Go to Solution.Hi thanks for the reply,
It not really what I'm looking for though.
I require is a control that inputs both numeric and boolean, as in the example I mentioned. I guess I'm looking for a cluster really but I thought there may be something more straight forward.
From the example I gave
Element 0 of this array has been entered as a x, and the boolean True was entered (so I perform a "test" A on value x)
Element 1 of this array has been entered as a y, and the boolean True was entered (so I perform a "test" A on value y)
Element 2 of this array has been entered as a z, and the boolean False was entered (so I perform a "test" B on value z)
I could also use a 2d array were I enter another numeric value (0/1 for False/True) but I'm not sure I can limit this column only to accept 0 or zero and the first row any number.
I was hoping there would be some easier way to do this -
How to create two level dynamic list using JSP , Java Script and Oracle
I am new in JSP. And i am facing problem in creating two level dynamic list using JSP ,Java Script where the listdata will come from Oracle 10g express edition database. Is there any easy way in JSP that is available on in ASP.NET.
Plz response with details.1) Learn JDBC API [http://java.sun.com/docs/books/tutorial/jdbc/index.html].
2) Create DAO class which contains JDBC code and do all SQL queries and returns or takes ID's or DTO objects.
3) Learn Servlet API [http://java.sun.com/javaee/5/docs/tutorial/doc/].
4) Create Servlet class which calls the DAO class, gets the list of DTO's as result, puts it as a request attribute and forwards the request to a JSP page.
5) Learn JSP and JSTL [http://java.sun.com/javaee/5/docs/tutorial/doc/]. Also learn HTML if you even don't know it.
6) Create JSP page which uses the JSTL c:forEach tag to access the list of DTO's and iterate over it and prints a HTML list out.
You don't need Javascript for this. -
This is a follow-up to an earlier post (How
to output a bunch of variables into a table.) Now that I can ouput data for a single computer I need to to do the same for a list of computers into a CSV. In more general terms how do I get a bunch of $Computer objects into a single collection/array/object/thingy
with a clever name like $Computers?
# http://ss64.com/ps/get-wmiobject-win32.html
# http://social.technet.microsoft.com/Forums/en-US/da54b6ab-6941-4e45-8697-1d3236ba2154/powershell-number-of-cpu-sockets-wmi-query?forum=winserverpowershell
# http://serverfault.com/questions/10328/determine-cpu-processors-vs-sockets-though-wmi
# http://social.technet.microsoft.com/Forums/windowsserver/en-US/8443fcfd-5a0b-4c3d-bda7-26df83d2ee92/how-to-output-a-bunch-of-variables-into-a-table?forum=winserverpowershell
Param(
[Parameter(Mandatory=$false,ValueFromPipeline=$true)]
[string]$ComputerName = $env:COMPUTERNAME,
[Parameter(Mandatory=$false,ValueFromPipeline=$false)]
[ValidateScript(
If ( $_ -ne $null ) { Test-Path $_ }
[String]$ComputerListFile
Function Get-Computer
Param(
[string]$ComputerName
$Win32_PingStatus = $null
$Win32_PingStatus_Result = $null
$Win32_OperatingSystem = $null
$Win32_Processor = $null
$Win32_PhysicalMemory = $null
$Win32_ComputerSystem = $null
$Win32_BIOS = $null
$Computer = $null
$Win32_PingStatus = "select * from Win32_PingStatus where address = '$ComputerName'"
$Win32_PingStatus_Result = Get-WmiObject -query $Win32_PingStatus
If ( $Win32_PingStatus_Result.protocoladdress )
"$ComputerName ping succeeded."
$Win32_OperatingSystem = Get-WmiObject Win32_OperatingSystem -computer $ComputerName -ErrorAction SilentlyContinue
If ( $Win32_OperatingSystem -eq $null)
"$ComputerName WMI failed."
} Else {
"$ComputerName WMI succeeded."
$Win32_Processor = [object[]]$(Get-WmiObject Win32_Processor -computer $ComputerName)
$Win32_PhysicalMemory = [object[]]$(Get-WmiObject Win32_PhysicalMemory -computer $ComputerName)
$Win32_ComputerSystem = Get-WmiObject Win32_ComputerSystem -computer $ComputerName
$Win32_BIOS = Get-WmiObject Win32_BIOS -computer $ComputerName
$Computer = New-Object -Type PSObject -Property @{
Name = $Win32_OperatingSystem.CSName
Win32_BIOS_SerialNumber = [string]$Win32_BIOS.SerialNumber
Win32_ComputerSystem_Manufacturer = [string]$Win32_ComputerSystem.Manufacturer
Win32_ComputerSystem_Model = [string]$Win32_ComputerSystem.Model
#Win32_ComputerSystem_NumberOfLogicalProcessors = [int32]$Win32_ComputerSystem.NumberOfLogicalProcessors
#Win32_ComputerSystem_NumberOfProcessors = [int32]$Win32_ComputerSystem.NumberOfProcessors
Win32_ComputerSystem_TotalPhysicalMemory = [long]$Win32_ComputerSystem.TotalPhysicalMemory
Win32_ComputerSystem_TotalPhysicalMemory_GB = [float]($Win32_ComputerSystem.TotalPhysicalMemory / (1024*1024*1024))
Win32_OperatingSystem_Caption = [string]$Win32_OperatingSystem.Caption
Win32_OperatingSystem_CSName = [string]$Win32_OperatingSystem.CSName
#Win32_OperatingSystem_OSArchitecture = [string]$Win32_OperatingSystem.OSArchitecture
#Win32_OperatingSystem_SerialNumber = [string]$Win32_OperatingSystem.SerialNumber
Win32_OperatingSystem_ServicePackVersion = [string]$Win32_OperatingSystem.ServicePackMajorVersion + "." + [string]$Win32_OperatingSystem.ServicePackMinorVersion
Win32_PhysicalMemory_Capacity = ($Win32_PhysicalMemory | ForEach-Object { $_.Capacity } | Measure-Object -Sum).sum
Win32_PhysicalMemory_Capacity_GB = (($Win32_PhysicalMemory | ForEach-Object { $_.Capacity } | Measure-Object -Sum).sum / (1024*1024*1024))
Win32_Processor_Count = [int]$Win32_Processor.Count
Win32_Processor_NumberOfCores = [string]$Win32_Processor[0].NumberOfCores
Win32_Processor_NumberOfLogicalProcessors = [string]$Win32_Processor[0].NumberOfLogicalProcessors
#Win32_Processor_Description = [string]$Win32_Processor[0].Description
Win32_Processor_Manufacturer = [string]$Win32_Processor[0].Manufacturer
Win32_Processor_Name = [string]$Win32_Processor[0].Name
} ## end new-object
$Computer
} Else {
"$ComputerName ping failed."
$ComputerNameMgmt = $ComputerName + "-mgmt"
$Win32_PingStatus = "select * from Win32_PingStatus where address = '$ComputerNameMgmt'"
$Win32_PingStatus_Result = Get-WmiObject -query $Win32_PingStatus
If ( $Win32_PingStatus_Result.protocoladdress )
"$ComputerNameMgmt ping succeded."
} Else {
"$ComputerNameMgmt ping failed."
"$(Get-Date -Format o) Starting script $($MyInvocation.MyCommand.Name)"
If ( $ComputerListFile -eq $null -or $ComputerListFile.Length -eq 0 )
"Processing computer $ComputerName"
Get-Computer( $ComputerName )
} Else {
"Processing computer list $ComputerList"
$ComputerList = Get-Content $ComputerListFile
$Computers = @{}
$Results = @()
ForEach( $ComputerListMember in $ComputerList )
"$(Get-Date -Format o) $ComputerListMember"
# Get-Computer( $ComputerListMember ) | Add-Member -InputObject $Computers -MemberType NoteProperty -Name $_
# http://social.technet.microsoft.com/Forums/windowsserver/en-US/e7d602a9-a808-4bbc-b6d6-dc78079aafc9/powershell-to-ping-computers
# $Compuers += New-Object PSObject -Property $Props
# $Computers += New-Object PSObject -Property Get-Computer( $ComputerListMember )
Get-Computer( $ComputerListMember )
"$(Get-Date -Format o) Ending script $($MyInvocation.MyCommand.Name)"
If I try something like this:
Get-Computer( $ComputerListMember ) | Add-Member -InputObject $Computers -MemberType NoteProperty -Name $_
I get the following, even though $_.Name is not null.
Add-Member : Cannot bind argument to parameter 'Name' because it is null.
At <path to my script>Get-Hardware_Memory_OSVersion_CPU_Cores_ver04_sanitized.ps1:111 char:107
+ Get-Computer( $ComputerListMember ) | Add-Member -InputObject $Computers -MemberType NoteProperty -Name <<<< $_
+ CategoryInfo : InvalidData: (:) [Add-Member], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.AddMemberCommand
Or if I try this:
$Computers += New-Object PSObject -Property Get-Computer( $ComputerListMember )
I get this:
New-Object : Cannot bind parameter 'Property'. Cannot convert the "Get-Computer" value of type "System.String" to type "System.Collections.Hashtable".
At <path to my script>Get-Hardware_Memory_OSVersion_CPU_Cores_ver04_sanitized.ps1:114 char:47
+ $Computers += New-Object PSObject -Property <<<< Get-Computer( $ComputerListMember )
+ CategoryInfo : InvalidArgument: (:) [New-Object], ParameterBindingException
+ FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.PowerShell.Commands.NewObjectCommandHi Aenagy,
If you want to combine all the computers' information to a single array, and add the property computername in the output, please also try the script below, which I make a little modification of the function Get-Computer, pleaese make sure the account running
the script has the admin permission of the remote computers, or you need to privide cridentials in get-wmiobject, also note I haven't tested:
$output = @()#to output information of the all the computers
ForEach( $ComputerName in $ComputerList ){#loop all the computers
$Win32_PingStatus = "select * from Win32_PingStatus where address = '$ComputerName'"
$Win32_PingStatus_Result = Get-WmiObject -query $Win32_PingStatus
If ( $Win32_PingStatus_Result.protocoladdress )
"$ComputerName ping succeeded."
$Win32_OperatingSystem = Get-WmiObject Win32_OperatingSystem -computer $ComputerName -ErrorAction SilentlyContinue
If ( $Win32_OperatingSystem -eq $null)
"$ComputerName WMI failed."
Else {
"$ComputerName WMI succeeded."
$Win32_Processor = [object[]]$(Get-WmiObject Win32_Processor -computer $ComputerName)
$Win32_PhysicalMemory = [object[]]$(Get-WmiObject Win32_PhysicalMemory -computer $ComputerName)
$Win32_ComputerSystem = Get-WmiObject Win32_ComputerSystem -computer $ComputerName
$Win32_BIOS = Get-WmiObject Win32_BIOS -computer $ComputerName
$Computer = New-Object -Type PSObject -Property @{
Computername = $ComputerName #add the property computername
Name = $Win32_OperatingSystem.CSName
Win32_BIOS_SerialNumber = [string]$Win32_BIOS.SerialNumber
Win32_ComputerSystem_Manufacturer = [string]$Win32_ComputerSystem.Manufacturer
Win32_ComputerSystem_Model = [string]$Win32_ComputerSystem.Model
#Win32_ComputerSystem_NumberOfLogicalProcessors = [int32]$Win32_ComputerSystem.NumberOfLogicalProcessors
#Win32_ComputerSystem_NumberOfProcessors = [int32]$Win32_ComputerSystem.NumberOfProcessors
Win32_ComputerSystem_TotalPhysicalMemory = [long]$Win32_ComputerSystem.TotalPhysicalMemory
Win32_ComputerSystem_TotalPhysicalMemory_GB = [float]($Win32_ComputerSystem.TotalPhysicalMemory / (1024*1024*1024))
Win32_OperatingSystem_Caption = [string]$Win32_OperatingSystem.Caption
Win32_OperatingSystem_CSName = [string]$Win32_OperatingSystem.CSName
#Win32_OperatingSystem_OSArchitecture = [string]$Win32_OperatingSystem.OSArchitecture
#Win32_OperatingSystem_SerialNumber = [string]$Win32_OperatingSystem.SerialNumber
Win32_OperatingSystem_ServicePackVersion = [string]$Win32_OperatingSystem.ServicePackMajorVersion + "." + [string]$Win32_OperatingSystem.ServicePackMinorVersion
Win32_PhysicalMemory_Capacity = ($Win32_PhysicalMemory | ForEach-Object { $_.Capacity } | Measure-Object -Sum).sum
Win32_PhysicalMemory_Capacity_GB = (($Win32_PhysicalMemory | ForEach-Object { $_.Capacity } | Measure-Object -Sum).sum / (1024*1024*1024))
Win32_Processor_Count = [int]$Win32_Processor.Count
Win32_Processor_NumberOfCores = [string]$Win32_Processor[0].NumberOfCores
Win32_Processor_NumberOfLogicalProcessors = [string]$Win32_Processor[0].NumberOfLogicalProcessors
#Win32_Processor_Description = [string]$Win32_Processor[0].Description
Win32_Processor_Manufacturer = [string]$Win32_Processor[0].Manufacturer
Win32_Processor_Name = [string]$Win32_Processor[0].Name
} ## end new-object
$output+=$Computer #combine all the "$computer" to "$output"
Else {
"$ComputerName ping failed."
$output
If you have any feedback on our support, please click here.
Best Regards,
Anna
TechNet Community Support -
How to create an Object array(two dimensional) from a properties file..
Hi All..
I have a typical problem..
I have a properties file with key/value pairs . Now what I want to do is.. I need to read all the keys and the values corresponding to that keys and then create a two dimensional array.. Like..
Properties props;
Object[][] contents;
My contents should be like
contents = {{key1,value1},{key2,value2},{key3,value3},...};
Can someone tell me how to do this.. asap...
TIA
CKJust because something is difficult for you does not qualify it as an "Advance Language Topic"... And it certainly doesn't allow you to multi-post.
-
Quickie - How to create a ArrayList Array?
Hi,
I hope this has a quick answer. What I'm trying to do is create an Array of ArrayList objects to replace a ragged array I had for strings. Basically the length of each 'row' of the array can be variable and I want to take advantage of ArrayLists features. So I created ArrayList
as below:
ArrayList[] headerInfo = new ArrayList[3];
headerInfo[0] = new ArrayList<String>();
headerInfo[0].add("aString");If I iterate through each arrayList using a for each loop, will the order be preserved? Or is there a better way to achieve a 'variable length' ragged array?
Thanks.Also, if you end up having to keep a large number of empty spaces in your lists/arrays (so that the "x" and "y" line up with the object you are trying to represent), you can try a Map to reduce the overall memory needed (because you won't need to keep a space for "x,y" pairs that don't have a corresponding value). Your key can be a String generated as:
String key = x + "," + y;Then your map could be:
Map<String, String> myStrings = new HashMap<String, String>();The getString method would be:
return myStrings.get(x+","+y);or the key could be a simple class:
[For a HashMap, you need hashCode--maybe add the hashCode provided by Integer class for x to the hashCode provided by Integer class for y--I don't know a lot about implementing hashCodes, but that sounds possibly reasonable.]
class Pair {
private final int x;
private final int y;
Pair(int x, int y) {
// set values
// define "equals" (x == other.x, y == other.y)
// define "hashCode"
// define "toString" for debugging purposes
Map<Pair, String> myStrings = new HashMap<Pair, String>();The getString method would be:
return myStrings.get(new Pair(x, y));For mathematics, if the 2-d array was a numerical matrix, this HashMap would implement what is called a "sparse matrix".
The map doesn't change your other classes. The other classes would still call:
String myString = someClass.getString(2, 4); -
How to create table level index.
Hi All,
I have written a program for c-form tracking , where i used purchasing tables like EKBE , EKKO and accounting tables , BSEG and BKPF.BSEG isa cluster table . it is taking execution time more at database level , so if i create a index on tables is it useful to increase the performance if so please inform me how do i create index .
please it is very urgent .Hi Shilpa,
Creating the index will solve the purpose if your select statements are going to use that filed for which you are going to create the index.
Instead of using the cluster table like Bseg try to find the alternative tables for your requirement, i think that will definitely improve the performance.
Steps for creating the index are as follows
Yo have to use trx SE11 into Dev system.
Enter the database table name and press
Display -> Indexes -> Create
Enter index name.
Choose Maintain logon language.
Enter short description and index fields.
Then press save and create the request to transport the index to QA and
PRD.
Then press activate.
Regards,
Viveks -
How to create partition after creating the table
I have created a table. Now I want to create range partitions of that table.Please tell me how to do this?
Yes, that is true.
It is also possible to create a new partitioned table with exactly the same structure, ensure it has a partition, and exchange (trade) the partition for that existing table. That is outlined in the DBA manual at http://tahiti.oracle.com under chapter 17 "Managing Partitioned Tables and Indexes" close to the keywords 'exchange' or 'convert'
Maybe you are looking for
-
Save As PDF causing browsers crash
I've used Safari, Firefox (1.0.7 and 1.5), Internet Explorer, and Mozilla and every time I select "save as PDF" a webpage in the Print feature, it resulted in a browser crash. Every time. Have Apple addressed this persistently annoying bug already? T
-
How to reset the network IP address from terminal/command line in Mac OSX?
Do anyone knows how to set the network IP address from terminal/command line in Mac OS X?
-
Can i "letterboxing" in an already edited sequence?
i've taken over an editing project from someone else the material is 16:9 but the sequences have been set up so that they are letterboxed in a 4:3 viewer there's a lot of cutting done already so it's too late to start over is there anyway to change t
-
Has anyone had problems using their ipod photo with a Toshiba laptop? I'm having some serious issues...so serious that an apple specialist suggested that I should get a different computer. Any chance someone else has had a problem and has found a sol
-
Apple TV can see iTunes library but can't load content (intermittently)
I have intermittently been experiencing an issue where the Apple TV shows my iTunes library, but when I select it, no artwork appears for any of the categories (Music, Movies, etc.) If I select a category, it says it is loading, but never does. It s