Re: Solaris 9 Question for AIX Admins

From: JOSEPH KREMBLAS (JKREMBLAS_at_REDHEARTGIFTS.COM)
Date: 03/25/04

  • Next message: Theresa Sarver: "Re: Solaris 9 Question for AIX Admins"
    Date:         Thu, 25 Mar 2004 13:26:03 -0700
    To: aix-l@Princeton.EDU
    
    

    Theresa,

            You can go to the IBM Redbook site and find the Solaris-->AIX
    cross-reference manual at
    http://publib-b.boulder.ibm.com/Redbooks.nsf/9445fa5b416f6e32852569ae006
    bb65f/d3d095d45d9b3177852569ba005657f7?OpenDocument&Highlight=0,solaris.
    This should help.

            Good luck!

                    Regards,
                    Joseph

    -----Original Message-----
    From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
    Theresa Sarver
    Sent: Thursday, March 25, 2004 12:31 PM
    To: aix-l@Princeton.EDU
    Subject: Solaris 9 Question for AIX Admins

    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


  • Next message: Theresa Sarver: "Re: Solaris 9 Question for AIX Admins"

    Relevant Pages

    • Solaris x86 FAQ 1/2
      ... Where can I obtain Solaris 2/x86 maintenance updates? ... What information should I have before an install? ... a 60GB disk shows up as only 28GB. ... Can I create a partition for Solaris within my extended partition? ...
      (comp.unix.solaris)
    • Re: New user - HD usage
      ... is it true - Solaris 10 - where could I find some help. ... it pretty much has to be done at install time. ... partition the disk, allocating various parts of it to various uses. ...
      (comp.sys.sun.hardware)
    • Re: Sun bootable PROM patch through FreeBSD
      ... the installer now would't partition it. ... All is well, and Solaris 9 installed. ... on a disk, ...
      (comp.sys.sun.hardware)
    • Re: df -k x86-Sol8
      ... Sorry I can't help you there, my x86 is running (although not at the ... either running Solaris or something else, or at least you're putting each OS ... on it's own disk as it's easier to manage this with OBP than on a PC. ... If you plan on running only Solaris then a single partition of "Solaris" ...
      (comp.unix.solaris)
    • Re: Solaris 9 Question for AIX Admins
      ... I believe there is a redbook for AIX admins trying to admin a SUN box. ... the internal SCSI disk WITHOUT erasing any data that's already out there. ... PARTITION MENU: ...
      (AIX-L)