Configuration des disques SVM

From Deimos.fr / Bloc Notes Informatique
Jump to: navigation, search
6        host07:/dev/rdsk/c1t9d0        /dev/did/rdsk/d6
6        host08:/dev/rdsk/c1t9d0        /dev/did/rdsk/d6
7        host07:/dev/rdsk/c1t10d0       /dev/did/rdsk/d7
7        host08:/dev/rdsk/c1t10d0       /dev/did/rdsk/d7
8        host07:/dev/rdsk/c1t11d0       /dev/did/rdsk/d8
8        host08:/dev/rdsk/c1t11d0       /dev/did/rdsk/d8
9        host08:/dev/rdsk/c2t0d0        /dev/did/rdsk/d9
10       host08:/dev/rdsk/c2t1d0        /dev/did/rdsk/d10
11       host07:/dev/rdsk/c2t0d0        /dev/did/rdsk/d11
12       host07:/dev/rdsk/c2t1d0        /dev/did/rdsk/d12
13       host09:/dev/rdsk/c0t0d0        /dev/did/rdsk/d13
14       host09:/dev/rdsk/c0t1d0        /dev/did/rdsk/d14
host08# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
c0t8d0s2     auto:sliced     -            -            online
c0t9d0s2     auto:sliced     -            -            online
c0t10d0s2    auto:none       -            -            online invalid
c0t11d0s2    auto:none       -            -            online invalid
c1t8d0s2     auto:sliced     -            -            online
c1t9d0s2     auto:sliced     -            -            online
c1t10d0s2    auto:none       -            -            online invalid
c1t11d0s2    auto:none       -            -            online invalid
c2t0d0s2     auto:none       -            -            online invalid
c2t1d0s2     auto:none       -            -            online invalid
host08# vxdg
VxVM vxdg ERROR V-5-1-693 Incorrect usage
VxVM vxdg INFO V-5-1-1443
    Usage: vxdg  keyword arg ...
For detailed help use: vxdg -H | help
host08# vxdg list
NAME         STATE           ID
host08# metaset -s mytest -a -h host07 host08
Proxy command to: host07
host08# metaset
 
Set name = mytest, Set number = 1
 
Host                Owner
  host07
  host08
host08# metaset -s mytest -a -m host07 host08
host08# metaset -s mytest -a /dev/did/rdsk/d3 /dev/did/rdsk/d7
host08# metaset
 
Set name = mytest, Set number = 1
 
Host                Owner
  host07
  host08             Yes
 
Mediator Host(s)    Aliases
  host07
  host08
 
Driv Dbase
 
d3   Yes
 
d7   Yes
host08# metadb -s mytest
        flags           first blk       block count
     a        u    r    16              8192            /dev/did/dsk/d3s7
     a        u    r    16              8192            /dev/did/dsk/d7s7
host08# metaset -i
metaset: illegal option -- i
metaset: unknown command
usage:  metaset -s setname -a [-A enable | disable] -h hostname ...
        metaset -s setname -a [-M] -h hostname ...
        metaset -s setname -a [-M] [-l length] [-L] drivename ...
        metaset -s setname -d [-M] -h hostname ...
        metaset -s setname -d [-M] -f -h all-hostnames
        metaset -s setname -d [-M] [-f] drivename ...
        metaset -s setname -d [-M] [-f] hostname ...
        metaset -s setname -A enable | disable
        metaset -s setname -t [-f]
        metaset -s setname -r
        metaset [-s setname] -j [-M]
        metaset [-s setname] -w [-M]
        metaset -s setname -P [-M]
        metaset -s setname -b [-M]
        metaset -s setname -o [-M] [-h hostname]
        metaset [-s setname]
 
                hostname = contents of /etc/nodename
                drivename = cNtNdN no slice
                [-M] for multi-owner set is optional except on set creation
host08# metaset
 
Set name = mytest, Set number = 1
 
Host                Owner
  host07
  host08             Yes
 
Mediator Host(s)    Aliases
  host07
  host08
 
Driv Dbase
 
d3   Yes
 
d7   Yes
host08# metadb -i
        flags           first blk       block count
     a        u         16              8192            /dev/dsk/c2t0d0s7
     a        u         8208            8192            /dev/dsk/c2t0d0s7
     a        u         16400           8192            /dev/dsk/c2t0d0s7
     a        u         16              8192            /dev/dsk/c2t1d0s7
     a        u         8208            8192            /dev/dsk/c2t1d0s7
     a        u         16400           8192            /dev/dsk/c2t1d0s7
 r - replica does not have device relocation information
 o - replica active prior to last mddb configuration change
 u - replica is up to date
 l - locator for this replica was read successfully
 c - replica's location was in /etc/lvm/mddb.cf
 p - replica's location was patched in kernel
 m - replica is master, this is replica selected as input
 W - replica has device write errors
 a - replica is active, commits are occurring to this replica
 M - replica had problem with master blocks
 D - replica had problem with data blocks
 F - replica had format problems
 S - replica is too small to hold current data base
 R - replica had device read errors
host08# metasetr
zsh: command not found: metasetr
host08# metaset
 
