10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi there,
I've setup a raid0 array of 3 identical disks using :
mdadm --create --verbose /dev/md0 --level=stripe --raid-devices=3 /dev/sdb1 /dev/sdc1 /dev/sdd1I'm using dstat to monitor the disk activity :
dstat --epoch -D sdb,sdc,sdd --disk-util 30The results show that the stress is not... (8 Replies)
Discussion started by: chebarbudo
8 Replies
2. Solaris
Hello all, this is my first time posting here. Where I work we have multiple servers (x3-2's) running Solaris 10u11 with 2 drives configured as RAID0, 300GB per. There are 4-6 open slots for drives to clone to.
Past attempts to clone/backup these drives has failed. One of the machines is... (1 Reply)
Discussion started by: eprlsguy
1 Replies
3. Hardware
Hey all,
I've got an old HP9000 L1000 server with HP-UX installed. The drives that the OS is running on are in RAID0. I am concerned for the reliability of the server. The four hard drives in the front of the server are LVD 18.2 drives. I know with RAID0, if one drive fails, they all fail. ... (2 Replies)
Discussion started by: mroselli
2 Replies
4. UNIX for Dummies Questions & Answers
i'm trying to decide if to move operations from one of these hosts to the other. but i cant decide which one of them is the most powerful.
each host has 8 cpus.
HOSTA
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 44
model name : Intel(R) Xeon(R) CPU ... (6 Replies)
Discussion started by: SkySmart
6 Replies
5. UNIX for Advanced & Expert Users
Hi,
I have this mirrored system with soft-partitions.
I have a difficulty determining the lucreate cmd in this env.
#metastat -p
d0 -m d10 d20 1
d10 1 1 c1t2d0s0
d20 1 1 c1t3d0s0
d1 -m d11 d21 1
d11 1 1 c1t2d0s5
d21 1 1 c1t3d0s5
d100 -p d1 -o 58720384 -b 8388608
d200 -p d1 -o... (1 Reply)
Discussion started by: chaandana
1 Replies
6. Linux
Hi,
I have the Lacie Big Disk, which is a external hard drive enclosure in a hardware RAID0 array of 2x250GB disks. The RAID controller seems to have died, leaving me with 2 working hard drives but no way to get the data. I tried hooking the drives up to a windows machine and using Raid... (4 Replies)
Discussion started by: dangral
4 Replies
7. UNIX for Dummies Questions & Answers
i)wc -c/etc/passwd|awk'{print $1}'
ii)ls -al/etc/passwd|awk'{print $5}' (4 Replies)
Discussion started by: karthi_g
4 Replies
8. Solaris
friends,
Suppose I am typing metastat command and it is showing:
d100: Concat/Stripe
Size: 369495 blocks (180 MB)
Stripe 0: (interlace: 32 blocks)
Device Start Block Dbase Reloc
c1d0s0 16065 Yes Yes
c1d0s1 0 No Yes... (4 Replies)
Discussion started by: saagar
4 Replies
9. Shell Programming and Scripting
Hi ,
I need to copy every day about 35GB of files from one file system to another.
Im using the cp command and its toke me about 25 min.
I also tried to use dd command but its toke much more.
Is there better option ?
Regards. (6 Replies)
Discussion started by: yoavbe
6 Replies
10. IP Networking
For some reason 8.1 Mandrake Linux seems much slower than Windows 2000 with my cable modem. DSL reports test says they conferable speed with Windows2 though.
This is consistant slow with both of my boxes, at the same time. Linux used to be faster, but not with Mandrake. Any way to fix this? (17 Replies)
Discussion started by: lancest
17 Replies
raidtab(5) File Formats Manual raidtab(5)
NAME
raidtab - configuration file for md (RAID) devices
DESCRIPTION
/etc/raidtab is the default configuration file for the raid tools (raidstart and company). It defines how RAID devices are configured on a
system.
FORMAT
/etc/raidtab has multiple sections, one for each md device which is being configured. Each section begins with the raiddev keyword. The
order of items in the file is important. Later raiddev entries can use earlier ones (which allows RAID-10, for example), and the parsing
code isn't overly bright, so be sure to follow the ordering in this man page for best results.
Here's a sample md configuration file:
#
# sample raiddev configuration file
# 'old' RAID0 array created with mdtools.
#
raiddev /dev/md0
raid-level 0
nr-raid-disks 2
persistent-superblock 0
chunk-size 8
device /dev/hda1
raid-disk 0
device /dev/hdb1
raid-disk 1
raiddev /dev/md1
raid-level 5
nr-raid-disks 3
nr-spare-disks 1
persistent-superblock 1
parity-algorithm left-symmetric
device /dev/sda1
raid-disk 0
device /dev/sdb1
raid-disk 1
device /dev/sdc1
raid-disk 2
device /dev/sdd1
spare-disk 0
Here is more information on the directives which are in raid configuration files; the options are listen in this file in the same order
they should appear in the actual configuration file.
raiddev device
This introduces the configuration section for the stated device.
nr-raid-disks count
Number of raid devices in the array; there should be count raid-disk entries later in the file. (current maximum limit for RAID
devices -including spares- is 12 disks. This limit is already extended to 256 disks in experimental patches.)
nr-spare-disks count
Number of spare devices in the array; there should be count spare-disk entries later in the file. Spare disks may only be used with
RAID4 and RAID5, and allow the kernel to automatically build new RAID disks as needed. It is also possible to add/remove spares run-
time via raidhotadd/raidhotremove, care has to be taken that the /etc/raidtab configuration exactly follows the actual configuration
of the array. (raidhotadd/raidhotremove does not change the configuration file)
persistent-superblock 0/1
newly created RAID arrays should use a persistent superblock. A persistent superblock is a small disk area allocated at the end of
each RAID device, this helps the kernel to safely detect RAID devices even if disks have been moved between SCSI controllers. It
can be used for RAID0/LINEAR arrays too, to protect against accidental disk mixups. (the kernel will either correctly reorder disks,
or will refuse to start up an array if something has happened to any member disk. Of course for the 'fail-safe' RAID variants
(RAID1/RAID5) spares are activated if any disk fails.)
Every member disk/partition/device has a superblock, which carries all information necessary to start up the whole array. (for
autodetection to work all the 'member' RAID partitions should be marked type 0xfd via fdisk) The superblock is not visible in the
final RAID array and cannot be destroyed accidentally through usage of the md device files, all RAID data content is available for
filesystem use.
parity-algorithm which
The parity-algorithm to use with RAID5. It must be one of left-asymmetric, right-asymmetric, left-symmetric, or right-symmetric.
left-symmetric is the one that offers maximum performance on typical disks with rotating platters.
chunk-size size
Sets the stripe size to size kilobytes. Has to be a power of 2 and has a compilation-time maximum of 4M. (MAX_CHUNK_SIZE in the ker-
nel driver) typical values are anything from 4k to 128k, the best value should be determined by experimenting on a given array, alot
depends on the SCSI and disk configuration.
device devpath
Adds the device devpath to the list of devices which comprise the raid system. Note that this command must be followed by one of
raid-disk, spare-disk, or parity-disk. Also note that it's possible to recursively define RAID arrays, ie. to set up a RAID5 array
of RAID5 arrays. (thus achieving two-disk failure protection, at the price of more disk space spent on RAID5 checksum blocks)
raid-disk index
The most recently defined device is inserted at position index in the raid array.
spare-disk index
The most recently defined device is inserted at position index in the spare disk array.
parity-disk index
The most recently defined device is moved to the end of the raid array, which forces it to be used for parity.
failed-disk index
The most recently defined device is inserted at position index in the raid array as a failed device. This allows you to create raid
1/4/5 devices in degraded mode - useful for installation. Don't use the smallest device in an array for this, put this after the
raid-disk definitions!
NOTES
The raidtools are derived from the md-tools and raidtools packages, which were originally written by Marc Zyngier, Miguel de Icaza, Gadi
Oxman, Bradley Ward Allen, and Ingo Molnar.
SEE ALSO
raidstart(8), raid0run(8), mkraid(8), raidstop(8)
raidtab(5)