Today (Saturday) We will make some minor tuning adjustments to MySQL.

You may experience 2 up to 10 seconds "glitch time" when we restart MySQL. We expect to make these adjustments around 1AM Eastern Daylight Saving Time (EDT) US.

adding LUN to linux server

Login or Register to Reply

Thread Tools Search this Thread
# 1  
adding LUN to linux server

Hi All,

I am new for this blog and this is my first Query on this blog. I would like to dael with graet masters on linux.

Here we go,

After storage people created the LUN, How to add that LUN to Linux server. (Make that LUN visibility on linux server.) ?

How to view the LUN information ?

Thanks in advance !

Cheers !
# 2  

After create the LUN and attach on the host You can run "echo 1 > /sys/block/device_name/device/rescan" to scan the disk or reboot your system.
After run "fdisk -l " to list all disks, you will see internal disks and luns.

# 3  

Hey ! Thanks for your update.

And when i googled i saw something like below to add the lun to linux host.

echo > 1 "proc/scsi/sci"


echo "- - -" > /sys/class/scsi_host/host<ID>/scan

what about these ...

Thanks buddy ! Smilie
Moderator's Comments:
Mod Comment How to use code tags

Last edited by Scrutinizer; 04-16-2012 at 02:43 AM.. Reason: Code tags
# 4  
Use the below commands to identify the newly added lun in the server.

dmesg|grep scsi
echo "- - -" > /sys/class/scsi_host/host5/scan
cat /proc/scsi/scsi
fdisk -l
# 5  

Red Hat documentain has the command "echo 1 > /sys/block/device_name/device/rescan", if not worked reboot your system.

Login or Register to Reply

Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Move a LUN from one server to the other
I have NetApp LUN that was presented to a Red Hat Enterprise Linux Server release 5.7 (Tikanga) machine. But this LUN has already data, because it was being used on another server. I can see the new LUN when running fdisk: fdisk -l | egrep '^Disk' | egrep -v 'dm-' | grep -v identifier Disk...... Red Hat
Red Hat
AIX server do not detect LUN from HP storage
ssssssssssss... Post Here to Contact Site Administrators and Moderators
Post Here to Contact Site Administrators and Moderators
How to detect FC lun on Server?
I have created a lun on Storage and connected it to server using fiber channel. LUN is presented on new Server . How do i check and mount this newly created LUN?... Linux
Solaris 10, adding new LUN from SAN storage
Hello to all, Actually, currently on my Solaris box, I've a LUN (5TB space) from a EMC storage which is working fine, and a partition with ZFS filesystem is created for that LUN. as further you'll see in the logs, the "c4t6006016053802E00E6A9196B6506E211d0s2" is the current configured LUN in the...... Solaris
LUN allocation in solaris server
hi all can anyone tell me how to track a new attached LUN in a solaris server??... Solaris

Featured Tech Videos