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
AAC(4)							   BSD Kernel Interfaces Manual 						    AAC(4)

NAME
aac -- Adaptec AdvancedRAID Controller driver SYNOPSIS
aac* at pci? dev ? function ? ld* at aac? unit ? DESCRIPTION
The aac driver provides support for the Adaptec AAC family of SCSI and SATA RAID controllers. These controllers support RAID 0, 1, 5, 10, and volume sets. They have four channels in the add-in version or 1-2 channels in the motherboard integrated version, and are most often found rebadged by Dell, Hewlett-Packard or IBM. Supported controllers include: o Adaptec AAC-364 o Adaptec SCSI RAID 2120S o Adaptec SCSI RAID 2200S o Adaptec SATA RAID 2410SA o Adaptec SATA RAID 3405 o Adaptec SCSI RAID 5400S o Dell PERC 2/Si o Dell PERC 2/QC o Dell PERC 3/Di o Dell PERC 3/Si o Dell PERC 320/DC o Dell CERC SATA RAID 1.5/6ch o HP NetRAID 4M o HP ML110 G2 (Adaptec SATA RAID 2610SA) o IBM ServeRAID 8k Access to RAID containers is available via the ld device driver. Individual drives cannot be accessed unless they are part of a container or volume set, and non-fixed disks cannot be accessed. Containers can be configured by using the on-board BIOS utility of the card. DIAGNOSTICS
The adapter can send status and alert messages asynchronously to the driver. These messages are printed on the system console. SEE ALSO
intro(4), ld(4) HISTORY
The aac driver first appeared in NetBSD 1.6, and was based on the FreeBSD driver of the same name. BUGS
This driver is not compatible with controllers that have version 1.x firmware. The firmware version is the same as the kernel version printed in the BIOS POST and driver attach messages. BSD
February 19, 2011 BSD
All times are GMT -4. The time now is 06:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy