sun.com | docs.sun.com | How To Buy | My Sun | Worldwide Sites |  |

| Previous Contents Index Next
Example B-3 Disk Layout for Master-Eligible Node Without Diskless Nodes
    # Disk partitioning (MEN disk1)
    #
    #          Phys. slice  Meta slice  files system
    #
    #   disk1 -+ s0@disk1 +------------- ROOT
    #          + s1@disk1 +------------- SWAP
    #          + s3@disk1 +- d3@disk1 +- SHARED
    #          + s4@disk1 +- d4@disk1 +- USER1
    #          + s5@disk1 +- d5@disk1 +- USER2
    #          + s6@disk1 +- d6@disk1 +- USER1
    #          + s7@disk1 +- d31@disk1
    #                     +- d41@disk1
    #                     +- d51@disk1
    #                     +- d61@disk1
    #

    ELEMENT disk disk1@peerNode1 device c0t0d0 type SCSI size 18
    	CONTAIN slice s0@disk1
    		slice s1@disk1
    		slice s3@disk1
    		slice d3@disk1
    		slice d31@disk1
    		slice s4@disk1
    		slice d4@disk1
    		slice d41@disk1
    		slice s5@disk1
    		slice d5@disk1
    		slice d51@disk1
    		slice s6@disk1
    		slice d6@disk1
    		slice d61@disk1
    		slice s7@disk1
    # Root partition
    ELEMENT slice s0@disk1 number 0 rawDev /dev/rdsk blockDev /dev/dsk
            type PHYS size 2048
    	MAP filesys ROOT

    # Swap partition
    ELEMENT slice s1@disk1 number 1 rawDev /dev/rdsk blockDev /dev/dsk
            type PHYS size 1024
    	MAP filesys SWAP

    # Shared software and data partition (replicated)
    ELEMENT slice s3@disk1 number 3 rawDev /dev/rdsk blockDev /dev/dsk
            type PHYS size 2048

    ELEMENT slice d3@disk1 number 3 rawDev /dev/md/rdsk blockDev /dev/md/dsk
            type META size 2048 role REPLICATED
    	USE slice s3@disk1
    	MAP filesys SHARED

    ELEMENT slice d31@disk1 number 31 rawDev /dev/md/rdsk blockDev /dev/md/dsk
            type SOFT size 10 role BITMAP_SNDR
            USE slice s7@disk1
            MANAGE replicatedSlice d3@disk1

    # User partition 1 (replicated)
    ELEMENT slice s4@disk1 number 4 rawDev /dev/rdsk blockDev /dev/dsk
            type PHYS size 2048

    ELEMENT slice d4@disk1 number 4 rawDev /dev/md/rdsk blockDev /dev/md/dsk
            type META size 2048 role REPLICATED
    	USE slice s4@disk1
    	MAP filesys USER1

    ELEMENT slice d41@disk1 number 41 rawDev /dev/md/rdsk blockDev /dev/md/dsk
            type SOFT size 10 role BITMAP_SNDR
            USE slice s7@disk1
            MANAGE replicatedSlice d4@disk1

    # User partition 2 (replicated)
    ELEMENT slice s5@disk1 number 5 rawDev /dev/rdsk blockDev /dev/dsk
            type PHYS size 2048

    ELEMENT slice d5@disk1 number 5 rawDev /dev/md/rdsk blockDev /dev/md/dsk
            type META size 2048 role REPLICATED
    	USE slice s5@disk1
    	MAP filesys USER2

    ELEMENT slice d51@disk1 number 51 rawDev /dev/md/rdsk blockDev /dev/md/dsk
            type SOFT size 10 role BITMAP_SNDR
            USE slice s7@disk1
            MANAGE replicatedSlice d5@disk1

    # User partition 3 (replicated)
    ELEMENT slice s6@disk1 number 6 rawDev /dev/rdsk blockDev /dev/dsk
            type PHYS size 2048

    ELEMENT slice d6@disk1 number 6 rawDev /dev/md/rdsk blockDev /dev/md/dsk
            type META size 2048 role REPLICATED
    	USE slice s6@disk1
    	MAP filesys USER3

    ELEMENT slice d61@disk1 number 61 rawDev /dev/md/rdsk blockDev /dev/md/dsk
            type SOFT size 10 role BITMAP_SNDR
            USE slice s7@disk1
            MANAGE replicatedSlice d6@disk1

    # Meta-DB + bitmap partition
    ELEMENT slice s7@disk1 number 7 rawDev /dev/rdsk blockDev /dev/dsk
            type PHYS size 512 role META_DB
## Example Disk Layout of a Master-Eligible Node Without Volume Management Software Example B-4 Disk Layout for Master-Eligible Node With Diskless Nodes
    # Disk partitioning (MEN + diskless)
    #
    #          Phys. slice              files system
    #
    #   disk1 -+ s0@disk1 +------------- ROOT
    #          + s1@disk1 +------------- SWAP
    #          + s3@disk1 +------------- SHARED (replicated)
    #          + s4@disk1 +
    #          + s5@disk1 +------------- EXPORT (replicated)
    #          + s6@disk1 +
    #          + s7@disk1 +------------- USER1
    #

    ELEMENT disk disk1@peerNode1 device c0t0d0 type SCSI size 18
             CONTAIN slice s0@disk1
                     slice s1@disk1
                     slice s3@disk1
                     slice s4@disk1
                     slice s5@disk1
                     slice s6@disk1
                     slice s7@disk1

    # Root partition
    ELEMENT slice s0@disk1 number 0 rawDev /dev/rdsk blockDev /dev/dsk
             type PHYS size 2048
    	MAP filesys ROOT

    # Swap partition
    ELEMENT slice s1@disk1 number 1 rawDev /dev/rdsk blockDev /dev/dsk
             type PHYS size 1024
    	MAP filesys SWAP

    # Shared software and data partition (replicated)
    ELEMENT slice s3@disk1 number 3 rawDev /dev/rdsk blockDev /dev/dsk
             type PHYS size 2048 role REPLICATED
    	MAP filesys SHARED

    ELEMENT slice s4@disk1 number 4 rawDev /dev/rdsk blockDev /dev/dsk
             type PHYS size 10 role BITMAP_SNDR
             MANAGE replicatedSlice s3@disk1

    ELEMENT slice s5@disk1 number 5 rawDev /dev/rdsk blockDev /dev/dsk
             type META size 2048 role REPLICATED
    	MAP filesys EXPORT

    ELEMENT slice s6@disk1 number 6 rawDev /dev/rdsk blockDev /dev/dsk
             type PHYS size 10 role BITMAP_SNDR
             MANAGE replicatedSlice s5@disk1

    # User partition 1 (not replicated)
    ELEMENT slice s7@disk1 number 7 rawDev /dev/rdsk blockDev /dev/dsk
             type PHYS size 2048
    	MAP filesys USER1
Previous Contents Index Next

Copyright 1994-2004 Sun Microsystems