Set name = mytest, Set number = 1
 
Host                Owner
  host07
  host08             Yes
 
Mediator Host(s)    Aliases
  host07
  host08
 
Driv Dbase
 
d3   Yes
 
d7   Yes
host08# metattach -s mytest d3 400m
metattach: host08: d3: No such file or directory
 
host08# metainit -s mytest d101 1 1 /dev/did/rdsk/d3
host08# metadb
        flags           first blk       block count
     a        u         16              8192            /dev/dsk/c2t0d0s7
     a        u         8208            8192            /dev/dsk/c2t0d0s7
     a        u         16400           8192            /dev/dsk/c2t0d0s7
     a        u         16              8192            /dev/dsk/c2t1d0s7
     a        u         8208            8192            /dev/dsk/c2t1d0s7
     a        u         16400           8192            /dev/dsk/c2t1d0s7
host08# metainit -s mytest d101 1 1 /dev/did/dsk/d3s7
metainit: host08: d3s7: replica slice is not usable as a metadevice component
 
host08# format
Unknown controller 'MD21' - /etc/format.dat (15)
Unknown controller 'MD21' - /etc/format.dat (20)
Unknown controller 'MD21' - /etc/format.dat (25)
Unknown controller 'MD21' - /etc/format.dat (151)
Unknown controller 'MD21' - /etc/format.dat (155)
Unknown controller 'MD21' - /etc/format.dat (159)
Unknown controller 'MD21' - /etc/format.dat (163)
Unknown controller 'MD21' - /etc/format.dat (167)
Searching for disks...done
 
 
AVAILABLE DISK SELECTIONS:
       0. c0t8d0 <FUJITSU-MAU3036NCSUN36G-0802 cyl 24620 alt 2 hd 27 sec 107>
          /pci@1e,600000/scsi@2/sd@8,0
       1. c0t9d0 <FUJITSU-MAU3036NCSUN36G-0802 cyl 24620 alt 2 hd 27 sec 107>
          /pci@1e,600000/scsi@2/sd@9,0
       2. c0t10d0 <FUJITSU-MAU3036NCSUN36G-0802 cyl 24620 alt 2 hd 27 sec 107>
          /pci@1e,600000/scsi@2/sd@a,0
       3. c0t11d0 <FUJITSU-MAU3036NCSUN36G-0802 cyl 24620 alt 2 hd 27 sec 107>
          /pci@1e,600000/scsi@2/sd@b,0
       4. c1t8d0 <FUJITSU-MAU3036NCSUN36G-0802 cyl 24620 alt 2 hd 27 sec 107>
          /pci@1e,600000/scsi@3/sd@8,0
       5. c1t9d0 <FUJITSU-MAU3036NCSUN36G-0802 cyl 24620 alt 2 hd 27 sec 107>
          /pci@1e,600000/scsi@3/sd@9,0
       6. c1t10d0 <FUJITSU-MAU3036NCSUN36G-0802 cyl 24620 alt 2 hd 27 sec 107>
          /pci@1e,600000/scsi@3/sd@a,0
       7. c1t11d0 <FUJITSU-MAU3036NCSUN36G-0802 cyl 24620 alt 2 hd 27 sec 107>
          /pci@1e,600000/scsi@3/sd@b,0
       8. c2t0d0 <SEAGATE-ST373207LSUN72G-045A cyl 14087 alt 2 hd 24 sec 424>
          /pci@1c,600000/scsi@2/sd@0,0
       9. c2t1d0 <SEAGATE-ST373207LSUN72G-045A cyl 14087 alt 2 hd 24 sec 424>
          /pci@1c,600000/scsi@2/sd@1,0
Specify disk (enter its number): 2
selecting c0t10d0
[disk formatted]
 
 
FORMAT MENU:
        disk       - select a disk
        type       - select (define) a disk type
        partition  - select (define) a partition table
        current    - describe the current disk
        format     - format and analyze the disk
        repair     - repair a defective sector
        label      - write label to the disk
        analyze    - surface analysis
        defect     - defect list management
        backup     - search for backup labels
        verify     - read and display labels
        save       - save new disk/partition definitions
        inquiry    - show vendor, product and revision
        volname    - set 8-character volume name
        !<cmd>     - execute <cmd>, then return
        quit
format> p
 
 
PARTITION MENU:
        0      - change `0' partition
        1      - change `1' partition
        2      - change `2' partition
        3      - change `3' partition
        4      - change `4' partition
        5      - change `5' partition
        6      - change `6' partition
        7      - change `7' partition
        select - select a predefined table
        modify - modify a predefined partition table
        name   - name the current table
        print  - display the current table
        label  - write partition map and label to the disk
        !<cmd> - execute <cmd>, then return
        quit
partition> p
Current partition table (original):
Total disk cylinders available: 24620 + 2 (reserved cylinders)
 
Part      Tag    Flag     Cylinders         Size            Blocks
  0        usr    wm       3 - 24619       33.91GB    (24617/0/0) 71118513
  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        usr    wu       0 -     2        4.23MB    (3/0/0)         8667
 
