06-06-2011
Larger files, on average, should have a larger chunk size, so that you can satisfy a small request with one drive, allowing alternate requests to be satisfied by other drives. I tested with things like fio, and bonnie++ to get results with the devices I was using and eventually settled on a 256K chunk size for my video collection, which is averaging 1GB per home movie.
For my /boot partition, I went with 8K, because the files are tiny. I tried 64K to 2MB chunk sizes, in various RAID flavors before settling on RAID 1E.
Also, your partition layout does not have to matter much when you are using RAID, albeit with a few exceptions. Your /boot volume cannot reside on a RAID 5 or 6. I believe only mirroring is currently supported.
Also, when I said a "Vanilla Kernel" I was not referring to a particular distribution called Vanilla, but rather, Vanilla has a connotation of being stock, plain, devoid of added things. You are using a kernel customized for xen, which you MAY want to do, but if you are not using xen currently, with only the possibility that you may wish to add it, I would boot a different kernel until such time that you really require xen (though I like KVM or VirtualBox now).
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Keeping in mind that I'm relatively comfortable with programming in general but very new to unix and korn/bourne shell scripts..
I'm using awk on a CSV file, and then performing calculations and operations on specific fields within specific records. The CSV file I'm working with has about 600... (2 Replies)
Discussion started by: yongho
2 Replies
2. UNIX for Dummies Questions & Answers
I was told that it's a Bad Idea (especially for root ) to Add To the Variable $PATH in unix the ":." (dot),
In order to execute programs in my current directory without typing ./program
For example: PATH=$PATH:$HOME/bin:.
Does someone know why is it a Bad Idea? (2 Replies)
Discussion started by: amitbern
2 Replies
3. Shell Programming and Scripting
Reading this file. I want to read all 4 fields.
If 2 is populated with a p, I want to set $TYPEP to "Printers",
if not should be empty.
If 3 is populated with an r, I want to set $TYPER to "REQ Printers"
if not should be empty.
If 4 is populated with letter o, I want to set $TYPEO to... (12 Replies)
Discussion started by: Skyybugg
12 Replies
4. Shell Programming and Scripting
hi
how floppy disks, CDs and flash drives (pen drives) are accessed in UNIX?
thanks (0 Replies)
Discussion started by: nokia1100
0 Replies
5. OS X (Apple)
Well i was tidying up some files in a very important directory on our development server and somehow some plank had put a recursive sybmolic link in it. Which I the even bigger plank tried to delete from my FTP client. My FTP client then thought it would be OK to delete not only the sybmolic link... (0 Replies)
Discussion started by: timgolding
0 Replies
6. Programming
if i declare both but don't input any variables what values will the int array and file pointer array have on default, and if i want to reset any of the elements of both arrays to default, should i just set it to 0 or NULL or what? (1 Reply)
Discussion started by: omega666
1 Replies
7. What is on Your Mind?
What do you think of the idea of selling flash drives already prepared to boot Puppy Linux on PCs? (I still need to see if I can boot on Macs using online instructions I've found.) I know it's not too hard to prep your own flash drive, even if you have to buy one first, but just think about why... (8 Replies)
Discussion started by: MrMormon
8 Replies
8. SuSE
Hi all,
I am currently using opensuse 12.1,
We have Raid 5 array of 8 disks. A friend of mine accidently removed a drive & place it back and also added a new disk to it(making it 9 disks). now the output of mdadm --detail is as shown below
si64:/dev # mdadm --detail /dev/md3
/dev/md3:... (1 Reply)
Discussion started by: patilrajashekar
1 Replies
9. Shell Programming and Scripting
file1
chr pos1 pos2 pos3 pos4
1)chr1 1000 2000 3000 4000
2)chr1 1380 1480 6800 7800
3)chr1 6700 7700 1200 2200
4)chr2 8500 9500 5670 6670
file2
chr pos1 pos2 pos3 pos4
1)chr2 8500 9500 5000 6000
2)chr1 6700 7700 1200 2200
3)chr1 1380 1480 6700 7700
4)chr1 1000 2000 4900 5900
I... (2 Replies)
Discussion started by: data_miner
2 Replies
LEARN ABOUT SUNOS
metaparam
metaparam(1M) System Administration Commands metaparam(1M)
NAME
metaparam - modify parameters of metadevices
SYNOPSIS
/usr/sbin/metaparam -h
/usr/sbin/metaparam [-s setname] [ concat/stripe or RAID5 options] concat/stripe RAID
/usr/sbin/metaparam [-s setname] [ mirror options] mirror
DESCRIPTION
The metaparam command is used to display or modify current parameters of metadevices.
If just the metadevice is specified as an argument to the metaparam command, the current settings are displayed.
The metaparam command enables most metadevice (volume) parameters to be changed. Only the interlace value cannot be changed by metaparam,
because it is established when the metadevice is created and cannot be changed thereafter.
OPTIONS
Root privileges are required for all of the options.
The following options are supported:
-h Displays usage message.
-s setname Specify the name of the diskset on which metaparam works. Using the -s option causes the command to perform its administra-
tive function within the specified diskset. Without this option, the command performs its function on local metadevices.
CONCAT
/STRIPE OR RAID5 OPTIONS
-h hot_spare_pool | none Specifies the hot spare pool to be used by a metadevice. If none is specified, the metadevice is disassoci-
ated with the hot spare pool assigned to it. If the metadevice is currently using a hot spare, then meta-
param cannot replace the hot spare pool.
concat/stripe | RAID Specifies the metadevice name of the concatenation, stripe, or concatenation of stripes, or of the RAID5
metadevice.
MIRROR OPTIONS
-r roundrobin | geometric | first Modifies the read option for a mirror. The -r option must be followed by either roundrobin, geomet-
ric, or first. roundrobin, which is the default action under the metainit command, specifies read-
ing the disks in a round-robin (load balancing) method. geometric allows for faster performance on
sequential reads. first specifies reading only from the first submirror.
-w parallel | serial Modifies the write option for a mirror. The -w option must be followed by either parallel or
serial. parallel, the default action under the metainit command, specifies that all writes are par-
allel. serial specifies that all writes are serial.
-p pass_number A number from 0-to-9 that specifies the order in which a mirror is resynced during reboot. The
default is 1. Smaller pass numbers are resynced first. Equal pass numbers are run concurrently. If
0 is used, the mirror resync is skipped. 0 should only be used for mirrors mounted as read-only, or
as swap.
mirror Specifies the metadevice name of the mirror.
EXAMPLES
Example 1: Associating Hot Spare Pool with RAID5 Metadevice
This example associates a hot spare pool, hsp005, with a RAID5 metadevice, d80.
# metaparam -h hsp005 d80
Example 2: Changing Read Option to Geometric
This example changes the read option on a mirror d50 from the default of roundrobin to geometric.
# metaparam -r geometric d50
EXIT STATUS
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWmdu |
+-----------------------------+-----------------------------+
SEE ALSO
mdmonitord(1M), metaclear(1M), metadb(1M), metadetach(1M), metahs(1M), metainit(1M), metaoffline(1M), metaonline(1M), metarecover(1M),
metarename(1M), metareplace(1M), metaroot(1M), metaset(1M), metassist(1M), metastat(1M), metasync(1M), metattach(1M), md.tab(4), md.cf(4),
mddb.cf(4), md.tab(4), attributes(5), md(7D)
Solaris Volume Manager Administration Guide
SunOS 5.10 2 Jun 1004 metaparam(1M)