Forum Discussion

gregsih's avatar
gregsih
Level 4
12 years ago

Veritas Volume Manager problem

We have 2 Sun 3510 arrays each containing three disks. VxVM, on Solaris 10 for SPARC, has been set up to mirror each disk, ie Array 1 Disk 1 is mirrored to Array 2 Disk 1 etc etc. We had a problem wi...
  • g_lee's avatar
    12 years ago

    Greg,

    Try on Disk_9 first

    # vxdiskunsetup -C Disk_9

    # vxdisksetup -i Disk_9 format=cdsdisk privlen=2048

    # vxdisk list Disk_9

    The fields in bold (from your previous output) should be the same. If they're not, stop here and post the vxdisk list Disk_9 output!

    root@server01 # vxdisk list Disk_9
    [...]
    info:      format=cdsdisk,privoffset=256,pubslice=2,privslice=2
    flags:     online ready private autoconfig autoimport
    pubpaths:  block=/dev/vx/dmp/Disk_9s2 char=/dev/vx/rdmp/Disk_9s2
    version:   3.1
    iosize:    min=512 (bytes) max=2048 (blocks)
    public:    slice=2 offset=2304 len=1140796160 disk_offset=0
    private:   slice=2 offset=256 len=2048 disk_offset=0

    [...]
    Multipathing information:
    numpaths:   1
    c5t40d1s2       state=enabled

    If they are the same, try to add this to the dg now:

    # vxdg -g datadg -k adddisk datadg04=Disk_9

    Repeat steps for Disk_10, Disk_11 (ensure privlen=2048 is specified in the vxdisksetup command)

    If this works, then post the vxprint -qhtrg datadg output after adding the disks so the plexes can be recovered