| To: | jgl@xxxxxxxxxxxxxx |
|---|---|
| Subject: | Re: XFS dmapi: dm_path_to_handle fails if the path is a directory |
| From: | Vlad Apostolov <vapo@xxxxxxx> |
| Date: | Fri, 03 Nov 2006 13:41:47 +1100 |
| Cc: | linux-xfs@xxxxxxxxxxx, John Groves <John@xxxxxxxxxx>, Dean Roehrich <roehrich@xxxxxxx> |
| In-reply-to: | <454A94A6.6040907@johngroves.net> |
| References: | <4547DA70.4040107@Groves.net> <4547EDFD.8020407@sgi.com> <454A94A6.6040907@johngroves.net> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Thunderbird 1.5.0.7 (X11/20060909) |
John Groves wrote:
Thanks for your replies, Vlad, although I don't find anything so far that helps with my problem (my paths are not long, and my calls to dm_path_to_handle have been running in production environments for a couple of years). As far as I can see, dm_path_to_handle does not work on a directory (?), although it works perfectly on a file. I will try to dig deeper into this over the next few days, but here is a somewhat clearer explanation of the behavior I am seeing. Hi John, I did try this on my dmapi filesystem: emu:/mnt/scratch1/dmapi_test # mkdir -p x/y/z emu:/mnt/scratch1/dmapi_test # /home/vapo/isms/xfs-cmds/xfstests/dmapi/src/suite1/cmd/path_to_handle x/y 5d1111a90e4800000e00000003000000d903400000000000 emu:/mnt/scratch1/dmapi_test # mv x/y x/w emu:/mnt/scratch1/dmapi_test # /home/vapo/isms/xfs-cmds/xfstests/dmapi/src/suite1/cmd/path_to_handle x/w 5d1111a90e4800000e00000003000000d903400000000000 emu:/mnt/scratch1/dmapi_test # I also tried path_to_handle with relative path to a directory it worked fine too. When you say dm_path_to_handle fails, what is the error returned? Regards, Vlad |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Xfs-mailinglist question (xfs mounting problem, hdb1 just freezes), Timothy Shimmin |
|---|---|
| Next by Date: | Re: XFS dmapi: dm_path_to_handle fails if the path is a directory, Vlad Apostolov |
| Previous by Thread: | Re: XFS dmapi: dm_path_to_handle fails if the path is a directory, John Groves |
| Next by Thread: | Re: XFS dmapi: dm_path_to_handle fails if the path is a directory, John Groves |
| Indexes: | [Date] [Thread] [Top] [All Lists] |