Solaris 9 Question for AIX Admins

From: Theresa Sarver (tsarver_at_IFMC.SDPS.ORG)
Date: 03/25/04

  • Next message: Nguyen, Joseph: "Re: ESS/SDD with FastT"
    Date:         Thu, 25 Mar 2004 14:30:33 -0500
    To: 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


  • Next message: Nguyen, Joseph: "Re: ESS/SDD with FastT"

    Relevant Pages

    • Re: Panasonic HD Recorders - What disk format?
      ... The earlier part of this is more about what may be Linux partitioning, ... might be possible to present the recorder with a larger disk already ... Most DOS/Windows utilities such as FDisk, Ghost, and Partition Magic Pro ... prompts to format it. ...
      (alt.os.linux)
    • Re: Cant find Hard disk
      ... Computer> Manage> Computer Management> Disk Management. ... Now you must partition and format your new drive. ...
      (microsoft.public.windowsxp.hardware)
    • Re: setting up a new hard drive as drive D
      ... I want to add a second hard disk as IDE drive D but I cannot see any ... You will partition & format your second HD using XP's Disk Management ... move the problem HD to another IDE connector. ...
      (microsoft.public.windowsxp.hardware)
    • Re: How do I label a disk?
      ... now I am going to definitely install solaris but I have this ... > to a dead disk. ... I tried to label it with the format command: ... format> partition ...
      (comp.unix.solaris)
    • Re: Invalid media Type
      ... D is a 200gig, one partition, data drive. ... Left a program copying data ... This morning it said disk full, ... Fdisk doesn't, but Format certainly does. ...
      (comp.sys.ibm.pc.hardware.storage)