<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
IT'S WORK!!!!<br>
<br>
Thanks you! I did a tunefs.lustre --writeconf on every server and I
can mount the OST again<br>
<br>
<br>
Cheers,<br>
Alfonso <br>
<br>
<br>
On 23/04/12 15:34, WANG Lu wrote:
<blockquote
cite="mid:1b7d3ea.54a7.136df68fc64.Coremail.wanglu@ihep.ac.cn"
type="cite">Hi,
<div> referring to the man page of tunefs.lustre:</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div> * Unmount all clients of this filesystem</div>
<div> * Unmount MDT and all OSTs of this filesystem</div>
<div> * Run tunefs.lustre --writeconf
<device> on every server</div>
<div> * Mount MDT and OSTs</div>
<div> * Mount clients</div>
</div>
<div><br>
</div>
<div> 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. </div>
<div><br>
</div>
<div>Cheers,</div>
<div>Lu<br>
<br>
<br>
<blockquote name="replyContent"
style="padding-left:5px;margin-left:5px;border-left:#b6b6b6
2px solid;margin-right:0">-----原始邮件-----<br>
<b>发件人:</b> "Alfonso Pardo" <a class="moz-txt-link-rfc2396E" href="mailto:alfonso.pardo@ciemat.es"><alfonso.pardo@ciemat.es></a><br>
<b>发送时间:</b> 2012年4月23日 星期一<br>
<b>收件人:</b> <a class="moz-txt-link-abbreviated" href="mailto:lustre-discuss@lists.lustre.org">lustre-discuss@lists.lustre.org</a>,
<a class="moz-txt-link-abbreviated" href="mailto:wc-discuss@whamcloud.com">wc-discuss@whamcloud.com</a><br>
<b>抄送:</b> <br>
<b>主题:</b> [Lustre-discuss] Unable to mount OST and client
after tunefs.lustre<br>
<br>
<div class="moz-text-html" lang="x-western"> Hi!<br>
<br>
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:<br>
<br>
<small><i>[root@OSS01 ~]# mount -v -t lustre
/dev/mpath/NETAPP_OST1 /NETAPP_OST1<br>
arg[0] = /sbin/mount.lustre<br>
arg[1] = -v<br>
arg[2] = -o<br>
arg[3] = rw<br>
arg[4] = /dev/mpath/NETAPP_OST1<br>
arg[5] = /NETAPP_OST1<br>
source = /dev/mpath/NETAPP_OST1
(/dev/mpath/NETAPP_OST1), target = /NETAPP_OST1<br>
options = rw<br>
mounting device /dev/mpath/NETAPP_OST1 at /NETAPP_OST1,
flags=0 options=device=/dev/mpath/NETAPP_OST1<br>
warning: opening
/sys/block/dm-1/queue/max_hw_sectors_kb: No such file or
directory<br>
/sbin/mount.lustre: unable to set tunables for
/dev/mpath/NETAPP_OST1 (may cause reduced IO
performance)<br>
mount.lustre: mount /dev/mpath/NETAPP_OST1 at
/NETAPP_OST1 failed: No such device or address retries
left: 0<br>
mount.lustre: mount /dev/mpath/NETAPP_OST1 at
/NETAPP_OST1 failed: No such device or address<br>
The target service failed to start (bad config log?)
(/dev/mpath/NETAPP_OST1).</i></small><br>
<br>
This is my config for MDS:<br>
<br>
<small><i>tunefs.lustre /data_q1/<br>
checking for existing Lustre data: not found<br>
<br>
tunefs.lustre FATAL: Device /data_q1/ has not been
formatted with mkfs.lustre<br>
tunefs.lustre: exiting with 19 (No such device)<br>
[root@ia-p5-01 /]# umount /data_q1/<br>
[root@ia-p5-01 /]# tunefs.lustre /dev/mpath/NETAPP_MDT <br>
checking for existing Lustre data: found
CONFIGS/mountdata<br>
Reading CONFIGS/mountdata<br>
<br>
Read previous values:<br>
Target: data_q1-MDT0000<br>
Index: 0<br>
Lustre FS: data_q1<br>
Mount type: ldiskfs<br>
Flags: 0x5<br>
(MDT MGS )<br>
Persistent mount opts:
iopen_nopriv,user_xattr,errors=remount-ro<br>
Parameters: mdt.quota_type=ug mdt.group_upcall=NONE<br>
<br>
<br>
Permanent disk data:<br>
Target: data_q1-MDT0000<br>
Index: 0<br>
Lustre FS: data_q1<br>
Mount type: ldiskfs<br>
Flags: 0x5<br>
(MDT MGS )<br>
Persistent mount opts:
iopen_nopriv,user_xattr,errors=remount-ro<br>
Parameters: mdt.quota_type=ug mdt.group_upcall=NONE<br>
<br>
exiting before disk write.</i></small><br>
<br>
And this config for a typical OST:<br>
<small><i>tunefs.lustre /dev/mpath/NETAPP_OST1 <br>
checking for existing Lustre data: found
CONFIGS/mountdata<br>
Reading CONFIGS/mountdata<br>
<br>
Read previous values:<br>
Target: data_q1-OST0003<br>
Index: 3<br>
Lustre FS: data_q1<br>
Mount type: ldiskfs<br>
Flags: 0x2<br>
(OST )<br>
Persistent mount opts: errors=remount-ro,extents,mballoc<br>
Parameters: mgsnode=192.168.11.32@tcp ost.quota_type=ug<br>
<br>
<br>
Permanent disk data:<br>
Target: data_q1-OST0003<br>
Index: 3<br>
Lustre FS: data_q1<br>
Mount type: ldiskfs<br>
Flags: 0x2<br>
(OST )<br>
Persistent mount opts: errors=remount-ro,extents,mballoc<br>
Parameters: mgsnode=192.168.11.32@tcp ost.quota_type=ug<br>
<br>
exiting before disk write.</i></small><br>
<br>
<br>
Could you help me?<br>
<br>
</div>
<div class="moz-signature">-- <br>
<p><i><span style="font-family:Century Gothic,sans-serif;">Alfonso
Pardo Díaz</span></i></p>
<b><i><span style="font-family:Century Gothic,sans-serif;">Researcher
/ System Administrator</span></i></b><br>
<i><span style="font-family:Century Gothic,sans-serif;">c/
Sola nº 1; 10200 Trujillo, ESPAÑA</span></i><br>
<i><span style="font-family:Century Gothic,sans-serif;">Tel:
+34 927 65 93 17 Fax: +34 927 32 32 37</span></i>
<p><span><a moz-do-not-send="true"
href="http://www.ceta-ciemat.es/" target="_blank"><img
src="cid:part1.09020001.04020004@ciemat.es"
alt="CETA-Ciemat logo" border="0" height="76"
width="383"></a></span></p>
</div>
----------------------------
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.
----------------------------
</blockquote>
<br>
<span></span></div>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<p><i><span style="font-family:Century Gothic,sans-serif;">Alfonso
Pardo Díaz</span></i></p>
<b><i><span style="font-family:Century Gothic,sans-serif;">Researcher
/ System Administrator</span></i></b><br>
<i><span style="font-family:Century Gothic,sans-serif;">c/ Sola nº
1; 10200 Trujillo, ESPAÑA</span></i><br>
<i><span style="font-family:Century Gothic,sans-serif;">Tel: +34
927 65 93 17 Fax: +34 927 32 32 37</span></i>
<p><span><a href="http://www.ceta-ciemat.es/"><img
src="cid:part3.08040608.07050701@ciemat.es"
alt="CETA-Ciemat logo" border="0" height="76" width="383"></a></span></p>
</div>
</body>
</html>