On 2014/01/13, 11:29 AM, "Peter Mistich" <[email protected]>
wrote:

>Yes I have root and write permissions.
>
>Still have the issue not sure how to fix.

Can you please do the following on the MDS as root (hopefully when the
system is relatively lightly loaded:

  DEBUG_SAVE=$(lctl get_param debug)
  lctl set_param debug=-1
  lctl clear

Then immediately run on the client:

  lctl set_param debug=-1
  lctl clear
  lfs_migrate /path/to/file/with/problems
  lctl dk /tmp/debug.client

and then on the MDS:

  lctl dk /tmp/debug.mds

and attach the resulting debug.mds and debug.client files to
http://jira.hpdd.intel.com/browse/LU-4293.

Cheers, Andreas

>On 01/10/2014 01:50 PM, Dilger, Andreas wrote:
>> On 2013/12/19, 6:16 AM, "Peter Mistich" <[email protected]>
>> wrote:
>>
>>> hope this helps
>>>
>>> 
>>>/opt/zenoss/perf//Daemons/bb01lr02s06.dfw1/zenperfsnmp-thresholds.pickle
>>>:
>>> cannot
>>> swap layouts between
>>> 
>>>/opt/zenoss/perf//Daemons/bb01lr02s06.dfw1/zenperfsnmp-thresholds.pickle
>>> and a volatile file (Operation not permitted)
>>> error: migrate: migrate stripe file
>>> 
>>>'/opt/zenoss/perf/Daemons/bb01lr02s06.dfw1/zenperfsnmp-thresholds.pickle
>>>'
>>> failed
>>>
>>> lfs getstripe -v
>>> /opt/zenoss/perf/Daemons/bb01lr02s06.dfw1/zenperfsnmp-thresholds.pickle
>>> /opt/zenoss/perf/Daemons/bb01lr02s06.dfw1/zenperfsnmp-thresholds.pickle
>>> lmm_magic:          0x0BD10BD0
>>> lmm_seq:            0x200000423
>>> lmm_object_id:      0x324d
>> This looks like a new-style FID (i.e. file allocated on 2.x server)
>> instead of an upgraded Lustre 1.x IGIF FID (would have lmm_seq <
>> 0x100000000).
>>
>> This is different than the problem that I was investigating in LU-4293.
>>
>> Are you running this as root, or a regular user?  Presumably you have
>> write permission on the file?
>>
>>
>>> lmm_stripe_count:   1
>>> lmm_stripe_size:    1048576
>>> lmm_pattern:        1
>>> lmm_layout_gen:     0
>>> lmm_stripe_offset:  1
>>>          obdidx           objid           objid           group
>>>               1         1347728       0x149090                0
>>>
>>>
>>> Thanks,
>>> Pete
>>>
>>>
>>>
>>> On 12/19/2013 12:07 AM, Dilger, Andreas wrote:
>>>> If you have only run with Lustre 2.5, can you please run "lfs
>>>>getstripe
>>>> -v /path/to/file" to print out the FID and other layout information
>>>>for
>>>> the file.
>>>>
>>>> Cheers, Andreas
>>>>
>>>>> On Dec 17, 2013, at 19:22, "Peter Mistich"
>>>>> <[email protected]> wrote:
>>>>>
>>>>> Thank Amdreas, I will try the new lfs_migrate and let you know.
>>>>>
>>>>> However I have only run lustre 2.5
>>>>>
>>>>> Thanks,
>>>>> Pete
>>>>>
>>>>>> On 12/17/2013 07:49 PM, Dilger, Andreas wrote:
>>>>>> I saw this same problem on my system - it happens when trying to
>>>>>> migrate a file created with Lustre 1.8.
>>>>>>
>>>>>> See https://jira.hpdd.intel.com/browse/LU-4293 for details.
>>>>>>
>>>>>> I have an updated version of lfs_migrate that works around this
>>>>>> problem that I should push to Gerrit. The patch will be linked to
>>>>>>the
>>>>>> above bug when ready.
>>>>>>
>>>>>> Cheers, Andreas
>>>>>>
>>>>>> On Dec 17, 2013, at 18:43, "Peter Mistich"
>>>>>> <[email protected]<mailto:[email protected]>>
>>>>>> wrote:
>>>>>>
>>>>>> Hello,
>>>>>> today I added a ost and trying to balance them and when I run
>>>>>> lfs_migrate I get cannot swap layouts between <filename> and a
>>>>>> volatile
>>>>>> file (Operation not permitted)
>>>>>>
>>>>>> I am running lustre-2.5.52
>>>>>>
>>>>>> any help would be great.
>>>>>>
>>>>>> Thanks,
>>>>>> Pete
>>>>>>


Cheers, Andreas
-- 
Andreas Dilger

Lustre Software Architect
Intel High Performance Data Division


_______________________________________________
Lustre-discuss mailing list
[email protected]
http://lists.lustre.org/mailman/listinfo/lustre-discuss

Reply via email to