# ioscan -f | grep disk
Class I H/W Path Driver S/W State H/W Type Description
disk 3 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-N
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 146 GST3146707LC ... (1 Reply)
Hi,
I had a doubt regarding device mapper notations and their corresponding LVM volumes.
I have configured a volume group with two logical volumes in it as root and swap.
The entries in the /etc/fstab file show the dm notations namely,
/dev/mapper/VolGroup00-LogVol01... (2 Replies)
hello
my centOS newly installed system loading dmraid modules on startup
I did remove all LVM/raid things from system installation menus and after installation too but dmraid is still there
and he says: no raid disks found
also I did modprobe -r dm_raid45 and it do remove it but only until... (7 Replies)
Hi,
I have a server program that reads data coming in on USB ports. Device paths are in the format: /dev/ttyUSB0
Now, I would like to log data from another device coming in over Ethernet. My first step is trying to track down what the correct device path is which I am unsure of.
Anyone... (9 Replies)
Good morning
Recently we needed to change the password from a redhat 6.5 system that no one knew the root password.
Starting the system with the init=/bin/bash method took us to the following scenario:
system_vg active with only root_lv and tmpfs mounted.
our entries at fstab are like... (1 Reply)
Hi,
How to find the raw device/multipath details of the LUN used by the diskgroups of the database.
file system type -- ASM
Oracle -- 11.2.0.3.0
OS -- Linux
This is RAC database.
Regards,
Maddy (2 Replies)
Hi,
I am testing on iSCSI + multipath, where i have one iSCSI lun assigned to one server.
mpatha (1IET 00010001) dm-2 IET,VIRTUAL-DISK
size=100M features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=1 status=active
| `- 2:0:0:1 sda 8:0 active ready running
`-+-... (6 Replies)
Currently I am using this laborious command
lvdisplay | awk '/LV Path/ {p=$3} /LV Name/ {n=$3} /VG Name/ {v=$3} /Block device/ {d=$3; sub(".*:", "/dev/dm-", d); printf "%s\t%s\t%s\n", p, "/dev/mapper/"v"-"n, d}'
Would like to know if there is any shorter method to get this mapping of... (2 Replies)
Hello,
I am trying to setup a storage server with salvaged equipments:
QSSC-S4R server, with QLogic 2562 FC HBA's
Clariion KTN-STL4 4GB FC Enclosures
Disks Salvaged from EMC Vmax
Disks are 520B sector size so i converted to 512B in linux environment and create multipath successfully. But... (4 Replies)
Discussion started by: amd103
4 Replies
LEARN ABOUT CENTOS
mpathconf
MPATHCONF(8) Linux Administrator's Manual MPATHCONF(8)NAME
mpathconf - A tool for configuring device-mapper-multipath
SYNOPSIS
mpathconf [commands] [options]
DESCRIPTION
mpathconf is a utility that creates or modifies /etc/multipath.conf. It can enable or disable multipathing and configure some common
options. mpathconf can also load the dm_multipath module, start and stop the multipathd daemon, and configure the multipathd service to
start automatically or not. If mpathconf is called with no commands, it will display the current configuration.
The default options for mpathconf are --with_module The --with_multipathd option is not set by default. Enabling multipathing will load
the dm_multipath module but it will not immediately start it. This is so that users can manually edit their config file if necessary,
before starting multipathd.
If /etc/multipath.conf already exists, mpathconf will edit it. If it does not exist, mpathconf will use /usr/share/doc/device-mapper-multi-
path-0.4.9/multipath.conf as the starting file. This file has user_friendly_names set. If this file does not exist, mpathconf will create
/etc/multipath.conf from scratch. For most users, this means that user_friendly_names will be set by default, unless they use the
--user_friendly_names n command.
COMMANDS --enable
Removes any line that blacklists all device nodes from the /etc/multipath.conf blacklist section.
--disable
Adds a line that blacklists all device nodes to the /etc/multipath.conf blacklist section. If no blacklist section exists, it will
create one.
--user_friendly_name { y | n }
If set to y, this adds the line user_friendly_names yes to the /etc/multipath.conf defaults section. If set to n, this removes the
line, if present. This command can be used along with any other command.
--find_multipaths { y | n }
If set to y, this adds the line find_multipaths yes to the /etc/multipath.conf defaults section. If set to n, this removes the line,
if present. This command can be used aldong with any other command.
OPTIONS --with_module { y | n }
If set to y, this runs modprobe dm_multipath to install the multipath modules. This option only works with the --enable command.
This option is set to y by default.
--with_multipathd { y | n }
If set to y, this runs service multipathd start to start the multipathd daemon on --enable, service multipathd stop to stop the mul-
tipathd daemon on --disable, and service multipathd reload to reconfigure multipathd on --user_frindly_names and --find_multipaths.
This option is set to n by default.
FILES
/etc/multipath.conf
SEE ALSO multipath.conf(5), modprobe(8), multipath(8), multipathd(8), service(8),
AUTHOR
Benjamin Marzinski <bmarzins@redhat.com>
June 2010 MPATHCONF(8)