There are several ways to build client RPMs, but here is an example steps to build kernel
modules and user space utilities for client.
Just install lustre-source, kernel and kernel-devel RPMs (that version are currently
running on your client) on your client, then go to lustre-source directory (normally
/usr/src/lustre-2.4.0) and run following command.
# ./configure --disable-server
(other options are required depends on your environment. e.g. if you installed external
OFED)
# make rpms
Thanks
Ihara
On Jul 29, 2013, at 7:41 PM, "Singhal, Upanshu" <upanshu.singhal(a)emc.com>
wrote:
Hello Ihara,
Thanks for your email. I have moved to RHEL 6.4 and Lustre 2.4. It seems that I am able
to build/install and configure MGS and OSS.
I was not able to install and configure Lustre OSS and MGS with pre-built RPMs so I moved
to building the kernel and Lustre sources myself. Now I am going to install and configure
client with building its sources. Are there any specific steps for building client RPMs?
Thanks,
-Upanshu
-----Original Message-----
From: Shuichi Ihara [mailto:sihara@ddn.com]
Sent: Monday, July 29, 2013 3:13 PM
To: Singhal, Upanshu
Cc: Dilger, Andreas; Adrian Ulrich; hpdd-discuss(a)lists.01.org
Subject: Re: [HPDD-discuss] Error Mounting OST device on OSS Server
I think that is fine, but lustre-2.3 was basically tested on rhel6.3 kernel. You might
need some adjustments of kernel patches for RHEL6.4.
btw, What is your specific reason to build kernel it self? Why not use lustre patched
kernel for servers?
Do you have any other specific kernel patches out of lustre related and need to apply
them?
If not, as Andreas suggested, try use pre-patched kernel instead of building kernel
yourself..
You can download RPMs from here..
http://downloads.whamcloud.com/public/lustre/
Thanks
Ihara
On Jul 29, 2013, at 3:15 PM, "Singhal, Upanshu" <upanshu.singhal(a)emc.com>
wrote:
> Hello Andreas, Ulrich,
>
> Thanks a lot for your email. Can you please point me to a location
> where I can find the right version of Kernel for my RHEL 6.4 machine?
> My RHEL 6.4 is @
>
> Kernel: 2.6.32-358.el6.x86_64 level. The download location I use for the Kernel
sources is:
http://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/ and
downloaded
kernel-2.6.32-358.el6.src.rpm<http://ftp.redhat.com/pub/redhat/linux/e...
sources.
> I use following link to build and install Kernel and Lustre sources
> and not sure what I am missing:
>
https://wiki.hpdd.intel.com/display/PUB/Walk-thru-+Build+Lustre+MASTER
> +on+RHEL+6.3+from+Whamcloud+git Can someone please provide me the
> correct location, luster sources location, cheat sheet for installation and
configuration? Also, can someone please provide me the list of Lustre modules to check
whether they are installed and running or not?
>
> Thanks,
> -Upanshu
>
>
> -----Original Message-----
> From: Dilger, Andreas [mailto:andreas.dilger@intel.com]
> Sent: Sunday, July 28, 2013 6:02 AM
> To: Singhal, Upanshu
> Cc: hpdd-discuss(a)lists.01.org
> Subject: Re: [HPDD-discuss] Error Mounting OST device on OSS Server
>
> On 2013-07-26, at 4:16, "Singhal, Upanshu"
<upanshu.singhal@emc.com<mailto:upanshu.singhal@emc.com<mailto:upanshu.singhal@emc.com<mailto:upanshu.singhal@emc.com>>>
wrote:
>
> Hello,
>
> I am getting an error while mount the OST device on OSS Server. I have built the
lustre 2.3 source code and kernel and installed all packages. MGS server installation and
configuration is fine, OSS server installation is also fine, mkfs.lustre command works
fine, it fails during mount. Any clue or suggestion?
>
> Errors from console are:
>
> [root@lustre-5 /]# mount -t lustre /dev/sdb /mnt
> mount.lustre: mount /dev/sdb at /mnt failed: No such device Are the lustre modules
loaded?
> Check /etc/modprobe.conf and /proc/filesystems
>
> Error in /var/log/message:
> Jul 24 23:05:04 lustre-5 kernel: obdfilter: Unknown symbol
> security_inode_unlink
>
> As previously mentioned, this missing symbol means that your kernel is not patched
properly on the server.
>
> Jul 24 23:05:04 lustre-5 modprobe: FATAL: Error inserting obdfilter
(/lib/modules/2.6.32.lustremaster/updates/kernel/fs/lustre/obdfilter.ko): Unknown symbol
in module, or unknown parameter (see dmesg) Jul 24 23:05:04 lustre-5 kernel: LustreError:
158-c: Can't load module 'obdfilter'
>
> This prevents the obdfilter module from loading.
>
> Jul 24 23:05:04 lustre-5 kernel: LustreError: 21565:0:(genops.c:291:class_newdev())
OBD: unknown type: obdfilter Jul 24 23:05:04 lustre-5 kernel: LustreError:
21565:0:(obd_config.c:365:class_attach()) Cannot create device lustre-OST0002 of type
obdfilter : -19 Jul 24 23:05:04 lustre-5 kernel: LustreError:
21565:0:(obd_config.c:1499:class_config_llog_handler()) Err -19 on cfg command:
> Jul 24 23:05:04 lustre-5 kernel: Lustre: cmd=cf001 0:lustre-OST0002 1:obdfilter
2:lustre-OST0002_UUID
> Jul 24 23:05:04 lustre-5 kernel: LustreError: 15c-8:
MGC10.243.107.53@tcp<mailto:MGC10.243.107.53@tcp>: The configuration from log
'lustre-OST0002' failed (-19). This may be the result of communication errors
between this node and the MGS, a bad configuration, or other errors. See the syslog for
more information.
>
> This prevents the OST from starting.
>
> Jul 24 23:05:04 lustre-5 kernel: LustreError:
> 21531:0:(obd_mount.c:1321:server_start_targets()) failed to start
> server lustre-OST0002: -19 Jul 24 23:05:04 lustre-5 kernel:
> LustreError: 21531:0:(obd_mount.c:1963:server_fill_super()) Unable to
> start targets: -19 Jul 24 23:05:04 lustre-5 kernel: LustreError:
> 21531:0:(obd_mount.c:1760:server_put_super()) no obd lustre-OST0002
>
> This prevents your filesystem from working.
>
> I would recommend to use the pre patched Lustre server kernel.
>
> Cheers, Andreas
>
> Jul 24 23:05:04 lustre-5 kernel: LustreError:
> 21531:0:(ldlm_request.c:1166:ldlm_cli_cancel_req()) Got rc -108 from
> cancel RPC: canceling anyway Jul 24 23:05:04 lustre-5 kernel:
> LustreError: 21531:0:(ldlm_request.c:1792:ldlm_cli_cancel_list())
> ldlm_cli_cancel_list: -108 Jul 24 23:05:04 lustre-5 kernel: Lustre:
> server umount lustre-OST0002 complete Jul 24 23:05:04 lustre-5 kernel:
> LustreError: 21531:0:(obd_mount.c:2569:lustre_fill_super()) Unable to
> mount (-19)
>
> Thanks,
> -Upanshu
>
> Upanshu Singhal
> EMC Data Storage Systems, Bangalore, India.
> Phone: 91-80-67375604
>
> _______________________________________________
> HPDD-discuss mailing list
> HPDD-discuss@lists.01.org<mailto:HPDD-discuss@lists.01.org<mailto:HPDD
> -discuss@lists.01.org<mailto:HPDD-discuss@lists.01.org>>
>
https://lists.01.org/mailman/listinfo/hpdd-discuss
>
>
> _______________________________________________
> HPDD-discuss mailing list
> HPDD-discuss(a)lists.01.org
>
https://lists.01.org/mailman/listinfo/hpdd-discuss