Hi,
My question was answered by Steve Hancock USG <hancock_at_decatl.alf.dec.com>.
Thanks Steve. He writes:
    The answer to your question is that when you use the showfile command
    without the '-x' switch you are only looking at the location of the
    metadata for the file which cannot be migrated with the migrate command.
    Try looking at the extent map which shows where the data blocks for
    you files reside (assuming the file is larger than a full-sized block
    or 8k) by using the "showfile -x" command. I think you's find this
    works better. 
and indeed, this works.
// Tom
Here my original posting:
Thomas Leitner wrote:
> 
> Hi,
> 
> I'm running DU 4.0D and found that the migrate AdvFS utility does not
> work as advertized in the man pages:
> 
> # showfdmn inw_dmn
> 
>                Id              Date Created  LogPgs  Domain Name
> 357ec4f8.000e0360  Wed Jun 10 19:40:08 1998     512  inw_dmn
> 
>   Vol   512-Blks        Free  % Used  Cmode  Rblks  Wblks  Vol Name
>    1L    8887200     2545696     71%     on    256    256  /dev/rz3c
>    2     8467200     2434528     71%     on    256    256  /dev/rz0c
>    3     4194058       68832     98%     on    256    256  /dev/rz1c
>       ----------  ----------  ------
>         21548458     5049056     77%
> 
> # showfile *
> 
>          Id  Vol  PgSz  Pages  XtntType  Segs  SegSz  I/O   Perf  File
>   2039.8003    1    16  67506    simple    **     **  async 100%  i.iso
>   27cb.8005    2    16  67506    simple    **     **  async  99%  i1.iso
>   27c9.8004    2    16   1153    simple    **     **  async 100%  i2.iso
> 
> # migrate -s 2 -d 1 i2.iso
> # showfile *
> 
>          Id  Vol  PgSz  Pages  XtntType  Segs  SegSz  I/O   Perf  File
>   2039.8003    1    16  67506    simple    **     **  async 100%  i.iso
>   27cb.8005    2    16  67506    simple    **     **  async  99%  i1.iso
>   27c9.8004    2    16   1153    simple    **     **  async 100%  i2.iso
> # migrate -d 1 i2.iso
> # showfile *
> 
>          Id  Vol  PgSz  Pages  XtntType  Segs  SegSz  I/O   Perf  File
>   2039.8003    1    16  67506    simple    **     **  async 100%  i.iso
>   27cb.8005    2    16  67506    simple    **     **  async  99%  i1.iso
>   27c9.8004    2    16   1153    simple    **     **  async  94%  i2.iso
> 
> Can anyone shed some light on this?
--------------------------------------------------------------------------
T o m   L e i t n e r                       Dept. of Communications
                                            Graz University of Technology, 
e-mail    : tom_at_finwds01.tu-graz.ac.at      Inffeldgasse 12
Phone     : +43-316-873-7455                A-8010 Graz / Austria / Europe
Fax       : +43-316-463-697
Home page : 
http://wiis.tu-graz.ac.at/people/tom.html
PGP public key on : 
ftp://wiis.tu-graz.ac.at/pgp-keys/tom.asc or send 
mail with subject "get Thomas Leitner" to pgp-public-keys_at_keys.pgp.net
--------------------------------------------------------------------------
    Before we have the paperless office, we have the paperless toilet!
Received on Tue Jun 16 1998 - 14:16:04 NZST