Operating System - Linux
1828406 Members
3300 Online
109977 Solutions
New Discussion

SAN disk presntation to linux

 
Fenny_1
Super Advisor

SAN disk presntation to linux

hi all,
I need to present a 1TB vdisk from EVA5000 to one of my linux hosts. I'm using this version of linux
Linux 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:59:02 EST 2004 i686 i686 i386 GNU/Linux

Actually i'm not an expert administrator in linux. In Hpux when we preseneted a vdisk we just need to ioscan -fnC disk n we can get the newly presented vdisk.
Now what steps i need to follow to get the vdisk in linux /proc/partitions. Can how can i partition that disk. Do i need to go into the single user mode to get the disk? If yes how to get in single user mode.
Kindly explain the whole steps which i need to follow. It would be quite helpful for me.

Your urgent response would be quite helpful
Thanks in advance.
4 REPLIES 4
Atul Gautam
Valued Contributor

Re: SAN disk presntation to linux

Hi Fayyaz,

After publishing the partition, check out the contents of /proc/scsi/scsi and you should see one more SCSI channel appear.

After that, check out the output of "fdisk -l" and you will see new disk appearing in the output which will be represented as "/dev/sdb" or "/dev/sdc"

Then you just need to partition it using fdisk, create a filesystem, make an entry into "/etc/fstab" for auto mounting and then issue the command "mount -a" to mount it onto a mount point.




Atul
Patrick Terlisten
Honored Contributor

Re: SAN disk presntation to linux

Hello,

you can run "hp_rescan" to scan for new LUNs. This tool should be located under /opt/hp/hp_fibreutils.

Regards,
Patrick
Best regards,
Patrick
Fenny_1
Super Advisor

Re: SAN disk presntation to linux

Guys, thanks for all the suggestions.
Can you please guide what i need to do if i want to get into single user mode and then i need to detect and initialize the disk from there.
Patrick Terlisten
Honored Contributor

Re: SAN disk presntation to linux

Hello,

there is no need to go to single user mode. Just run "hp_rescan" and then fdisk and format the new detected LUNs to create a volume.

Regards,
Patrick
Best regards,
Patrick