ADSM-L

Re: MOVE DATA associated volumes

2000-03-02 08:37:29
Subject: Re: MOVE DATA associated volumes
From: Gary Ison <Gary.Ison AT MAIL.STATE.KY DOT US>
Date: Thu, 2 Mar 2000 08:37:29 -0500
        You may be able to determine this with the following scenario.

        Q CON vol-name COUNT=-1 Show last file on a volume

        SELECT VOLUME_NAME FROM CONTENTS WHERE FILE_NAME=(last-file-on-vol)

        SELECT STATUS FROM VOLUMES WHERE
VOLUME_NAME=(volume-name-from-select)

        Make sure you use the exact case in the select statement as
displayed on the volume query.  I have never tried this but it makes sense.
The only drawback is that every content entry in the database is searched
and with a large number of volume and file entries, this could be quite time
consuming.

        Is it possible the associated volume is required for aggregate
movement (your file is part of an aggregate ending on the other volume)?

        Gary L. Ison
        101 Cold Harbor Drive
        Frankfort, Ky.   40601
        Phone:  (502) 564-8724
            Fax:  (502) 564-6856
Gary.Ison AT mail.state.ky DOT us <mailto:Gary.Ison AT mail.state.ky DOT us>

<Prev in Thread] Current Thread [Next in Thread>