From: Theresa Sarver (tsarver@IFMC.SDPS.ORG)
Date: Thu Mar 25 2004 - 16:04:01 EST
Thanks guys (Joseph and Bil) -- that's exactly what I needed!
Thanks again for the responses!
Theresa
>>> BVerzal@KOMATSUNA.COM 03/25/04 01:44PM >>>
I believe there is a redbook for AIX admins trying to admin a SUN box.
Yup - found it at:
http://publib-b.boulder.ibm.com/Redbooks.nsf/RedbookAbstracts/sg246584.html?Open
--------------------------------------------------------
"If everything is coming your way, then you are in the wrong lane"
Bill Verzal
AIX Administrator, Komatsu America
(847) 970-3726 - direct
(847) 970-4184 - fax
Theresa Sarver
<tsarver@IFMC.SDP
S.ORG> To
Sent by: IBM AIX aix-l@Princeton.EDU
Discussion List cc
<aix-l@Princeton.
EDU> Subject
Solaris 9 Question for AIX Admins
03/25/2004 01:30
PM
Please respond to
IBM AIX
Discussion List
<aix-l@Princeton.
EDU>
Hello;
I apologize for posing this question to his forum, however, I think you all
are probably my best resort for assistance.
I am new to Solaris and don't go to training for two weeks. I am attempting
to do some learning on my own with a test server (v880) ....however, I
can't figure out how to see the following on Solaris 5.9 (No Veritas Volume
Manager):
Physical Disk ---> (Slice?/)Logcal Volume ---> Filesystem layout
I know that on AIX I would do something along the lines of the following:
lspv ---> lsvg ---> lslv
to retrieve the entire psysical-to-logical layout.
On Solaris however, the metastat and prtvtoc commands only seem to list the
disk/logical volume(slice?) information....and
"format--->partiton--->print" does show the disk information, however it
doesn't show the logical volume/filesystem layout. --- 'df -h' does show
the filesystem to logical volume layout but I don't have any idea what
disk/slice these filesystems reside on?
The only thing I want to be able to do is create a couple filesystems on
the internal SCSI disk WITHOUT erasing any data that's already out there.
Seems pretty simple to me....but it's not working out that way.
I hope I've conveyed my question/problem clearly enough. However, incase
I have not I've enclosed an example of what I'm talking about below this
message.
Thank you in advance for your assistance.
Theresa
---------------------------------------------------
Listing of logical volumes and local disks
# metastat
d80: Mirror
Submirror 0: d81
State: Okay
Submirror 1: d82
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 143278080 blocks (68 GB)
d81: Submirror of d80
State: Okay
Size: 143278080 blocks (68 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t4d0s0 0 No Okay Yes
d82: Submirror of d80
State: Okay
Size: 143278080 blocks (68 GB)
Stripe 0:
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t5d0s0 0 No Okay Yes
Device Relocation Information:
Device Reloc Device ID
c1t5d0 Yes id1,ssd@w2000000c50628484
c1t4d0 Yes id1,ssd@w2000000c505d0532
Listing of all logical volume and filesystems:
# df –h
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d10 7.9G 4.1G 3.7G 54% /
/proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
fd 0K 0K 0K 0% /dev/fd
/dev/md/dsk/d50 7.9G 5.2G 2.6G 67% /var
swap 21G 32K 21G 1% /var/run
swap 21G 88K 21G 1% /tmp
/dev/md/dsk/d70 486M 9K 438M 1% /globaldevices
/dev/md/dsk/d30 35G 3.5G 31G 10% /isv
/dev/md/dsk/d80 67G 2.7G 64G 5% /l2qnu29
/dev/md/dsk/d40 7.9G 8.0M 7.8G 1% /var/crash
Listing of logical volumes located on the local disk:
# metastat –p
d80 -m d81 d82 1
d81 1 1 c1t4d0s0
d82 1 1 c1t5d0s0
Partitioning and Formatting a Disk:
# format
AVAILABLE DISK SELECTIONS:
4. c1t4d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w2100000c505d0532,0
format> partition
PARTITION MENU:
print - display the current table
partition> print
Current partition table (original):
Total disk cylinders available: 14087 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 usr wm 7 - 14086 68.32GB (14080/0/0) 143278080
1 unassigned wm 0 0 (0/0/0) 0
2 unassigned wm 0 0 (0/0/0) 0
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 0 0 (0/0/0) 0
7 reserved wu 0 - 6 34.78MB (7/0/0) 71232
partition> quit
format> disk
AVAILABLE DISK SELECTIONS:
5. c1t5d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w2100000c50628484,0
partition> print
Current partition table (original):
Total disk cylinders available: 14087 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 usr wm 7 - 14086 68.32GB (14080/0/0) 143278080
1 unassigned wm 0 0 (0/0/0) 0
2 unassigned wm 0 0 (0/0/0) 0
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 0 0 (0/0/0) 0
7 reserved wu 0 - 6 34.78MB (7/0/0) 71232
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:45 EDT