recover xfs with v1 dirs on linux?
Hi everybody,
I want to recover old SGI Irix xfs disks, but I don't have any more the old hardware. I was able to copy the xfs partition in a file with dd and I could run xfs_recover, xfs_check and xfs_ncheck, which gives me the filenames. But I was not able to mount this file. Kernel 2.6.17 gives "Function not implemented", while 2.6.5 mounts, but the disk looks empty.
I think the reason is "v1 dirs":
file img4.xfs
img4.xfs: SGI XFS filesystem data (blksz 4096, inosz 256, v1 dirs)
Is there a way to get the files? I have the innode numbers and filenames as an output of xfs_ncheck:
....
947364 abc/MIXDUM/MD110/20K/step9/dynrt.out.gz
184821 aa/Monteal/fmd3kev-45K/cluster.I.076.gz
1286273 abc/MIXDUM/MD111/250K/step10/dyn5.f1.gz
...
Thank you,
Jan
[[HTML alternate version deleted]]
Quoted 13 lines · Honza Fikar
Hi everybody,
I want to recover old SGI Irix xfs disks, but I don't have any more the old hardware. I was able to copy the xfs partition in a file with dd and I could run
xfs_recover,xfs_checkandxfs_ncheck, which gives me the filenames. But I was not able to mount this file. Kernel 2.6.17 gives "Function not implemented", while 2.6.5 mounts, but the disk looks empty.I think the reason is "v1 dirs":
file img4.xfs
img4.xfs: SGI XFS filesystem data (blksz 4096, inosz 256, v1 dirs)
Quoted 7 lines
Is there a way to get the files? I have the innode numbers and filenames as an output of
xfs_ncheck:
....
947364 abc/MIXDUM/MD110/20K/step9/dynrt.out.gz
184821 aa/Monteal/fmd3kev-45K/cluster.I.076.gz
1286273 abc/MIXDUM/MD111/250K/step10/dyn5.f1.gz
...
v1dir support was removed a short while ago, they never really worked on Linux.
http://oss.sgi.com/projects/xfs/faq.html#useirixxfs
Older kernels had rudimentary v1 support, and you may find some degree of functionality, or, as it seems in your case, no functionality at all.
If this is terribly important data, then some finite amount of work (involving a patched glibc, IIRC) might be able to get you going.
-Eric
Actually the real answer is that this is something that SGI Managed Services can do for a one-off fee. We will not be supporting V1 directories on Linux and there is simply not sufficient demand/$$ to justify SGI engineering doing the work required to implement a tool.
I spoke to the local SGI Customer Support Manager and he assures me that any SGI service organisation worldwide would happily do this kind of service.
Mike
---
Mike Gigante
Engineering Director, Fileserving Technologies
SGI, Melbourne, Australia
NOTE: new phone number +61 3 9963 1951
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Eric Sandeen
Sent: Monday, October 16, 2006 11:53 PM
To: Honza Fikar
Cc: [email protected]
Subject: Re: recover xfs with v1 dirs on linux?
Quoted 7 lines · Honza Fikar
Hi everybody,
I want to recover old SGI Irix xfs disks, but I don't have any more the old hardware. I was able to copy the xfs partition in a file with dd and I could run
xfs_recover,xfs_checkandxfs_ncheck, which gives me the filenames. But I was not able to mount this file. Kernel 2.6.17 gives "Function not implemented", while 2.6.5 mounts, but the disk looks
empty.
Quoted 6 lines
I think the reason is "v1 dirs":
file img4.xfs
img4.xfs: SGI XFS filesystem data (blksz 4096, inosz 256, v1 dirs)
Quoted 7 lines
Is there a way to get the files? I have the innode numbers and filenames as an output of
xfs_ncheck:
....
947364 abc/MIXDUM/MD110/20K/step9/dynrt.out.gz 184821 aa/Monteal/fmd3kev-45K/cluster.I.076.gz 1286273 abc/MIXDUM/MD111/250K/step10/dyn5.f1.gz
...
v1dir support was removed a short while ago, they never really worked on Linux.
http://oss.sgi.com/projects/xfs/faq.html#useirixxfs
Older kernels had rudimentary v1 support, and you may find some degree of functionality, or, as it seems in your case, no functionality at all.
If this is terribly important data, then some finite amount of work (involving a patched glibc, IIRC) might be able to get you going.
-Eric
Quoted 9 lines
v1dir support was removed a short while ago, they never really worked on Linux.
http://oss.sgi.com/projects/xfs/faq.html#useirixxfs
Older kernels had rudimentary v1 support, and you may find some degree of functionality, or, as it seems in your case, no functionality at all.
If this is terribly important data, then some finite amount of work (involving a patched glibc, IIRC) might be able to get you going.
Can you please provide some hints, unfortunately I was not able to find it with google.
Jan