9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Thank you in advanced,
I had a Buffalo DUO crap out on me that was setup as RAID 0. I dont belive it was the drives but rather the controller in the DUO unit. I bought another external HDD enclosure and was able to fireup the two older DUO drives in it and I think I resembled the RAID... (12 Replies)
Discussion started by: metallica1973
12 Replies
2. Shell Programming and Scripting
trying a little bit of array scanning for open ports.
my code looks like below:
/bin/netstat -lntp|\
awk 'BEGIN { split("25 80 2020 6033 6010",q); }
$1 == "tcp" { split($4,a,":"); p]++; }
$1 == "tcp6" { split($4,a,":");p]++ }
END {
for ( i in q ) {
if (! q in p ) {... (8 Replies)
Discussion started by: busyboy
8 Replies
3. UNIX for Beginners Questions & Answers
username=cogiz
#!/bin/bash
shuffle() #@ USAGE: shuffle
{ #@ TODO: add options for multiple or partial decks
Deck=$(
printf "%s\n" {2,3,4,5,6,7,8,9,T,J,Q,K,A}{H,S,D,C} |
awk '## Seed the random number generator
BEGIN { srand() }
## Put a random number in front... (4 Replies)
Discussion started by: cogiz
4 Replies
4. UNIX for Beginners Questions & Answers
Example of problem:
computerhand=(6H 2C JC QS 9D 3H 8H 4D)
topcard=6D
How do you search ${computerhand} for all elements containing either a "6" or a "D" then
save the output to a file?
This is a part of a Terminal game of Crazy 8's that I'm attempting to write in Bash.
Any... (2 Replies)
Discussion started by: cogiz
2 Replies
5. Red Hat
Dear all ,
i ve configured raid 0 in redhat machine(VM ware), by following steps:
#mdadm -C /dev/md0 -l 0 -n 2 /dev/sdb1 /dev/sdc1
#mkfs.ext3 /dev/md0
#mdadm --detail --scan --config=mdadm.conf >/etc/mdadm.conf
then
mounted the/dev/md0 device and also added a entry in fstab.
how... (2 Replies)
Discussion started by: sriniv666
2 Replies
6. Emergency UNIX and Linux Support
One of my very old drive farm servers had an OS fault and can't boot now but I'd like to restore some files from it. I tried booting Ubuntu from a CD, but it couldn't see the drives -- possibly because they're RAIDed together. Is there a good way to get at my files?
The data in question is a... (2 Replies)
Discussion started by: CRGreathouse
2 Replies
7. Red Hat
Hi All,
I run Linux server that hosts PHP/MySQL web-projects.
The problem is that it becomes irresponsive periodically, avg. load rapidly goes up to 100.0 and more and I have to do cold reboot.
Usually this sudden increase happens in 1-2 mins and it's very difficult to catch this moment in... (0 Replies)
Discussion started by: livedatesearch
0 Replies
8. UNIX for Advanced & Expert Users
Hi guys,
i must install an old old old ml370 server...
I must create a RAID 5 with my 4 SCSI disk.
I need a SmartStart disk for create it or a Floppy Disk called "Array configuration Tool". I don't find it on the hp website...:mad::mad::mad:
Anyone have it??
Thanks in advance.
Zio (0 Replies)
Discussion started by: Zio Bill
0 Replies
9. AIX
I created a RAID 5 array and when I list out the attributes of the "hdisk" it reports back raid_level = 5 but the RAID level of the array = false. What does this actually indicate about my array? I've never paid much attention to this until now since I have a disk reporting failure I want to make... (0 Replies)
Discussion started by: scottsl
0 Replies
vxr5check(1M) vxr5check(1M)
NAME
vxr5check - verify RAID-5 volume parity
SYNOPSIS
/etc/vx/bin/vxr5check [-i | -v] [-g diskgroup] volume
DESCRIPTION
The vxr5check utility compares the parity of each stripe of a RAID-5 volume specified by volume. vxr5check reads the data for each stripe,
generates the parity for this stripe, and compares this parity with the existing parity.
vxr5check can be run against the entire RAID-5 volume, or incrementally on RAID-5 stripe boundaries, by specifying the -i option.
OPTIONS
-g diskgroup
Specifies the Veritas Volume Manager (VxVM) disk group name for the RAID-5 volume name for verification. If this option is not
specified, the default disk group is determined using the rules given in the vxdg(1M) manual page.
-i Verifies the RAID-5 volume incrementally per stripes. If a parity mismatch is found, that stripe location is displayed.
-v Verbose output for the incremental vxr5check verification. The verbose option outputs each stripe number that is being verified.
OUTPUT FORMAT
In verbose mode and incremental mode, summary reports for each stripe of the RAID-5 volume are printed in output records. If an error is
returned for a stripe, then an error message and stripe number are displayed. In non-verbose mode, if an error is returned, an error mes-
sage is displayed.
If a parity mismatch error is determined on a stripe, vxr5check exits on that stripe and does not continue for the remaining stripes in the
RAID-5 volume.
FILES
/usr/lib/vxvm/bin/vxr5vrfy The utility that vxr5check calls to perform RAID-5 parity verification operations for the specified RAID-5
volume.
EXIT CODES
The vxr5check utility exits with a non-zero status if the attempted operation fails. A non-zero exit code is not a complete indicator of
the problems encountered, but rather denotes the first condition that prevented further execution of the utility.
See vxintro(1M) for a list of standard exit codes.
NOTES
Do not run vxr5check on a volume that is in degraded mode.
SEE ALSO
vxevac(1M), vxintro(1M), vxmend(1M), vxvol(1M)
VxVM 5.0.31.1 24 Mar 2008 vxr5check(1M)