Sponsored Content
Full Discussion: RAID Unix command
Top Forums UNIX for Dummies Questions & Answers RAID Unix command Post 20898 by Optimus_P on Tuesday 7th of May 2002 10:19:47 AM
Old 05-07-2002
if you want to find out on aix this is what i use to tell me LOTS of stuff but you can figure out if your mirrored via the manual method.

Code:
echo ------ DISKINFO SCRIPT by: dooley.michael@con-way.com ------
echo HOST:      `hostname`
echo DATE:      `date +%Y-%m-%d`
echo

PV=`lspv|awk '{ print $1 }'`
VG=`lsvg`
# List of Physical Drives
echo ------ PHYSICAL DRIVES ------
lspv
echo

# Pageing Space
echo ------ PAGEING SPACE ------
lsps -a
echo

for i in $VG;do
lv_disk=`lsvg -l $i|awk '{ print $1}'|grep -v $i|grep -v LV`

        echo
        echo ------ VOLUME GROUP INFO \($i\) ------
        lsvg $i
        echo
        echo ------ LOGICAL VOLUME NAME \($i\) ------
        lsvg -l $i
        echo
#       echo ------ HDISKS USED FOR \($i/$g\) ------
#       lslv -l $g
#       echo
#       echo ------ FILESYSTEM LAYOUT ON DISKS \($i/$g\) ------
#       lslv -m $g
#       echo
done



for i in $PV;do
        echo
        echo ------ DISK STATS ON \($i\) ------
        lspv $i
        echo
        echo ------ FILESYSTEMS ON \($i\) ------

# Filesystems per disk

        lspv -l $i
        echo
        echo ------ SPACE AVALIABLE \($i\) ------

# Free space per disk

#        lslv -p $i
        lspv -p $i
        echo
done

echo ------ END OF FILE ------

 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

RAID command

Hi there, could someone please tell me, what the command is called, that does the calculations which help the system to fill gaps, resulting out of loss of discs, in RAID5?! Thank you in advance, Felida (something like ...all?!) (2 Replies)
Discussion started by: felida
2 Replies

2. UNIX for Advanced & Expert Users

Unix Sco 5.0.7 Raid Problems

Hello there guys , I have this problem , i have this hp smart array 641 raid card and i'm trying to install sco unix 5.0.7 and is says no root disk found right before the instalation is about to start. I know that you have to load the driver befor the install bud i really cannot find the... (0 Replies)
Discussion started by: josramon
0 Replies

3. HP-UX

RAID 0 on Unix

I was wanting to know if anyone knew how to setup RAID 0 on an old HP Unix server. It's for where I work and my boss has two hard drives and wants the second to take over if the first one fails hence RAID 0. If anyone could help me it would be greatly appreciated. (5 Replies)
Discussion started by: zmachine04
5 Replies

4. UNIX for Dummies Questions & Answers

How to view Drive/RAID config in UNIX...

How do you view Drive/RAID configuration in UNIX? We are running an ML370 with 6 drives in it... Version: Sco 5.2.0 Sco Openserver Release 5 (2 Replies)
Discussion started by: bpoulson
2 Replies

5. SCO

raid 1 configuration in sco open unix

Dear Team , how i can configure raid 1 (mirroring) using ide hdd in sco open unix 5 i have two 80gb identical hdd (same make/model) thanx (0 Replies)
Discussion started by: sudhir69
0 Replies

6. AIX

SCSI PCI - X RAID Controller card RAID 5 AIX Disks disappeared

Hello, I have a scsi pci x raid controller card on which I had created a disk array of 3 disks when I type lspv ; I used to see 3 physical disks ( two local disks and one raid 5 disk ) suddenly the raid 5 disk array disappeared ; so the hardware engineer thought the problem was with SCSI... (0 Replies)
Discussion started by: filosophizer
0 Replies

7. HP-UX

Hardware RAID in HP Unix rp3440

Hi Gurus, Can anyone tell me the Hardware RAID configuration in HP Unix rp3440 model server containing HP UX B.11.11 OS version. Thanks in Advance. BR, Prasanth (3 Replies)
Discussion started by: prasanth438
3 Replies

8. Red Hat

RAID Configuration for IBM Serveraid-7k SCSI RAID Controller

Hello, I want to delete a RAID configuration an old server has. Since i haven't the chance to work with the specific raid controller in the past can you please help me how to perform the configuraiton? I downloaded IBM ServeRAID Support CD but i wasn't able to configure the video card so i... (0 Replies)
Discussion started by: @dagio
0 Replies

9. SCO

Backup/RAID of HD on Old UNIX Server

I need to be able to make a backup image of an OLD UNIX server HD where I can restore the complete HD from scratch if (when) the HD fails. This server runs the accounting system for a company. I can and have backed the data up via local FTP, but O/S and Apps are so old that I am not sure I could... (21 Replies)
Discussion started by: chrishouse
21 Replies
SCRIPT-EMAIL(8) 					  System Administration Commands					   SCRIPT-EMAIL(8)

NAME
script-email - Amanda script to send email notifications DESCRIPTION
script-email is an Amanda script implementing the Script API. It should not be run by users directly. It sends a notification email to the addresses specified in the MAILTO property. PROPERTIES
This section lists the properties that control script-email's functionality. See amanda-scripts(7) for information on the Script API, script configuration. MAILTO List of email addresses that will receive an email on command execution. It is a multi-valued property: property "MAILTO" "amanda@domain.com" "sysadmin@domain.com" "amandauser@domain.com" EXAMPLE
In this example, script-email is scheduled to be run before the DLE, on the server. The unqualified email address amanda will be passed to the email system unchanged. The script is then attached to a dumptype, which can then be specified for any DLEs which require notification. define script-tool pre-email { comment "email me before this DLE is backed up" plugin "script-email" execute-on pre-dle-backup execute-where server property "mailto" "amanda" } define dumptype user-tar-email { user-tar script "pre-email" } SEE ALSO
amanda(8), amanda.conf(5), amanda-client.conf(5), amanda-scripts(7) The Amanda Wiki: : http://wiki.zmanda.com/ AUTHORS
Jean-Louis Martineau <martineau@zmanda.com> Zmanda, Inc. (http://www.zmanda.com) Dustin J. Mitchell <dustin@zmanda.com> Zmanda, Inc. (http://www.zmanda.com) Amanda 3.3.1 02/21/2012 SCRIPT-EMAIL(8)
All times are GMT -4. The time now is 12:12 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy