Alfonso Pardo
2012-Apr-23 08:00 UTC
[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. ---------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20120423/260aebcf/attachment-0001.html -------------- 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/attachments/20120423/260aebcf/attachment-0001.png
WANG Lu
2012-Apr-23 13:34 UTC
[Lustre-discuss] Unable to mount OST and client after tunefs.lustre
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 ---------------------------- 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. ---------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20120423/6dd23000/attachment-0001.html -------------- 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/attachments/20120423/6dd23000/attachment-0001.png
Alfonso Pardo
2012-Apr-24 06:23 UTC
[Lustre-discuss] Unable to mount OST and client after tunefs.lustre
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/attachments/20120424/06159f7d/attachment-0001.html -------------- 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/attachments/20120424/06159f7d/attachment-0002.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/attachments/20120424/06159f7d/attachment-0003.png