[Lustre-discuss] Unable to mount OSTs

Andrus, Brian Contractor bdandrus at nps.edu
Wed Dec 15 23:56:18 PST 2010


Well e2fsck didn't help. Same error for those two (Function not
implemented).
I also see in the MGS/MDS log each time I try:
LustreError: 5974:0:(mgs_handler.c:487:mgs_handle_target_reg()) Failed
to write nscratch-OST0001 log (-38)
LustreError: 5973:0:(mgs_handler.c:487:mgs_handle_target_reg()) Failed
to write nscratch-OST0002 log (-38)



Brian Andrus

-----Original Message-----
From: lustre-discuss-bounces at lists.lustre.org
[mailto:lustre-discuss-bounces at lists.lustre.org] On Behalf Of Andrus,
Brian Contractor
Sent: Wednesday, December 15, 2010 11:48 PM
To: Andreas Dilger
Cc: lustre-discuss at lists.lustre.org
Subject: Re: [Lustre-discuss] Unable to mount OSTs

I actually did run writeconf on the MGS/MDS as well. 
I just did it again to test.

Followed the instructions in section 4.3.11 in the luster manual.
Mounting MDT goes fine.
Mounting the OSTs, the first just seems to be hanging. The other two
both gave:
[root at ost2 ~]# mount -t lustre /dev/VG_lustre/scratch_ost2
/mnt/lustre/scratch/ost2/
mount.lustre: mount /dev/VG_lustre/scratch_ost2 at
/mnt/lustre/scratch/ost2 failed: Function not implemented

Currently running e2fsck on the two OSTs that didn't want to mount. I
have already run it, but doing so again, just in case.

Brian Andrus

-----Original Message-----
From: Andreas Dilger [mailto:andreas.dilger at oracle.com] 
Sent: Wednesday, December 15, 2010 10:55 PM
To: Andrus, Brian Contractor
Cc: lustre-discuss at lists.lustre.org
Subject: Re: [Lustre-discuss] Unable to mount OSTs

On 2010-12-15, at 22:50, Andrus, Brian Contractor wrote:
> I did change IPs of the NID for 2 or our lustre filesystems.
> Made appropriate changes to each ost. One thing I did that I probably
shouldn't have was doing a --writeconf on the OSTs. Now I see:
>  
> Flags:      0x142
>               (OST update writeconf )
> and I cannot mount them. I get:
>  
> mount.lustre: mount /dev/VG_lustre/scratch_ost1 at
/mnt/lustre/scratch/ost1 failed: Function not implemented
> however I do seem to be able to mount the OSTs that I didn't do
--writeconf on.

You can binary edit this flag in the "CONFIGS/mountdata" file on each
OST.
Alternately, you could follow the process in the manual, and run
writeconf on the MGS and MDS as well, and then the OSTs should be able
to register again.

> I see in syslog:
> LustreError: 6182:0:(obd_mount.c:1097:server_start_targets()) Required
registration failed for nscratch-OST0001: -38

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

_______________________________________________
Lustre-discuss mailing list
Lustre-discuss at lists.lustre.org
http://lists.lustre.org/mailman/listinfo/lustre-discuss



More information about the lustre-discuss mailing list