[Lustre-discuss] two problems

Andreas Dilger andreas.dilger at oracle.com
Fri May 28 12:34:38 PDT 2010


On 2010-05-27, at 04:15, Stefano Elmopi wrote:
> A clarification on what I wrote, the command that go server MGS/MDS in Kernel Panic is:
> 
>> My version of Lustre is 1.8.3
>> By testing, I tried to delete a OST and replace it with another OST
>> and now the situation is this:
>> 
>> cat /proc/fs/lustre/lov/lustre01-mdtlov/target_obd 
>> 0: lustre01-OST0000_UUID ACTIVE
>> 2: lustre01-OST0002_UUID ACTIVE
>> 
>> - first problem
>> lustre01-OST0001_UUID ACTIVE is the OST was canceled and it had files,
>> which of course now there are not more:

Ideally, you should migrate files off the OST before deleting it.

>> ls -lrt
>> total 12475312
>> ?--------- ? ?    ?             ?            ? zero.dat
>> ?--------- ? ?    ?             ?            ? ubuntu-9.10-dvd-i386.iso
>> ?--------- ? ?    ?             ?            ? XXXXXXXXX_CentOS-5.4-x86_64-bin-DVD.iso
>> ?--------- ? ?    ?             ?            ? Windows_XP-Capodarco.iso
>> ?--------- ? ?    ?             ?            ? UBUNTU_CentOS-5.4-x86_64-bin-DVD.iso
>> ?--------- ? ?    ?             ?            ? KK_CentOS-5.4-x86_64-bin-DVD.iso
>> ?--------- ? ?    ?             ?            ? FFFFF_CentOS-5.4-x86_64-bin-DVD.iso
>> ?--------- ? ?    ?             ?            ? CentOS-5.3-i386-bin-DVD.iso
>> ?--------- ? ?    ?             ?            ? BBBBB_CentOS-5.4-x86_64-bin-DVD.iso
>> ?--------- ? ?    ?             ?            ? BAK_CentOS-5.4-x86_64-bin-DVD.iso
>> ?--------- ? ?    ?             ?            ? 2.iso
>> 
>> 
>> I to delete them, follow these steps:

You should be able to delete them from the client with "unlink zero.dat", which will return an ENOENT error, but the file should be gone.  No need to run lfsck at all.

>> and the server MGS/MDS go to in Kernel Panic

What do the MDS console messages say?  That is the root of the problem.

Cheers, Andreas
--
Andreas Dilger
Lustre Technical Lead
Oracle Corporation Canada Inc.




More information about the lustre-discuss mailing list