LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-29-2009, 03:11 PM   #1
hammers09
LQ Newbie
 
Registered: Oct 2009
Posts: 2

Rep: Reputation: 0
Changes to modeprobe.conf


I am using redhat EL 4 and just added a line into modprobe.conf for the maximum number of supported luns - cannot find the technote i was previously accessing

what do i do now ?

can i just reboot or do i have to rebuild any files/kernel and if so

what commands do i use and where do i have to be when i run them

I am new to redhat and have just installed it today for the first time
 
Old 10-29-2009, 06:49 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,374

Rep: Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383
Let's use usb_storage as an example
Code:
The lsmod utility provides a list of all loaded modules, along with the corresponding size and usage count.

[root]# lsmod | grep usb_storage
usb_storage  72609 1

Modules may be loaded or unloaded using the modprobe utility. Unlike insmod, modprobe will automatically load dependencies locating the needed modules on the filesystem. Loading a module is as easy as:

[root]# modprobe usb_storage

To remove a currently loaded module, use modprobe -r:
[root]#  modprobe -r usb_storage

Note that a module may only be removed if it is not presently in use.
The modinfo command can be passed a module name or filename. It will display the associated details, such as the author's name, license, description, module version, dependencies, parameters, etc.

[root]# modinfo usb_storage
       filename:  /lib/modules/2.6.18-1.2747.el5/kernel/drivers/usb/storage/usb-storage.ko
       license:                              GPL
       description: USB Mass Storage driver for Linux
        etc etc
http://linux.die.net/man/8/modprobe
See also sysctl http://linux.die.net/man/8/sysctl
 
Old 10-29-2009, 07:23 PM   #3
++nick++
Member
 
Registered: Dec 2008
Location: Bellevue,WA
Distribution: RHEL 5 , Fedora ,Sabayon,Solaris,Vmware,AWS
Posts: 107

Rep: Reputation: 18
Hi hammers09,

Can you post your modprobe.conf , so folks can take a look and tell you how to proceed with regard to luns
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
New entries to /etc/modeprobe.conf kromberg Fedora 1 04-20-2008 09:37 AM
Can't modeprobe ndiswrapper refp16 Linux - Wireless Networking 3 06-04-2005 08:03 AM
modeprobe:modeprobe: bumble Linux - Newbie 3 05-30-2004 04:18 PM
helppp modeprobe The Saint1 Linux - General 2 03-09-2003 12:49 PM
modeprobe error Cubiq Linux - General 3 12-26-2002 05:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration