making a new SAN LUN usable in Linux

Posted on 2009-04-24
Last Modified: 2013-12-16
One of a servers here (Linux) was just presented with new LUN on a SAN.
the backend pieces were done (presentation, allocation) on the SAN.  and I was told the LUN should be presented to the server properly already.
What do I have to do on the Linux server to make that LUN visible, mounted and usable?
I'm pretty new to Linux. please help.

Question by:madkow70
    LVL 10

    Expert Comment

    AFAIK you need to REBOOT the linux server in order for it to detect the new LUN SAN.

    Next you look for it by using "fdisk -l", then you need to create a partition on it using fdisk, then you create a filesystem and finally you add it to your fstab before mounting it.

    man fdisk
    man fstab
    man mkfs

    Author Comment

    Thank you.
    Would you do me a favor and help me in more details on the commands?
    LVL 2

    Accepted Solution

    fdisk is use to create partiions its usage is like

    #fdisk /dev/sda    #for sata and sda stand for 1st HDD sdb stand for 2nd HDD

    #fdisk /dev/hda    #for pata     same as above

    fstab is file in your etc directory its contain your partitions there type and there mount points plus other useful info

    mkfs is use for formatting a partition with file system like ext2 or ext3.


    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
    Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now