Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Filesystems and SAN 1

Status
Not open for further replies.

ddrillich

Technical User
Jun 11, 2003
546
US
Good Day,

Is there a way for me to tell whether the filesystems I use are on the SAN or not?

I see the following -

! % ==> df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/rootvg-rootvol
51G 20G 29G 41% /
/dev/sdb1 99M 15M 80M 16% /boot
none 3.9G 0 3.9G 0% /dev/shm
/dev/mapper/searchvg-search_lv
296G 71G 210G 26% /opt/autonomy
/dev/mapper/searchvg-searchtext_lv
107G 49G 53G 49% /text
172.26.183.3:/pmclient_sat
99G 61G 39G 62% /pmclient

autonomy @ sbkj2ksrchidxs01

Regards,
Dan

 
mount won't tell you a lot more than df does.

You can use vgdisplay -v to display the devices that are used by the "searchvg" volume group.

You can usually use ls -l /sys/block/sd*/device and examine where those symbolic links are pointing to determine which ones are local devices and which ones are SAN-based.

If you can't figure it out from that, paste the output of those commands here and we can have a closer look.

Annihilannic.
 
Annihilannic,

The output I see -

! % ==> vgdisplay -v
Finding all volume groups
No volume groups found

autonomy @ sbkj2ksrchidxs01 :: /export/home/autonomy/custom/logs
! % ==> \ls -l /sys/block/sd*/device
lrwxrwxrwx 1 root root 0 Apr 22 09:10 /sys/block/sda/device -> ../../devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1.2/1-1.2:1.1/host1/target1:0:0/1:0:0:0
lrwxrwxrwx 1 root root 0 Apr 22 09:10 /sys/block/sdb/device -> ../../devices/pci0000:00/0000:00:03.0/0000:01:00.0/0000:02:0e.0/host2/target2:2:0/2:2:0:0
lrwxrwxrwx 1 root root 0 Apr 22 09:10 /sys/block/sdc/device -> ../../devices/pci0000:00/0000:00:03.0/0000:01:00.0/0000:02:0e.0/host2/target2:2:1/2:2:1:0

What does it mean ;-) ?

Regards,
Dan
 
It's strange that no volume groups are found, because it definitely looks like you are using logical volumes based on the mounted devices. Are you running this as root? If not, you need to.

I suspect sdb and sdc are SAN-based disks. The "02:0e.0" part should correspond to the PCI address of the host bus adapter used to connect your system to the SAN. Check the output of lspci and see which card corresponds to that PCI bus:slot.function number.

It looks like sda is a USB disk?

Annihilannic.
 
Annihilannic,

I don't run it as root and can't do it.

The output of lspci is -

autonomy @ sbkj2ksrchidxs01 ::
! % ==> lspci
00:00.0 Host bridge: Intel Corporation 5000X Chipset Memory Controller Hub (rev 12)
00:02.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x4 Port 2 (rev 12)
00:03.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x4 Port 3 (rev 12)
00:04.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x8 Port 4-5 (rev 12)
00:05.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x4 Port 5 (rev 12)
00:06.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x8 Port 6-7 (rev 12)
00:07.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x4 Port 7 (rev 12)
00:10.0 Host bridge: Intel Corporation 5000 Series Chipset FSB Registers (rev 12)
00:10.1 Host bridge: Intel Corporation 5000 Series Chipset FSB Registers (rev 12)
00:10.2 Host bridge: Intel Corporation 5000 Series Chipset FSB Registers (rev 12)
00:11.0 Host bridge: Intel Corporation 5000 Series Chipset Reserved Registers (rev 12)
00:13.0 Host bridge: Intel Corporation 5000 Series Chipset Reserved Registers (rev 12)
00:15.0 Host bridge: Intel Corporation 5000 Series Chipset FBD Registers (rev 12)
00:16.0 Host bridge: Intel Corporation 5000 Series Chipset FBD Registers (rev 12)
00:1c.0 PCI bridge: Intel Corporation 631xESB/632xESB/3100 Chipset PCI Express Root Port 1 (rev 09)
00:1d.0 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #1 (rev 09)
00:1d.1 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #2 (rev 09)
00:1d.2 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #3 (rev 09)
00:1d.7 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset EHCI USB2 Controller (rev 09)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d9)
00:1f.0 ISA bridge: Intel Corporation 631xESB/632xESB/3100 Chipset LPC Interface Controller (rev 09)
00:1f.1 IDE interface: Intel Corporation 631xESB/632xESB IDE Controller (rev 09)
01:00.0 PCI bridge: Intel Corporation 80333 Segment-A PCI Express-to-PCI Express Bridge
01:00.2 PCI bridge: Intel Corporation 80333 Segment-B PCI Express-to-PCI Express Bridge
02:0e.0 RAID bus controller: Dell PowerEdge Expandable RAID controller 5i
04:00.0 PCI bridge: Broadcom EPB PCI-Express to PCI-X Bridge (rev c3)
05:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 12)
06:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Upstream Port (rev 01)
06:00.3 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express to PCI-X Bridge (rev 01)
07:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Downstream Port E1 (rev 01)
07:01.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Downstream Port E2 (rev 01)
08:00.0 PCI bridge: Broadcom EPB PCI-Express to PCI-X Bridge (rev c3)
09:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 12)
10:0d.0 VGA compatible controller: ATI Technologies Inc ES1000 (rev 02)

Regards,
Dan
 
Looks like an easy answer anyway given that output... there are no SAN host bus adapters in that system (either that or they aren't working!) so there can't be any SAN storage in use.

The PCI card at 02:0e.0 is an internal RAID controller, so it appears that you have one USB disk of some kind and 2 logical RAID volumes on a (usually) internal disk array.

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top