Identify Boot from SAN

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Identify Boot from SAN
# 1  
Old 09-14-2011
Identify Boot from SAN

Hi, I have many servers all of these are boot from SAN. Can anybody let me know that how to identify the server is Boot fron SAN and from which device?

Thanks
Rahul
# 2  
Old 09-14-2011
Saw you post for Solaris as well.. but for contemporary Red Hat.. ones with reasonable /sys (sysfs)... you can parse through the mess and get some helpful data. But I'm assuming that things are fairly "regular".. I mean, you can always boot from strange device in the BIOS of the HBA from the host and everything else magically comes from somewhere else... in which case what you glean from the server OS isn't all that useful. But, if you know the device your're booting from is fairly uniform, that is, perhaps it's the same device that owns the root (/) filesystem or /boot even.. then you can explore /sys and likely get some data about the STORAGE device disk... and you can even get HBA data.

For example... because /sys contains SOOO much... here's a snippet to glean some interesting data about fibre transports (e.g. a fibre channel based SAN network):

Code:
find /sys/class/fc_transport -follow -maxdepth 6 \( -name model -o -name vendor -o -name rev -name state -o -name model_name -o -name size -o -name node_name \) 2>/dev/null| egrep -v 'driver|rport|power|drivers|devices' | xargs grep '.'

If you can successfully run that, you will see the "sda" "sdb", etc... block stuff and likely be able to better tie such to the actual SAN data you are looking for... but again, almost anything is possible... just saying what is typical.... it's possible that you won't be able to get what you are looking for through the OS at all and will have to get the data from the HBA somehow (it's there, just not necessarily easily viewable from the OS).
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

How to identify if disk is attached to SAN and assist in migration.?

I am working on VM host and collecting data to identify the type of storage attached to the server which will be migrated to VNX. it has one ldom created on it luxadm probe output --- No Network Array enclosures found in /dev/es Found Fibre Channel device(s): Node... (7 Replies)
Discussion started by: kpatel786
7 Replies

2. UNIX for Dummies Questions & Answers

How can we identify SAN devices in fdisk -l output.?

We can Know the storage devices in fdisk -l. But Please tell me how can i identify the SAN devices :wall: How SAN devices are represented in the fdisk -l output :wall::wall: Thanks in Advance........:D (3 Replies)
Discussion started by: vamshigvk475
3 Replies

3. Solaris

Identify Boot from SAN

How to identify the server is BOOT FROM SAN. Also how one can find from which device it is booted? Thanks Rahul Double post, continued here (0 Replies)
Discussion started by: rahul.kurumkar
0 Replies

4. Solaris

SAN boot solaris 10

I have a solaris 10 box which does not have internal disks it has just a single dual port HBA card. Storage team has assigned 2 LUNs to the system and i can see it from the probe-scsi-all /pci@3,700000/SUNW,emlxs@0,1 Device PortID 10100 WWPN 5006016941e0a08d LUN 0 Disk DGC ... (0 Replies)
Discussion started by: fugitive
0 Replies

5. Red Hat

Identify SAN disks not in use

Hello, How can I identify SAN disks not in use by the OS? Thank you. (8 Replies)
Discussion started by: asanchez
8 Replies

6. UNIX for Dummies Questions & Answers

Identify SAN disks

Hello everybody, I'm using the binary inqraid (Linux RHEL) in order to retrieve information about SAN disks. The questions are: Given an LDEV, how do I know if the SAN disk related to this LDEV is being used by the OS? I mean, how can I demonstrate to "Storage department" that all disks of... (4 Replies)
Discussion started by: asanchez
4 Replies

7. UNIX for Advanced & Expert Users

Can AIX 5.3 - 6 Boot From HP EVA 6000 SAN

Hi There, Has anyone had any luck with or know how to get AIX 5+ to boot from a HP EVA 6000 SAN? The servers used here will be P Class Blades My initial searches on this so far did not bring results so I am guessing this may not be possible on HP SAN's but please let me know if I am... (0 Replies)
Discussion started by: fazzasx
0 Replies

8. Solaris

Solaris in a SAN BOOT

My current situation is like this, I have a v440 connected to a netapp central storage 3140 via fiber channel, my OS and oracle is installed in the internal drive of the v440. What I would like to do is to advertise another LUN in netapp to the v440 and let my v440 boot from it so I can start... (3 Replies)
Discussion started by: q8devilish
3 Replies

9. Red Hat

rhel-5.2-64bit, boot from SAN

hi all, i have qle 2460 hba card in my server. and i have a lun from promise array from raid 0. I want to boot my OS (rhel5.2-64 bit) lun on a dell t300 server. can some one help me on this please asap.. (0 Replies)
Discussion started by: navadeep
0 Replies

10. HP-UX

Need Help for configuring Boot from San

Hi all, I am trying to configure my HPUX host 11.31 IA64 to boot from a LUN for EMC clariion CX3-80 (Flaire PNR 26). I am following the below mentioned steps.. vi /tmp/idf 3 EFI 500MB HPUX 100% HPSP 400MB idisk -f /tmp/idf -w /dev/rdisk/diskxxx insf -e pvcreate -B... (0 Replies)
Discussion started by: barun agarwal
0 Replies
Login or Register to Ask a Question