I have a system that has a disk array with 10 or so disks mirrored
with veritas.
Now in /dev/vx/rdsk/datadg I have the names as such:-
disk1-a-1 disk1-b-2 disk2-a-3 disk2-b-4 disk3-a-5 disk4-a-5 disk5-a-5
disk1-a-2 disk1-b-3 disk2-a-4 disk2-b-5 disk3-b-1 disk4-b-1 disk5-b-1
disk1-a-3 disk1-b-4 disk2-a-5 disk2-b-6 disk3-b-2 disk4-b-2 disk5-b-2
disk1-a-4 disk1-b-5 disk2-a-6 disk2-b-7 disk3-b-3 disk4-b-3 disk5-b-3
disk1-a-5 disk1-b-6 disk2-a-7 disk2-b-8 disk3-b-4 disk4-b-4 disk5-b-4
disk1-a-6 disk1-b-7 disk2-a-8 disk2-b-9 disk3-b-5 disk4-b-5 disk5-b-5
disk1-a-7 disk1-b-8 disk2-a-9 disk3-a-1 disk4-a-1 disk5-a-1
disk1-a-8 disk1-b-9 disk2-b-1 disk3-a-2 disk4-a-2 disk5-a-2
disk1-a-9 disk2-a-1 disk2-b-2 disk3-a-3 disk4-a-3 disk5-a-3
disk1-b-1 disk2-a-2 disk2-b-3 disk3-a-4 disk4-a-4 disk5-a-4
Now in sarcheck it tells me that disk device names are
sd0,sd1,sd48,sd47 etc - how do I find which disk it relates to
Here is output of format:
|
|
0
|
|
|
|
Reply
|
Geezer
|
8/14/2003 12:52:45 PM |
|
Here is the output of format:
AVAILABLE DISK SELECTIONS:
0. c0t0d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@1f,4000/scsi@3/sd@0,0
1. c0t1d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@1f,4000/scsi@3/sd@1,0
2. c1t8d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@1f,4000/scsi@4/sd@8,0
3. c1t9d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@1f,4000/scsi@4/sd@9,0
4. c1t10d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
/pci@1f,4000/scsi@4/sd@a,0
5. c1t11d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
/pci@1f,4000/scsi@4/sd@b,0
6. c1t12d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
/pci@1f,4000/scsi@4/sd@c,0
7. c2t0d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@1f,4000/scsi@4,1/sd@0,0
8. c2t1d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@1f,4000/scsi@4,1/sd@1,0
9. c2t2d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
/pci@1f,4000/scsi@4,1/sd@2,0
10. c2t3d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
/pci@1f,4000/scsi@4,1/sd@3,0
11. c2t4d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
/pci@1f,4000/scsi@4,1/sd@4,0
|
|
0
|
|
|
|
Reply
|
Geezer
|
8/14/2003 12:53:16 PM
|
|
Geezer From The Freezer <Geezer@freezer.com> wrote:
> I have a system that has a disk array with 10 or so disks mirrored
> with veritas.
> Now in /dev/vx/rdsk/datadg I have the names as such:-
> disk1-a-1 disk1-b-2 disk2-a-3 disk2-b-4 disk3-a-5 disk4-a-5 disk5-a-5
> disk1-a-2 disk1-b-3 disk2-a-4 disk2-b-5 disk3-b-1 disk4-b-1 disk5-b-1
> disk1-a-3 disk1-b-4 disk2-a-5 disk2-b-6 disk3-b-2 disk4-b-2 disk5-b-2
> disk1-a-4 disk1-b-5 disk2-a-6 disk2-b-7 disk3-b-3 disk4-b-3 disk5-b-3
> disk1-a-5 disk1-b-6 disk2-a-7 disk2-b-8 disk3-b-4 disk4-b-4 disk5-b-4
> disk1-a-6 disk1-b-7 disk2-a-8 disk2-b-9 disk3-b-5 disk4-b-5 disk5-b-5
> disk1-a-7 disk1-b-8 disk2-a-9 disk3-a-1 disk4-a-1 disk5-a-1
> disk1-a-8 disk1-b-9 disk2-b-1 disk3-a-2 disk4-a-2 disk5-a-2
> disk1-a-9 disk2-a-1 disk2-b-2 disk3-a-3 disk4-a-3 disk5-a-3
> disk1-b-1 disk2-a-2 disk2-b-3 disk3-a-4 disk4-a-4 disk5-a-4
> Now in sarcheck it tells me that disk device names are
> sd0,sd1,sd48,sd47 etc - how do I find which disk it relates to
I think you need to use vxprint command to see disk associations.
--
Akop Pogosian
This space has been accidentally left blank.
|
|
0
|
|
|
|
Reply
|
Akop
|
8/14/2003 11:16:00 PM
|
|
This is a multi-part message in MIME format.
--------------452A7EA304471DD4A07B0960
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Geezer From The Freezer wrote:
>
> I have a system that has a disk array with 10 or so disks mirrored
> with veritas.
>
> Now in /dev/vx/rdsk/datadg I have the names as such:-
>
> disk1-a-1 disk1-b-2 disk2-a-3 disk2-b-4 disk3-a-5 disk4-a-5 disk5-a-5
> disk1-a-2 disk1-b-3 disk2-a-4 disk2-b-5 disk3-b-1 disk4-b-1 disk5-b-1
> disk1-a-3 disk1-b-4 disk2-a-5 disk2-b-6 disk3-b-2 disk4-b-2 disk5-b-2
> disk1-a-4 disk1-b-5 disk2-a-6 disk2-b-7 disk3-b-3 disk4-b-3 disk5-b-3
> disk1-a-5 disk1-b-6 disk2-a-7 disk2-b-8 disk3-b-4 disk4-b-4 disk5-b-4
> disk1-a-6 disk1-b-7 disk2-a-8 disk2-b-9 disk3-b-5 disk4-b-5 disk5-b-5
> disk1-a-7 disk1-b-8 disk2-a-9 disk3-a-1 disk4-a-1 disk5-a-1
> disk1-a-8 disk1-b-9 disk2-b-1 disk3-a-2 disk4-a-2 disk5-a-2
> disk1-a-9 disk2-a-1 disk2-b-2 disk3-a-3 disk4-a-3 disk5-a-3
> disk1-b-1 disk2-a-2 disk2-b-3 disk3-a-4 disk4-a-4 disk5-a-4
>
> Now in sarcheck it tells me that disk device names are
> sd0,sd1,sd48,sd47 etc - how do I find which disk it relates to
I've attached a little script I wrote to do this. It only works
with sd and ssd type disks though. However, it won't help you
apart from matching the sd-type against the c?t?-type layouts.
Veritas uses logical devices, so you'd need to work out which
physical disks the logical devices are attached to.
-am � 2003
--------------452A7EA304471DD4A07B0960
Content-Type: application/x-sh;
name="disks.sh"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="disks.sh"
#!/bin/sh
#
# Attempt to convert S5R4 disk nomenclature to BSD.
# Handles Storage Array disks as well (some of them anyway).
#
# (c) Anthony Mandic, 1997.
#
cd /dev/rdsk
for foo in *s0; do
if [ `ls -l $foo | egrep -c "/sd"` -gt 0 ] ; then
bar="sd"
else
bar="ssd"
fi
echo $bar`/usr/bin/ls -lL $foo | awk '{print substr($0,38,4)/8}'`"\t"`printf "%6.6s" $foo`
done
--------------452A7EA304471DD4A07B0960--
|
|
0
|
|
|
|
Reply
|
Anthony
|
8/15/2003 6:55:46 AM
|
|
ok, i've got vea running, but looking under Disk Groups and selecting
a disk group, it shows the breakdown of the disks.
When selecting one of the "Names" it shows the size
2Gb, but the "Free Space" has a dash "-" - why is this?
|
|
0
|
|
|
|
Reply
|
Geezer
|
8/15/2003 2:01:29 PM
|
|
|
4 Replies
137 Views
(page loaded in 0.077 seconds)
Similiar Articles: Oracle 10g (ASM vs Veritas Clustered FS) - comp.unix.solaris ...Balancing i/o load when new volumes are > added or volumes are removed being you should consider: Veritas can't > touch it. > Does ASM have any value if the filesystems ... Is there a way to determine the host machine from within the local ...Hello Ewald, I have 6 v490 running the veritas cluster suite and veritas filesystems. We have a lot of zones on this machines running. But one zone is only running on one ... Cluster, shared LUN, and multi-host filesystems - comp.unix ...Cluster, shared LUN, and multi-host filesystems - comp.unix ... Oracle 10g (ASM vs Veritas Clustered FS) - comp.unix.solaris ... I've used clustered filesystems (QFS ... Sun ZFS vs. Oracle ASM - comp.unix.solarisZFS, Oracle 10g ASM, Veritas suite of products, sheesh...so many options to do ... What I see is filesystems that were designed many, many years ago and then as systems ... Installing DiskSuite over Veritas Encapsulated root disk - comp ...Re-install veritas, unencapsulatibg the rootdisk Thanks in advance, Danny S. ... root disk slices and mirrors 6) reboot 7) Complete the mirrors on the root filesystems ... Oracle 9i on Solaris 8 w/ VxVM - UFS logging? - comp.unix.solaris ...How would I backup filesystems that were larger than a single tape with dd? ... Oracle 10g (ASM vs Veritas Clustered FS) - comp.unix.solaris ... Oracle 9i on ... Filesystem "automatically" damaged? - comp.unix.solarisI gave it another try and recreated the file systems, provided them with some data ... sure your sol9 system has all of the latest patches (as well as the latest veritas ... bacula vs. amanda - comp.unix.solarisThe spool files typically are smaller than the file systems you backup. Our setup uses ... Other Backup Solutions - start [Bacula DokuWiki] Bacula Amanda Tivoli (TSM) Veritas ... Oracle 10g on Solaris 10 non-global zones with asynchronous I/O ...The direct I/O option should not be used for other file systems used by other ... Oracle 10g (ASM vs Veritas ... Non-global zone as DHCP client? - comp.unix.solaris ... Any tutorial for umount the fie system and do the fsck? - comp ...Chances are, if things are not starting but filesystems are mounted, the problem is ... I ran fsck 3 times. > > Any ideas anoyone, > thx, > rhugga Do you have a Veritas ... Veritas File System - Wikipedia, the free encyclopedia... binaries and same on-disk layout as single instance VxFS, moving between cluster and single instance mode is straightforward. See also. Comparison of file systems; Symantec ... Veritas Volume Manager Cheat Sheet: - LucienWe assume here that you've agreed with the Oracle DBA's to use a block size of 8192 for our filesystems. Not specifying a block size allow Veritas to dynamically assign ... 7/24/2012 8:58:55 AM
|