[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference cookie::aim$notes:disk_defrag

Title:Disk File Optimizer (DFO) for OpenVMS
Notice:Kits and documents: last reply to note 1
Moderator:COOKIE::AMEND
Created:Tue May 16 1989
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:539
Total number of notes:2544

478.0. "OFFLINE_VOLUME on SYSTEM DISK" by CSC32::B_PRATTS () Fri Mar 01 1996 15:50

T.RTitleUserPersonal
Name
DateLines
478.1Can't dismount a system diskGIDDAY::GILLINGSa crucible of informative mistakesSun Mar 03 1996 16:005
478.2Need to take the disk offlineCOOKIE::AMENDMon Mar 04 1996 08:2517
478.3defrag shadowed system diskKAOFS::B_CROOKBrian @KAOWed Mar 26 1997 10:0513
    WRT defragging a system disk, I have the following config:
      4 node cluster, all running VMS V5.5-2
      single (shared) system disk is 2 member shadow set
      TA86 tape drive is available
      SAB is available
      a minimum of downtime on the cluster is available
    
    what is the fastest/bestest way for me to defrag the system disk?
    (If I need to split the system disk shadow set to perform the defrag,
    how do I do that?)
    
    thanks,
    Brian
478.4To defragment INDEXF.SYS might have to do a backup restoreCOOKIE::AMENDThu Mar 27 1997 10:3345
Brian

  I am not sure what you you want to do: defragment the disk or
  just defragment INDEXF.SYS.  You can defragment the system disk
  as you would any other disk.  However, if you want to
  defragment INDEXF.SYS that is problem.  I do not know all of
  the ins and outs of shadow sets, especially system disks in
  shadow sets.  I just talked to our system manager about doing
  it and he did not think it was very easy to do either.

  How bad is your INDEXF.SYS fragmented?  It may not be worth the
  trouble.

  The system managers suggestion would be to boot up standalone
  backup and do a backup to your TA86 and then restore it.  He
  said this would take about 2 hours.

  I was going to suggest something like:

    Boot up on disk 1 without disk 2
    Defragment disk 2
    Boot up on disk 2
    bring disk 1 into the shadow set

  However, I have no idea how to do this with a system
  shadow set.

  For a none system shadow set, you can do the following:

  1.  Dismount both members of the shadow set

  2.  Mount one of the physical disk volumes with
      /OVERRIDE=SHADOW and then dismount it before doing the
      defragmentation.
  
  3.  Defragment the INDEXF.SYS on the disk volume.

  4.  Mount the disk volume into the shadow set.

  5.  Add the disk volume that not defragmented into the shadow
      set.

  thanks
    jim amend
  
478.5KAOFS::B_CROOKBrian @KAOThu Mar 27 1997 11:5713
    thanks for the reply Jim,
    
    I did want to defrag the whole disk. The DEC File Optimizer
    (V1.1-A) reports it with a 50% fragmentation index (20% free space and
    30% file) I can't seem to get it much better than that due to the many
    open files on the disk. Downtime is a rare thing so I am trying to take
    maximum advantage of a downtime window that I do have coming up.
    
    The system disk has about 2,600,000 block in use (RA73) and I don't
    think I can get it to tape and back in 2 hours? I was hoping to get a
    method of splitting the shadow set and doing disk to disk and for that
    reason, I like your 3rd option/method in .3.