partition> q
 
 
FORMAT MENU:
        disk       - select a disk
        type       - select (define) a disk type
        partition  - select (define) a partition table
        current    - describe the current disk
        format     - format and analyze the disk
        repair     - repair a defective sector
        label      - write label to the disk
        analyze    - surface analysis
        defect     - defect list management
        backup     - search for backup labels
        verify     - read and display labels
        save       - save new disk/partition definitions
        inquiry    - show vendor, product and revision
        volname    - set 8-character volume name
        !<cmd>     - execute <cmd>, then return
        quit
format> q
host08# metastat -s mytest
host08#
host08#
host08# metainit -s mytest d100
metainit: host08: "d100": syntax error
 
host08# metainit -s mytest d100
host08# metastat -s mytestt
metastat: host08: setname "mytestt": no such set
 
host08# metastat -s mytest
host08# metainit -s mytest d101 1 1 /dev/did/dsk/d3s0
mytest/d101: Concat/Stripe is setup
host08# metainit -s mytest d102 1 1 /dev/did/dsk/d7s0
mytest/d102: Concat/Stripe is setup
host08# metainit -s mytest d100 -m d101 d102
metainit: mytest/d100: WARNING: This form of metainit is not recommended.
The submirrors may not have the same data.
Please see ERRORS in metainit(1M) for additional information.
mytest/d100: Mirror is setup
host08#
host08#
host08# metastat -s mytest
mytest/d100: Mirror
    Submirror 0: mytest/d101
      State: Okay
    Submirror 1: mytest/d102
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 71118513 blocks (33 GB)
 
mytest/d101: Submirror of mytest/d100
    State: Okay
    Size: 71118513 blocks (33 GB)
    Stripe 0:
        Device   Start Block  Dbase        State Reloc Hot Spare
        d3s0            0     No            Okay   No
 
 
mytest/d102: Submirror of mytest/d100
    State: Okay
    Size: 71118513 blocks (33 GB)
    Stripe 0:
        Device   Start Block  Dbase        State Reloc Hot Spare
        d7s0            0     No            Okay   No
 
 
Device Relocation Information:
Device   Reloc  Device ID
d7   No         -
d3   No         -
host08# metainit -s mytest d10 -p d100 200m
d10: Soft Partition is setup
host08# metastat -s mytest
mytest/d10: Soft Partition
    Device: mytest/d100
    State: Okay
    Size: 409600 blocks (200 MB)
        Extent              Start Block              Block count
             0                       32                   409600
 
mytest/d100: Mirror
    Submirror 0: mytest/d101
      State: Okay
    Submirror 1: mytest/d102
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 71118513 blocks (33 GB)
 
mytest/d101: Submirror of mytest/d100
    State: Okay
    Size: 71118513 blocks (33 GB)
    Stripe 0:
        Device   Start Block  Dbase        State Reloc Hot Spare
        d3s0            0     No            Okay   No
 
 
mytest/d102: Submirror of mytest/d100
    State: Okay
    Size: 71118513 blocks (33 GB)
    Stripe 0:
        Device   Start Block  Dbase        State Reloc Hot Spare
        d7s0            0     No            Okay   No
 
 
