[Lustre-discuss] Unable to mount OST and client after tunefs.lustre

Alfonso Pardo alfonso.pardo at ciemat.es
Mon Apr 23 23:23:39 PDT 2012


IT'S WORK!!!!

Thanks you! I did a tunefs.lustre --writeconf on every server and I can 
mount the OST again


Cheers,
Alfonso


On 23/04/12 15:34, WANG Lu wrote:
> Hi,
>      referring to the man page of tunefs.lustre:
>
>
>               * Unmount all clients of this filesystem
>               * Unmount MDT and all OSTs of this filesystem
>               * Run tunefs.lustre --writeconf <device> on every server
>               * Mount MDT and OSTs
>               * Mount clients
>
>      It is highly recommended that you do a "--dryrun" with 
> tunefs.lustre first to make sure this operation will not change the 
> fsname, the index of OST etc , otherwise you will lost all your data.
>
> Cheers,
> Lu
>
>
>     -----原始邮件-----
>     *发件人:* "Alfonso Pardo" <alfonso.pardo at ciemat.es>
>     *发送时间:* 2012年4月23日 星期一
>     *收件人:* lustre-discuss at lists.lustre.org, wc-discuss at whamcloud.com
>     *抄送:*
>     *主题:* [Lustre-discuss] Unable to mount OST and client after
>     tunefs.lustre
>
>     Hi!
>
>     I have a problem mounting the OST and clients. I have a 1.8.4
>     lustre filesystem (it is a temporal filesystem before migrate a
>     v2.1 whamcloud), I did a "abort_recovery mount", after this when I
>     tried to mount the OST I get the next error:
>
>     /[root at OSS01 ~]# mount -v -t lustre /dev/mpath/NETAPP_OST1
>     /NETAPP_OST1
>     arg[0] = /sbin/mount.lustre
>     arg[1] = -v
>     arg[2] = -o
>     arg[3] = rw
>     arg[4] = /dev/mpath/NETAPP_OST1
>     arg[5] = /NETAPP_OST1
>     source = /dev/mpath/NETAPP_OST1 (/dev/mpath/NETAPP_OST1), target =
>     /NETAPP_OST1
>     options = rw
>     mounting device /dev/mpath/NETAPP_OST1 at /NETAPP_OST1, flags=0
>     options=device=/dev/mpath/NETAPP_OST1
>     warning: opening /sys/block/dm-1/queue/max_hw_sectors_kb: No such
>     file or directory
>     /sbin/mount.lustre: unable to set tunables for
>     /dev/mpath/NETAPP_OST1 (may cause reduced IO performance)
>     mount.lustre: mount /dev/mpath/NETAPP_OST1 at /NETAPP_OST1 failed:
>     No such device or address retries left: 0
>     mount.lustre: mount /dev/mpath/NETAPP_OST1 at /NETAPP_OST1 failed:
>     No such device or address
>     The target service failed to start (bad config log?)
>     (/dev/mpath/NETAPP_OST1)./
>
>     This is my config for MDS:
>
>     /tunefs.lustre /data_q1/
>     checking for existing Lustre data: not found
>
>     tunefs.lustre FATAL: Device /data_q1/ has not been formatted with
>     mkfs.lustre
>     tunefs.lustre: exiting with 19 (No such device)
>     [root at ia-p5-01 /]# umount /data_q1/
>     [root at ia-p5-01 /]# tunefs.lustre /dev/mpath/NETAPP_MDT
>     checking for existing Lustre data: found CONFIGS/mountdata
>     Reading CONFIGS/mountdata
>
>        Read previous values:
>     Target:     data_q1-MDT0000
>     Index:      0
>     Lustre FS:  data_q1
>     Mount type: ldiskfs
>     Flags:      0x5
>                   (MDT MGS )
>     Persistent mount opts: iopen_nopriv,user_xattr,errors=remount-ro
>     Parameters: mdt.quota_type=ug mdt.group_upcall=NONE
>
>
>        Permanent disk data:
>     Target:     data_q1-MDT0000
>     Index:      0
>     Lustre FS:  data_q1
>     Mount type: ldiskfs
>     Flags:      0x5
>                   (MDT MGS )
>     Persistent mount opts: iopen_nopriv,user_xattr,errors=remount-ro
>     Parameters: mdt.quota_type=ug mdt.group_upcall=NONE
>
>     exiting before disk write./
>
>     And this config for a typical OST:
>     /tunefs.lustre /dev/mpath/NETAPP_OST1
>     checking for existing Lustre data: found CONFIGS/mountdata
>     Reading CONFIGS/mountdata
>
>        Read previous values:
>     Target:     data_q1-OST0003
>     Index:      3
>     Lustre FS:  data_q1
>     Mount type: ldiskfs
>     Flags:      0x2
>                   (OST )
>     Persistent mount opts: errors=remount-ro,extents,mballoc
>     Parameters: mgsnode=192.168.11.32 at tcp ost.quota_type=ug
>
>
>        Permanent disk data:
>     Target:     data_q1-OST0003
>     Index:      3
>     Lustre FS:  data_q1
>     Mount type: ldiskfs
>     Flags:      0x2
>                   (OST )
>     Persistent mount opts: errors=remount-ro,extents,mballoc
>     Parameters: mgsnode=192.168.11.32 at tcp ost.quota_type=ug
>
>     exiting before disk write./
>
>
>     Could you help me?
>
>     -- 
>
>     /Alfonso Pardo Díaz/
>
>     */Researcher / System Administrator/*
>     /c/ Sola nº 1; 10200 Trujillo, ESPAÑA/
>     /Tel: +34 927 65 93 17 Fax: +34 927 32 32 37/
>
>     CETA-Ciemat logo <http://www.ceta-ciemat.es/>
>
>     ---------------------------- Confidencialidad: Este mensaje y sus
>     ficheros adjuntos se dirige exclusivamente a su destinatario y
>     puede contener información privilegiada o confidencial. Si no es
>     vd. el destinatario indicado, queda notificado de que la
>     utilización, divulgación y/o copia sin autorización está prohibida
>     en virtud de la legislación vigente. Si ha recibido este mensaje
>     por error, le rogamos que nos lo comunique inmediatamente
>     respondiendo al mensaje y proceda a su destrucción. Disclaimer:
>     This message and its attached files is intended exclusively for
>     its recipients and may contain confidential information. If you
>     received this e-mail in error you are hereby notified that any
>     dissemination, copy or disclosure of this communication is
>     strictly prohibited and may be unlawful. In this case, please
>     notify us by a reply and delete this email and its contents
>     immediately. ---------------------------- 
>
>


-- 

/Alfonso Pardo Díaz/

*/Researcher / System Administrator/*
/c/ Sola nº 1; 10200 Trujillo, ESPAÑA/
/Tel: +34 927 65 93 17 Fax: +34 927 32 32 37/

CETA-Ciemat logo <http://www.ceta-ciemat.es/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20120424/06159f7d/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 26213 bytes
Desc: not available
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20120424/06159f7d/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 26213 bytes
Desc: not available
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20120424/06159f7d/attachment-0001.png>


More information about the lustre-discuss mailing list