- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Find if my system is Local o SAN (remotely)
Operating System - Linux
1748104
Members
4524
Online
108758
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2009 01:18 PM
тАО12-09-2009 01:18 PM
hi
I just got some linux servers that I have to manage remotely
I want to know if the linux Red hat is installed on Local Hard Drive or if the OS is installed on SAN, either OS or data how can I find where the data is/was installed
fdisk -l does not mention type o storage...
any other idea
thanks
I just got some linux servers that I have to manage remotely
I want to know if the linux Red hat is installed on Local Hard Drive or if the OS is installed on SAN, either OS or data how can I find where the data is/was installed
fdisk -l does not mention type o storage...
any other idea
thanks
Didn't your momma teach you to say thanks!
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2009 01:59 PM
тАО12-09-2009 01:59 PM
Solution
You left out the RedHat version, which would be kind of important to know in this case. Mainly I'd like to know if the system has kernel 2.6.*, 2.4.*, or something even older, as the jump from 2.4.* series to 2.6.* brought some major changes in the storage subsystem.
I'm going to assume 2.6.* kernel unless you tell me otherwise.
If your system uses LVM, multipathing or any other advanced storage features, you must first find out how they map to base disk devices (/dev/sd*, /dev/hd* or /dev/cciss/*). Depending on exactly what features are used, "dmsetup ls --tree" and/or "cat /proc/mdstat" may be useful here.
If you see /dev/cciss, you have a SmartArray RAID controller. Use the SmartArray tools to get more information. The "show config detail" command in the recent hpacucli versions is pretty useful here.
With /dev/sd* or /dev/hd*, take a peek to the /sys virtual filesystem.
For example, to find out what kind of device is /dev/sda, run "ls -ld /sys/block/sda/device". The output will be something like this (example from my home PC):
lrwxrwxrwx 1 root root 0 2009-12-09 07:10 device -> ../../devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0
Now run "lspci" and find out what type of device is 0000:00:1f.2:
lspci -v -s 0000:00:1f.2
00:1f.2 RAID bus controller: Intel Corporation 82801 SATA RAID Controller (rev 02)
Subsystem: ABIT Computer Corp. Device 1084
Hmm, a SATA RAID controller, apparently integrated to the motherboard. That's a local disk, then!
If you find e.g. an iSCSI or a FibreChannel HBA in this way, you'll know the disks are at least a bit more remote. But is it a SAN or just a local FC-attached disk box?
"cat /proc/scsi/scsi" or the nice RHEL 5 command "lsscsi" may provide more clues. Something like "Vendor: EMC Model: SYMMETRIX" is definitely SAN hardware.
MK
I'm going to assume 2.6.* kernel unless you tell me otherwise.
If your system uses LVM, multipathing or any other advanced storage features, you must first find out how they map to base disk devices (/dev/sd*, /dev/hd* or /dev/cciss/*). Depending on exactly what features are used, "dmsetup ls --tree" and/or "cat /proc/mdstat" may be useful here.
If you see /dev/cciss, you have a SmartArray RAID controller. Use the SmartArray tools to get more information. The "show config detail" command in the recent hpacucli versions is pretty useful here.
With /dev/sd* or /dev/hd*, take a peek to the /sys virtual filesystem.
For example, to find out what kind of device is /dev/sda, run "ls -ld /sys/block/sda/device". The output will be something like this (example from my home PC):
lrwxrwxrwx 1 root root 0 2009-12-09 07:10 device -> ../../devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0
Now run "lspci" and find out what type of device is 0000:00:1f.2:
lspci -v -s 0000:00:1f.2
00:1f.2 RAID bus controller: Intel Corporation 82801 SATA RAID Controller (rev 02)
Subsystem: ABIT Computer Corp. Device 1084
Hmm, a SATA RAID controller, apparently integrated to the motherboard. That's a local disk, then!
If you find e.g. an iSCSI or a FibreChannel HBA in this way, you'll know the disks are at least a bit more remote. But is it a SAN or just a local FC-attached disk box?
"cat /proc/scsi/scsi" or the nice RHEL 5 command "lsscsi" may provide more clues. Something like "Vendor: EMC Model: SYMMETRIX" is definitely SAN hardware.
MK
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2009 08:29 AM
тАО12-13-2009 08:29 AM
Re: Find if my system is Local o SAN (remotely)
thanks a lot
it is red hat Ent 5.0
it is red hat Ent 5.0
Didn't your momma teach you to say thanks!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP