[Lustre-discuss] Unable to mount OSTs

Wang Yibin wang.yibin at oracle.com
Wed Dec 15 23:00:28 PST 2010


Hi,

If you changed the NID of the servers, you need to do writeconf to let MGS erase and regenerate the system configuration.
First you need to shutdown the system, do writeconf on all the targets(MDT/OST), then you can restart the system in the order of MGS, MDT, OST, client.
Make proper change in the lnet options in /etc/modprobe.conf to reflect your NID info.
If you change the NID of the MGS, additional work needs to be done to let your server targets correctly communicate with the MGS. But since you only changed the NID of the OSTs, you don't have to worry about this.

在 2010-12-16,下午1:50, Andrus, Brian Contractor 写道:

> Hello,
>  
> In a pickle now..
>  
> I upgraded our lustre from 1.8.4 to 1.8.5.
>  
> We have an LVM that contains the MDTs and OSTs and is accessible via SRP. That seems to work without issues.
>  
> 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.
>  
> I see in syslog:
> LustreError: 6182:0:(obd_mount.c:1097:server_start_targets()) Required registration failed for nscratch-OST0001: -38
> LustreError: 6182:0:(obd_mount.c:1655:server_fill_super()) Unable to start targets: -38
> LustreError: 6182:0:(obd_mount.c:1438:server_put_super()) no obd nscratch-OST0001
> LustreError: 6182:0:(obd_mount.c:147:server_deregister_mount()) nscratch-OST0001 not registered
> LustreError: 6182:0:(obd_mount.c:2050:lustre_fill_super()) Unable to mount  (-38)
> Is there a way to clear the flags on an OST and get it to mount?
>  
> Brian Andrus
>  
>  
>  
> _______________________________________________
> Lustre-discuss mailing list
> Lustre-discuss at lists.lustre.org
> http://lists.lustre.org/mailman/listinfo/lustre-discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20101216/453eab38/attachment.htm>


More information about the lustre-discuss mailing list