Device Relocation Information:
Device   Reloc  Device ID
d7   No         -
d3   No         -
host08# newfs /dev/md/mytest/rdsk/d10
newfs: construct a new file system /dev/md/mytest/rdsk/d10: (y/n)? y
Warning: 638 sector(s) in last cylinder unallocated
/dev/md/mytest/rdsk/d10:        409600 sectors in 142 cylinders of 27 tracks, 107 sectors
        200.0MB in 9 cyl groups (16 c/g, 22.57MB/g, 10816 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
 32, 46368, 92704, 139040, 185376, 231712, 278048, 324384, 370720,
 
host08# mkdir /mytest
host08# mount /dev/md/mytest/rdsk/d10 /mytest
mount: /dev/md/mytest/rdsk/d10 not a block device
host08# mount /dev/md/mytest/rdsk/d10@ /mytest
mount: /dev/md/mytest/rdsk/d10@ or /mytest, no such file or directory
host08# mount /dev/md/mytest/rdsk/d10s2 /mytest
mount: /dev/md/mytest/rdsk/d10s2 or /mytest, no such file or directory
host08# mount /dev/md/mytest/rdsk/d10s0 /mytest
mount: /dev/md/mytest/rdsk/d10s0 or /mytest, no such file or directory
host08# mount -t ufs /dev/md/mytest/rdsk/d10 /mytest
mount: illegal option -- t
Usage:
mount [-v | -p]
mount [-F FSType] [-V] [current_options] [-o specific_options]
        {special | mount_point}
mount [-F FSType] [-V] [current_options] [-o specific_options]
        special mount_point
mount -a [-F FSType ] [-V] [current_options] [-o specific_options]
        [mount_point ...]
host08# mount /dev/md/mytest/rdsk/d10 /mytest
mount: /dev/md/mytest/rdsk/d10 not a block device
host08# df -k*
zsh: no matches found: -k*
host08# df -k
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/dsk/c2t0d0s0    68532826 5476724 62370774     9%    /
/devices                   0       0       0     0%    /devices
ctfs                       0       0       0     0%    /system/contract
proc                       0       0       0     0%    /proc
mnttab                     0       0       0     0%    /etc/mnttab
swap                 2629272    1336 2627936     1%    /etc/svc/volatile
objfs                      0       0       0     0%    /system/object
fd                         0       0       0     0%    /dev/fd
swap                 2628000      64 2627936     1%    /tmp
swap                 2628080     144 2627936     1%    /var/run
swap                 2627936       0 2627936     0%    /dev/vx/dmp
swap                 2627936       0 2627936     0%    /dev/vx/rdmp
/dev/vx/dsk/webdg/webvol
                      480751    1169  431507     1%    /global/web
/dev/vx/dsk/nfsdg/nfsvol
                      480751    1052  431624     1%    /global/nfs
/dev/did/dsk/d11s3    498039    3694  444542     1%    /global/.devices/node@2
/dev/did/dsk/d9s3     498039    3694  444542     1%    /global/.devices/node@1
host08# mount /dev/md/mytest/rdsk/d100 /mytest
mount: /dev/md/mytest/rdsk/d100 not a block device
host08# mount /dev/md/mytest/dsk/d100 /mytest
mount: /dev/md/mytest/dsk/d100 write-protected
host08# mount /dev/md/mytest/dsk/d10 /mytest
host08# df
/                  (/dev/dsk/c2t0d0s0 ):126112204 blocks  7987726 files
/devices           (/devices          ):       0 blocks        0 files
/system/contract   (ctfs              ):       0 blocks 2147483594 files
/proc              (proc              ):       0 blocks    29901 files
/etc/mnttab        (mnttab            ):       0 blocks        0 files
/etc/svc/volatile  (swap              ): 5255360 blocks   295001 files
/system/object     (objfs             ):       0 blocks 2147483467 files
/dev/fd            (fd                ):       0 blocks        0 files
/tmp               (swap              ): 5255360 blocks   295001 files
/var/run           (swap              ): 5255360 blocks   295001 files
/dev/vx/dmp        (swap              ): 5255360 blocks   295001 files
/dev/vx/rdmp       (swap              ): 5255360 blocks   295001 files
/global/web        (/dev/vx/dsk/webdg/webvol):  959164 blocks   245710 files
/global/nfs        (/dev/vx/dsk/nfsdg/nfsvol):  959398 blocks   245745 files
/global/.devices/node@2(/dev/did/dsk/d11s3):  988690 blocks   242722 files
/global/.devices/node@1(/dev/did/dsk/d9s3 ):  988690 blocks   242722 files
/mytest            (/dev/md/mytest/dsk/d10):  382860 blocks    97340 files
host08# metattach -s mytest d10 400m
mytest/d10: Soft Partition has been grown
host08# growfs
usage: growfs [ -M mount-point ] [ newfs-options ] raw-special-device
host08# growfs /mytest
devinfo: /mytest: Inappropriate ioctl for device
growfs: cannot get partition size
host08# growfs /mytest /dev/md/mytest/rdsk/d10
usage: growfs [ -M mount-point ] [ newfs-options ] raw-special-device
host08# growfs -M /mytest /dev/md/mytest/rdsk/d10
Warning: 1914 sector(s) in last cylinder unallocated
/dev/md/mytest/rdsk/d10:        1228800 sectors in 426 cylinders of 27 tracks, 107 sectors
        600.0MB in 27 cyl groups (16 c/g, 22.57MB/g, 10816 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
 32, 46368, 92704, 139040, 185376, 231712, 278048, 324384, 370720, 417056,
 787744, 834080, 880416, 926752, 973088, 1019424, 1065760, 1112096, 1158432,
 1204768,
host08# df -k
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/dsk/c2t0d0s0    68532826 5476724 62370774     9%    /
/devices                   0       0       0     0%    /devices
ctfs                       0       0       0     0%    /system/contract
proc                       0       0       0     0%    /proc
mnttab                     0       0       0     0%    /etc/mnttab
swap                 2629000    1336 2627664     1%    /etc/svc/volatile
objfs                      0       0       0     0%    /system/object
fd                         0       0       0     0%    /dev/fd
swap                 2627728      64 2627664     1%    /tmp
swap                 2627808     144 2627664     1%    /var/run
swap                 2627664       0 2627664     0%    /dev/vx/dmp
swap                 2627664       0 2627664     0%    /dev/vx/rdmp
/dev/vx/dsk/webdg/webvol
                      480751    1169  431507     1%    /global/web
/dev/vx/dsk/nfsdg/nfsvol
                      480751    1052  431624     1%    /global/nfs
/dev/did/dsk/d11s3    498039    3694  444542     1%    /global/.devices/node@2
/dev/did/dsk/d9s3     498039    3694  444542     1%    /global/.devices/node@1
/dev/md/mytest/dsk/d10
                      577447    1041  557159     1%    /mytest
host08# scstat -D
 
-- Device Group Servers --
 
                         Device Group        Primary             Secondary
                         ------------        -------             ---------
  Device group servers:  nfsdg               host07              host08
  Device group servers:  webdg               host07              host08
  Device group servers:  mytest              host08              host07
 
 
-- Device Group Status --
 
                              Device Group        Status
                              ------------        ------
  Device group status:        nfsdg               Online
  Device group status:        webdg               Online
  Device group status:        mytest              Online
 
 
-- Multi-owner Device Groups --
 
                              Device Group        Online Status
                              ------------        -------------
 
host08#
 
----
 
  *** Main Menu ***
 
    Please select from one of the following (*) options:
 
        1) Install a cluster or cluster node
        2) Configure a cluster to be JumpStarted from this install server
      * 3) Add support for new data services to this cluster node
      * 4) Upgrade this cluster node
      * 5) Print release information for this cluster node
 
      * ?) Help with menu options
      * q) Quit
 
    Option:  3^C
 
 
 
 
