script to capture support data for Device mapper Multipath

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Christophe and all, 

Attached is the script which captures Device Mapper Multipath support data. We have been using this script for capturing data and has been helpful in analysing dm related issues. These support data can be useful in analysing issues offline or remotely. Thought of posting it into this forum if it benefits everyone.  I still feel we can add something more. Waiting for your feedback.

In my opinion, as this script is meant to provide support to dm multipath it would be good if we can have this script as part multipath-tools. Please give your comment. 

Thanks,
Vijay


Script captures data in following hierarchy :
------------------------------------------
linux-1# ./DMMPsupport
The collected support data is saved in /tmp/DMMPSupportdata_linux-1_083009175235.tar.gz.

#tar -xzf DMMPSupportdata_linux-1_083009175235.tar.gz

#tree linux-1
linux-1
|-- boot_config_info
|   |-- boot_files.txt
|   |-- cmdline.txt
|   |-- device.map
|   `-- menu.lst
|-- compiler_info
|   `-- compiler_info.txt
|-- hardware_info
|   |-- cpuinfo.txt
|   |-- interrupts.txt	
|   |-- ioports.txt
|   |-- meminfo.txt
|   |-- partitions.txt
|   `-- pciinfo.txt
|-- kernel_config_info
|   |-- System.map-2.6.27.26-SLE11_BRANCH_20090703193212_79c0b224-default.txt
|   |-- UTS_version.h
|   |-- autoconf.h
|   |-- config-2.6.27.26-SLE11_BRANCH_20090703193212_79c0b224-default.txt
|   `-- kernel_src_dir_list.txt
|-- kernel_info
|   |-- df.txt
|   |-- free.txt
|   |-- kallsyms.txt
|   |-- kernel_version.txt
|   |-- modules.txt
|   |-- printk.txt
|   |-- ps.txt
|   |-- pstree.txt
|   |-- rpm_packages.txt
|   |-- sar.txt
|   |-- slabinfo.txt
|   `-- uptime.txt
|-- linuxDMMP_info
|   |-- DMMP_versions.txt
|   |-- binding.conf
|   |-- dmsetup_info.txt
|   |-- dmsetup_status.txt
|   |-- dmsetup_table.txt
|   |-- initrd-2.6.27.26-SLE11_BRANCH_20090703193212_79c0b224-default
|   |-- initrd-2.6.27.26-SLE11_BRANCH_20090703193212_79c0b224-default-1
|   |-- initrd-2.6.27.26-SLE11_BRANCH_20090703193212_79c0b224-default-kdump
|   |-- lsscsi.txt
|   |-- messages
|   |-- modprobe.conf
|   |-- modprobe.conf.local
|   |-- modules
|   |   |-- device_handler
|   |   |   |-- scsi_dh.ko
|   |   |   |-- scsi_dh_alua.ko
|   |   |   |-- scsi_dh_emc.ko
|   |   |   |-- scsi_dh_hp_sw.ko
|   |   |   `-- scsi_dh_rdac.ko
|   |   `-- md
|   |       |-- dm-crypt.ko
|   |       |-- dm-delay.ko
|   |       |-- dm-least-pending.ko
|   |       |-- dm-log.ko
|   |       |-- dm-memcache.ko
|   |       |-- dm-message.ko
|   |       |-- dm-mirror.ko
|   |       |-- dm-mod.ko
|   |       |-- dm-multipath.ko|-- scsi_hba_info
|   |-- iscsid.conf
|   |-- lsi_mpt_proc_info.txt
|   |-- mpt_modinfo.txt
|   |-- mptsas_0.txt
|   |-- scsi_device.txt
|   |-- scsi_hosts.txt
|   |-- sys_class_scsihost_info.txt
|   |-- sys_fc_host.txt
|   |-- sys_fc_remote_ports.txt
|   |-- sys_fc_transport.txt
|   |-- sys_scsi_devices.txt
|   |-- sys_scsi_host.txt
|   |-- usb-storage_7.txt
|   `-- usb-storage_8.txt
|   |       |-- dm-queue-length.ko
|   |       |-- dm-raid45.ko
|   |       |-- dm-regions.ko
|   |       |-- dm-round-robin.ko
|   |       |-- dm-service-time.ko
|   |       |-- dm-snapshot.ko
|   |       |-- dm-zero.ko
|   |       |-- faulty.ko
|   |       |-- linear.ko
|   |       |-- multipath.ko
|   |       |-- raid0.ko
|   |       |-- raid1.ko
|   |       |-- raid10.ko
|   |       `-- raid456.ko
|   |-- multipath.conf
|   |-- multipath_ll.txt
|   |-- multipath_t.txt
|   `-- syslog.conf

`-- summary.txt

10 directories, 87 files

Attachment: DMMPsupport
Description: DMMPsupport

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux