xfs
[Top] [All Lists]

xfsdump/restore Not Restoring Regions

To: linux-xfs@xxxxxxxxxxx
Subject: xfsdump/restore Not Restoring Regions
From: "James A Goodwin" <jagoodwi@xxxxxxxxxx>
Date: Thu, 20 Jun 2002 08:06:03 -0500
Sender: owner-linux-xfs@xxxxxxxxxxx
We have been doing some testing with xfsdump/xfsrestore and have noticed
that DMAPI regions present on files at dump time are not restored.

We have installed the xfsdump-2.0.1-0 RPM and are running with XFS Release
1.1.

Here's a quick rundown of our procedure:

1. # mount -t xfs -o dmapi /dev/hdb10 /mnt/tim3
2. # cd /mnt/tim3
3. Create a file called file1 with filesize 48891 bytes.
4. Create some regions on file1.
5. Verify the regions are really there.
6. # cd ../
7. # xfsdump -f /tmp/xfsdump.out /mnt/tim3
   .
   .
   .
   xfsdump: Dump Status: SUCCESS
8. # cd /mnt/tim3
9. # cd ../
10. # umount /mnt/tim3
11. # mount -t xfs /dev/hdb10 /mnt/tim3_restore
12. # xfsrestore -f /tmp/xfsdump.out /mnt/tim3_restore
    .
    .
    .
    xfsrestore: Restore Status: SUCCESS
13. # umount /mnt/tim3_restore
14. # mount -t xfs -o dmapi /dev/hdb10 /mnt/tim3
15. # cd /mnt/tim3
16. /opt/hpss_xfs/bin/getdmattr /mnt/tim3/file1
17. Look for the regions that were on file1, and they are gone.

Thanks,

James Goodwin
IBM Global Services - Federal
jagoodwi@xxxxxxxxxx
(281) 336-2578




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