scinstall:  scinstall did NOT complete successfully!
 
host07# scconf -p
Cluster name:                                      cluster3
Cluster ID:                                        0x457539F4
Cluster install mode:                              disabled
Cluster private net:                               172.16.0.0
Cluster private netmask:                           255.255.0.0
Cluster new node authentication:                   unix
Cluster new node list:                             host09
Cluster transport heart beat timeout:              10000
Cluster transport heart beat quantum:              1000
Cluster nodes:                                     host08 host07 host09
 
Cluster node name:                                 host08
  Node ID:                                         1
  Node enabled:                                    yes
  Node private hostname:                           clusternode1-priv
  Node quorum vote count:                          1
  Node reservation key:                            0x457539F400000001
  Node transport adapters:                         bge3 ce0
 
  Node transport adapter:                          bge3
    Adapter enabled:                               yes
    Adapter transport type:                        dlpi
    Adapter property:                              device_name=bge
    Adapter property:                              device_instance=3
    Adapter property:                              lazy_free=1
    Adapter property:                              dlpi_heartbeat_timeout=10000
    Adapter property:                              dlpi_heartbeat_quantum=1000
    Adapter property:                              nw_bandwidth=80
    Adapter property:                              bandwidth=70
    Adapter property:                              netmask=255.255.255.128
    Adapter property:                              ip_address=172.16.0.129
    Adapter port names:                            0
 
    Adapter port:                                  0
      Port enabled:                                yes
 
  Node transport adapter:                          ce0
    Adapter enabled:                               yes
    Adapter transport type:                        dlpi
    Adapter property:                              device_name=ce
    Adapter property:                              device_instance=0
    Adapter property:                              lazy_free=1
    Adapter property:                              dlpi_heartbeat_timeout=10000
    Adapter property:                              dlpi_heartbeat_quantum=1000
    Adapter property:                              nw_bandwidth=80
    Adapter property:                              bandwidth=70
    Adapter property:                              netmask=255.255.255.128
    Adapter property:                              ip_address=172.16.1.1
    Adapter port names:                            0
 
    Adapter port:                                  0
      Port enabled:                                yes
 
Cluster node name:                                 host07
  Node ID:                                         2
  Node enabled:                                    yes
  Node private hostname:                           clusternode2-priv
  Node quorum vote count:                          1
  Node reservation key:                            0x457539F400000002
  Node transport adapters:                         bge3 ce0
 
  Node transport adapter:                          bge3
    Adapter enabled:                               yes
    Adapter transport type:                        dlpi
    Adapter property:                              device_name=bge
    Adapter property:                              device_instance=3
    Adapter property:                              lazy_free=1
    Adapter property:                              dlpi_heartbeat_timeout=10000
    Adapter property:                              dlpi_heartbeat_quantum=1000
    Adapter property:                              nw_bandwidth=80
    Adapter property:                              bandwidth=70
    Adapter property:                              netmask=255.255.255.128
    Adapter property:                              ip_address=172.16.0.130
    Adapter port names:                            0
 
    Adapter port:                                  0
      Port enabled:                                yes
 
  Node transport adapter:                          ce0
    Adapter enabled:                               yes
    Adapter transport type:                        dlpi
    Adapter property:                              device_name=ce
    Adapter property:                              device_instance=0
    Adapter property:                              lazy_free=1
    Adapter property:                              dlpi_heartbeat_timeout=10000
    Adapter property:                              dlpi_heartbeat_quantum=1000
    Adapter property:                              nw_bandwidth=80
    Adapter property:                              bandwidth=70
    Adapter property:                              netmask=255.255.255.128
    Adapter property:                              ip_address=172.16.1.2
    Adapter port names:                            0
 
    Adapter port:                                  0
      Port enabled:                                yes
 
Cluster node name:                                 host09
  Node ID:                                         3
  Node enabled:                                    yes
  Node private hostname:                           clusternode3-priv
  Node quorum vote count:                          1
  Node reservation key:                            0x457539F400000003
  Node transport adapters:                         bge2 bge3
 
  Node transport adapter:                          bge2
    Adapter enabled:                               yes
    Adapter transport type:                        dlpi
    Adapter property:                              device_name=bge
    Adapter property:                              device_instance=2
    Adapter property:                              lazy_free=1
    Adapter property:                              dlpi_heartbeat_timeout=10000
    Adapter property:                              dlpi_heartbeat_quantum=1000
    Adapter property:                              nw_bandwidth=80
    Adapter property:                              bandwidth=70
    Adapter property:                              netmask=255.255.255.128
    Adapter property:                              ip_address=172.16.0.131
    Adapter port names:                            0
 
    Adapter port:                                  0
      Port enabled:                                yes
 
  Node transport adapter:                          bge3
    Adapter enabled:                               yes
    Adapter transport type:                        dlpi
    Adapter property:                              device_name=bge
    Adapter property:                              device_instance=3
    Adapter property:                              lazy_free=1
    Adapter property:                              dlpi_heartbeat_timeout=10000
    Adapter property:                              dlpi_heartbeat_quantum=1000
    Adapter property:                              nw_bandwidth=80
    Adapter property:                              bandwidth=70
    Adapter property:                              netmask=255.255.255.128
    Adapter property:                              ip_address=172.16.1.3
    Adapter port names:                            0
 
    Adapter port:                                  0
      Port enabled:                                yes
 
Cluster transport junctions:                       switch1 switch2
 
Cluster transport junction:                        switch1
  Junction enabled:                                yes
  Junction type:                                   switch
  Junction port names:                             1 2 3
 
  Junction port:                                   1
    Port enabled:                                  yes
 
  Junction port:                                   2
    Port enabled:                                  yes
 
  Junction port:                                   3
    Port enabled:                                  yes
 
Cluster transport junction:                        switch2
  Junction enabled:                                yes
  Junction type:                                   switch
  Junction port names:                             1 2 3
 
  Junction port:                                   1
    Port enabled:                                  yes
 
  Junction port:                                   2
    Port enabled:                                  yes
 
  Junction port:                                   3
    Port enabled:                                  yes
 
 
Cluster transport cables
 
                    Endpoint            Endpoint            State
                    --------            --------            -----
        Transport cable:   host08:bge3@0       switch1@1           Enabled
        Transport cable:   host08:ce0@0        switch2@1           Enabled
        Transport cable:   host07:bge3@0       switch1@2           Enabled
        Transport cable:   host07:ce0@0        switch2@2           Enabled
        Transport cable:   host09:bge2@0       switch1@3           Enabled
        Transport cable:   host09:bge3@0       switch2@3           Enabled
 
 
Quorum devices:                                    d1
 
Quorum device name:                                d1
  Quorum device votes:                             1
  Quorum device enabled:                           yes
  Quorum device name:                              /dev/did/rdsk/d1s2
  Quorum device hosts (enabled):                   host08 host07
  Quorum device hosts (disabled):
  Quorum device access mode:                       scsi2
 
Device group name:                                 webdg
  Device group type:                               VxVM
  Device group failback enabled:                   no
  Device group node list:                          host07, host08
  Device group ordered node list:                  yes
  Device group desired number of secondaries:      1
  Device group diskgroup name:                     webdg
 
Device group name:                                 nfsdg
  Device group type:                               VxVM
  Device group failback enabled:                   no
  Device group node list:                          host07, host08
  Device group ordered node list:                  yes
  Device group desired number of secondaries:      1
  Device group diskgroup name:                     nfsdg
host07# scconf
host07# scconf -r host09
usage:  scconf -a|-c|-r|-p [-Hv[v]] [options]
        scconf [-H]
 
host07# scconf -d host09
scconf: illegal option -- d
usage:  scconf -a|-c|-r|-p [-Hv[v]] [options]
        scconf [-H]
 
host07# scconf -r -T node=host09
host07# scconf -a -T node=host09
host07# df -k
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/dsk/c2t0d0s0    68532826 5516140 62331358     9%    /
/devices                   0       0       0     0%    /devices
ctfs                       0       0       0     0%    /system/contract
proc                       0       0       0     0%    /proc
mnttab                     0       0       0     0%    /etc/mnttab
swap                 2390288    1336 2388952     1%    /etc/svc/volatile
objfs                      0       0       0     0%    /system/object
fd                         0       0       0     0%    /dev/fd
swap                 2389016      64 2388952     1%    /tmp
swap                 2389120     168 2388952     1%    /var/run
swap                 2388952       0 2388952     0%    /dev/vx/dmp
swap                 2388952       0 2388952     0%    /dev/vx/rdmp
/dev/vx/dsk/webdg/webvol
                      480751    1169  431507     1%    /global/web
/dev/vx/dsk/nfsdg/nfsvol
                      480751    1052  431624     1%    /global/nfs
/dev/did/dsk/d11s3    498039    3683  444553     1%    /global/.devices/node@2
/dev/did/dsk/d9s3     498039    3683  444553     1%    /global/.devices/node@1
host07# telnet host09
Trying 192.168.100.109...
Connected to host09.
Escape character is '^]'.
login: root
#device device  mount   FS      fsck    mount   mount
#to     mount   to      fsck            point           type    pass    at boot options
#
fd      -       /dev/fd fd      -       no      -
/proc   -       /proc   proc    -       no      -
/dev/dsk/c0t0d0s1       -       -       swap    -       no      -
/dev/dsk/c0t0d0s0       /dev/rdsk/c0t0d0s0      /       ufs     1       no      -
/dev/dsk/c0t0d0s3       /dev/rdsk/c0t0d0s3      /globaldevices  ufs     2       yes     -
/devices        -       /devices        devfs   -       no      -
ctfs    -       /system/contract        ctfs    -       no      -
objfs   -       /system/object  objfs   -       no      -
swap    -       /tmp    tmpfs   -       yes     -
#/dev/vx/dsk/nfsdg/nfsvol       /dev/vx/rdsk/nfsdg/nfsvol       /global/nfs     ufs     2       yes     global,logging
#/dev/vx/dsk/webdg/webvol       /dev/vx/rdsk/webdg/webvol       /global/web     ufs     2       yes     global,logging
#/dev/did/dsk/d13s3 /dev/did/rdsk/d13s3 /global/.devices/node@3 ufs 2 no global
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
"/etc/vfstab" 15 lines, 712 characters
host09# df
/                  (/dev/dsk/c0t0d0s0 ):55586444 blocks  3844375 files
/devices           (/devices          ):       0 blocks        0 files
/system/contract   (ctfs              ):       0 blocks 2147483607 files
/proc              (proc              ):       0 blocks    29929 files
/etc/mnttab        (mnttab            ):       0 blocks        0 files
/etc/svc/volatile  (swap              ): 5887984 blocks   295254 files
/system/object     (objfs             ):       0 blocks 2147483492 files
/dev/fd            (fd                ):       0 blocks        0 files
/tmp               (swap              ): 5887984 blocks   295254 files
/var/run           (swap              ): 5887984 blocks   295254 files
/dev/vx/dmp        (swap              ): 5887984 blocks   295254 files
/dev/vx/rdmp       (swap              ): 5887984 blocks   295254 files
/net/instructor/opt/ses/software(instructor:/opt/ses/software):51809812 blocks  3925901 files
/globaldevices     (/dev/dsk/c0t0d0s3 ):  983662 blocks   248764 files
host09# Connection to host09 closed by foreign host.
host07# format
Unknown controller 'MD21' - /etc/format.dat (15)
Unknown controller 'MD21' - /etc/format.dat (20)
Unknown controller 'MD21' - /etc/format.dat (25)
Unknown controller 'MD21' - /etc/format.dat (151)
Unknown controller 'MD21' - /etc/format.dat (155)
Unknown controller 'MD21' - /etc/format.dat (159)
Unknown controller 'MD21' - /etc/format.dat (163)
Unknown controller 'MD21' - /etc/format.dat (167)
Searching for disks...done
 
 
AVAILABLE DISK SELECTIONS:
       0. c0t8d0 <FUJITSU-MAU3036NCSUN36G-0802 cyl 24620 alt 2 hd 27 sec 107>
          /pci@1e,600000/scsi@2/sd@8,0
       1. c0t9d0 <FUJITSU-MAU3036NCSUN36G-0802 cyl 24620 alt 2 hd 27 sec 107>
          /pci@1e,600000/scsi@2/sd@9,0
       2. c0t10d0 <FUJITSU-MAU3036NCSUN36G-0802 cyl 24620 alt 2 hd 27 sec 107>
          /pci@1e,600000/scsi@2/sd@a,0
       3. c0t11d0 <FUJITSU-MAU3036NCSUN36G-0802 cyl 24620 alt 2 hd 27 sec 107>
          /pci@1e,600000/scsi@2/sd@b,0
       4. c1t8d0 <FUJITSU-MAU3036NCSUN36G-0802 cyl 24620 alt 2 hd 27 sec 107>
          /pci@1e,600000/scsi@3/sd@8,0
       5. c1t9d0 <FUJITSU-MAU3036NCSUN36G-0802 cyl 24620 alt 2 hd 27 sec 107>
          /pci@1e,600000/scsi@3/sd@9,0
       6. c1t10d0 <FUJITSU-MAU3036NCSUN36G-0802 cyl 24620 alt 2 hd 27 sec 107>
          /pci@1e,600000/scsi@3/sd@a,0
       7. c1t11d0 <FUJITSU-MAU3036NCSUN36G-0802 cyl 24620 alt 2 hd 27 sec 107>
          /pci@1e,600000/scsi@3/sd@b,0
       8. c2t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>  root
          /pci@1c,600000/scsi@2/sd@0,0
       9. c2t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>  root_mir
          /pci@1c,600000/scsi@2/sd@1,0
Specify disk (enter its number): 8
selecting c2t0d0: root
[disk formatted]
Warning: Current Disk has mounted partitions.
 
 
FORMAT MENU:
        disk       - select a disk
        type       - select (define) a disk type
        partition  - select (define) a partition table
        current    - describe the current disk
        format     - format and analyze the disk
        repair     - repair a defective sector
        label      - write label to the disk
        analyze    - surface analysis
        defect     - defect list management
        backup     - search for backup labels
        verify     - read and display labels
        save       - save new disk/partition definitions
        inquiry    - show vendor, product and revision
        volname    - set 8-character volume name
        !<cmd>     - execute <cmd>, then return
        quit
format> p
 
 
PARTITION MENU:
        0      - change `0' partition
        1      - change `1' partition
        2      - change `2' partition
        3      - change `3' partition
        4      - change `4' partition
        5      - change `5' partition
        6      - change `6' partition
        7      - change `7' partition
        select - select a predefined table
        modify - modify a predefined partition table
        name   - name the current table
        print  - display the current table
        label  - write partition map and label to the disk
        !<cmd> - execute <cmd>, then return
        quit
partition> p
Volume:  root
Current partition table (original):
Total disk cylinders available: 14087 + 2 (reserved cylinders)
 
Part      Tag    Flag     Cylinders         Size            Blocks
  0       root    wm     302 - 13977       66.36GB    (13676/0/0) 139166976
  1       swap    wu       0 -   301        1.47GB    (302/0/0)     3073152
  2     backup    wm       0 - 14086       68.35GB    (14087/0/0) 143349312
  3 unassigned    wm   13978 - 14081      516.75MB    (104/0/0)     1058304
  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 unassigned    wm   14082 - 14086       24.84MB    (5/0/0)         50880
 
partition> quir
`quir' is not expected.
partition> quit
 
 
FORMAT MENU:
        disk       - select a disk
        type       - select (define) a disk type
        partition  - select (define) a partition table
        current    - describe the current disk
        format     - format and analyze the disk
        repair     - repair a defective sector
        label      - write label to the disk
        analyze    - surface analysis
        defect     - defect list management
        backup     - search for backup labels
        verify     - read and display labels
        save       - save new disk/partition definitions
        inquiry    - show vendor, product and revision
        volname    - set 8-character volume name
        !<cmd>     - execute <cmd>, then return
        quit
format> quit
host07# df -h
Filesystem             size   used  avail capacity  Mounted on
/dev/dsk/c2t0d0s0       65G   5.3G    59G     9%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                   2.3G   1.3M   2.3G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
fd                       0K     0K     0K     0%    /dev/fd
swap                   2.3G    80K   2.3G     1%    /tmp
swap                   2.3G   168K   2.3G     1%    /var/run
swap                   2.3G     0K   2.3G     0%    /dev/vx/dmp
swap                   2.3G     0K   2.3G     0%    /dev/vx/rdmp
/dev/vx/dsk/webdg/webvol
                       469M   1.1M   421M     1%    /global/web
/dev/vx/dsk/nfsdg/nfsvol
                       469M   1.0M   422M     1%    /global/nfs
/dev/did/dsk/d11s3     486M   3.6M   434M     1%    /global/.devices/node@2
/dev/did/dsk/d9s3      486M   3.6M   434M     1%    /global/.devices/node@1
host07# metadb -a
metadb: host07: there are no existing databases
 
host07# metadb -a -f -c3 c2t0d0s7 c2t1d0s7
metadb: host07: c2t1d0s7: device size 0 is too small for metadevice database replica
 
host07# prtvtoc /dev/rdsk/c2t0d0s2
* /dev/rdsk/c2t0d0s2 (volume "root") partition map
*
* Dimensions:
*     512 bytes/sector
*     424 sectors/track
*      24 tracks/cylinder
*   10176 sectors/cylinder
*   14089 cylinders
*   14087 accessible cylinders
*
* Flags:
*   1: unmountable
*  10: read-only
*
*                          First     Sector    Last
* Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
       0      2    00    3073152 139166976 142240127   /
       1      3    01          0   3073152   3073151
       2      5    00          0 143349312 143349311
       3      0    00  142240128   1058304 143298431
       7      0    00  143298432     50880 143349311
host07#  prtvtoc /dev/rdsk/c2t0d0s2 | fmthard -s - /dev/rdsk/c2t1d0s2
fmthard:  New volume table of contents now in place.
host07# metadb -a -f -c3 c2t0d0s7 c2t1d0s7
host07# metadb
        flags           first blk       block count
     a        u         16              8192            /dev/dsk/c2t0d0s7
     a        u         8208            8192            /dev/dsk/c2t0d0s7
     a        u         16400           8192            /dev/dsk/c2t0d0s7
     a        u         16              8192            /dev/dsk/c2t1d0s7
     a        u         8208            8192            /dev/dsk/c2t1d0s7
     a        u         16400           8192            /dev/dsk/c2t1d0s7
host07#  vxdg list
NAME         STATE           ID
webdg        enabled              1165333860.29.host07
nfsdg        enabled              1165331287.23.host07
host07#  vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
c0t8d0s2     auto:sliced     nfsdg-01     nfsdg        online
c0t9d0s2     auto:sliced     webdg-01     webdg        online
c0t10d0s2    auto:none       -            -            online invalid
c0t11d0s2    auto:none       -            -            online invalid
c1t8d0s2     auto:sliced     nfsdg-02     nfsdg        online
c1t9d0s2     auto:sliced     webfg-02     webdg        online
c1t10d0s2    auto:none       -            -            online invalid
c1t11d0s2    auto:none       -            -            online invalid
c2t0d0s2     auto:none       -            -            online invalid
c2t1d0s2     auto:none       -            -            online invalid
host07#