• HEADS UP 05-15-2011 Comments Off

    _allow_resetlogs_corruption=TRUE

    This will at least allow you to open the database, then perform an export. It is NOT recommended that the database continue production operations as it will definitely crash in the near future.

  • Linux, Vertias, VxFS 05-12-2011 Comments Off
    Scan the fibre and re-read the device maps:
    /opt/QLogic_Corporation/ql-dynamic-tgt-lun-disc-2.5/ql-dynamic-tgt-lun-disc.sh
    
    vxdctl initdmp
    vxdctl enable
    
    vxdisk list #will show something similar to:
    fas60801_40  auto            -            -            error
    
    verify the 'FAS' number from sanlun output to make sure we are working with the correct device!
    
    #Initialize the new disk
    vxdisksetup -i fas60801_40
    vxdisk list #will now show the disk online:
    fas60801_40  auto:cdsdisk    -            -            online thinrclm
    
    To create a volume in an existing disk group:
    vxdg -g DGNAME adddisk DGNAME-Disk=FAS60800_27
    ex: vxdg -g proddg adddisk proddg-redoDisk=FAS60800_27
    
    # see how big we can make a concat on the new disk
    vxassist -b -g proddg maxsize layout=concat proddg-redoDisk
    output will be like this:
    Maximum volume size: nnnnnnn (XXXXMb)
    
    # make the volume
    vxassist -b -g proddg make proddg-redoVol XXXXm layout=concat proddg-redoDisk
    
    # mkfs.vxfs /dev/vx/rdsk/proddg/proddg-redoDisk
    
    # then mount it up and off you go!
    
    For a new disk group:
    #Initialize the new disk group
    vxdg init SOMETHING_dg SOMETHING-1=fas60801_40
    
    vxdisk -o alldgs list
    will now show the new disk in its new group:
    fas60801_40  auto:cdsdisk    SOMETHING-1  SOMETHING_dg online thinrclm
    
    #Create logical volume and filesystem
    
    vxassist -g SOMETHING_dg make SOMETHING-vol1  SOMETHING-1
    
    #make the filesystem
    /usr/lib/fs/vxfs/mkfs -t vxfs -o largefiles /dev/vx/rdsk/SOMETHING_dg/SOMETHING-vol1
    
    #Mount up the filesystem
    mount -t vxfs /dev/vx/rdsk/SOMETHING_dg/SOMETHING-vol1 /where/ever
    
  • Linux, NFS 05-06-2011 Comments Off

    for i in `mount|grep nfs|awk ‘{print $3}’`; do echo -n “testing $i now…”; cd $i; ls|wc -l; cd; done