Here is where the script is stuck: Script is the one in this document:
http://wiki.lustre.org/manual/LustreManual18_HTML/LustreOperatingTips.html
# ./MOVE.sh -O hpc-OST0031_UUID /lustre
+ CKSUM=md5sum
+ getopts O: opt -O hpc-OST0031_UUID /lustre
+ case $opt in
+ OST_PARAM=' -O hpc-OST0031_UUID'
+ getopts O: opt -O hpc-OST0031_UUID /lustre
+ shift 2
+ MVDIR=/lustre
+ '[' 1 -ne 1 -o '!' -d /lustre ']'
+ read OLDNAME
+ lfs find -type f -O hpc-OST0031_UUID /lustre
The above Process does not proceed any further?
I have multiple OST’s being migrated at the same time, could this be an issue?
From: hpdd-discuss-bounces@lists.01.org [mailto:hpdd-discuss-bounces@lists.01.org]
On Behalf Of Kumar, Amit
Sent: Friday, October 11, 2013 4:25 PM
To: hpdd-discuss@lists.01.org
Subject: Re: [HPDD-discuss] lfs find stuck
Another strange thing is when I am running the migrate script, the usage on OST is increasing instead of decreasing, I have not seen this behavior before, hope
somebody can throw some light on this.
Regards,
Amit
From:
hpdd-discuss-bounces@lists.01.org [mailto:hpdd-discuss-bounces@lists.01.org]
On Behalf Of Kumar, Amit
Sent: Friday, October 11, 2013 3:44 PM
To: hpdd-discuss@lists.01.org
Subject: [HPDD-discuss] lfs find stuck
Dear All,
I have deactivated an OST, so that I can migrate data off of it.
For some strange reason when I try to run the migration script against this one OST, I do not see it doing anything for almost eternity.
When I the same process with strace, I see it is trying to open files and move to next file. But I do not see it moving any files at all, this OST is 60% full,
so I know for sure file exists.
Can anybody help me understand this.
Q) Do you think it can take hours together to find the first file to move?
Any tips to debug this issue?
Thank you,
Amit