Pakcik Google

only search Ask MrJ

Saturday, 24 November 2012

Mount LUN on RedHat

Step to mount LUN on REDHAT :-

 1. Rescan new LUN:
 e.g >> # fdisk –l

 2. Create file system for the new LUN:
 e.g >> # mkfs.ext3 /dev/sda5 

 3. Create mount point directory for the file system:
 e.g >> # mkdir /datadisk1

 4. Mount the new file system:
 e.g >> # mount /dev/sda5 /datadisk1

 5. To make sure the new file system is auto mount after reboot, you must edit the file at fstab:
     # vi /etc/fstab

    Add/append following entry to file:
    #/dev/sda5 /datadisk1 ext3 defaults 0 2

    Save the file and exit.

No comments:

Post a Comment