multipathd rienstated message filling up log
Shaheen Bakhtiar
shashaness at hotmail.com
Thu Sep 3 20:29:09 UTC 2015
> On Aug 17, 2015, at 6:14 AM, Fran Tsao Santín <tsao at gpul.org> wrote:
>
>
> 2015-08-17 14:59 GMT+02:00 Shaheen Bakhtiar <shashaness at hotmail.com <mailto:shashaness at hotmail.com>>:
>
> I would like to, but this is a root partition so when I do multipath -F it says device is in use, I would also need to update fstab, to reflect the new locations of root, swap, and boot. The question is this…. Can I do so without having to created a new initrd? or reconfiguring grub
>
> Did you blacklisted the device in /etc/multipath.conf and reloaded the service? If you did it, what is the output of multipath -ll command?
>
> About /etc/fstab, I think you don't need update nothing, as the partitions are identified by UUID not by device name.
>
>
> --
> Francisco J. Tsao Santín
> http://gattaca.es <http://gattaca.es/>
> 1024D/71CF4D62 42 F1 53 35 EF 98 98 8A FC 6C 56 B3 4C A7 7D FB
So...I thoroughly am not getting multipath at all :(
Where is the UUID for /boot partition?? The one that is NOT associated with multipathd? I want to setup fstab and disable the device in in multipathd.conf, but I’m afraid if I do that right now the loader won’t be able to find the boot partition as it still points to mpatha1. In fact, all references in grub.conf are to UUID 9abf4d-17aa-47fb-8f22-5d0d33711684 which is /dev/mapper/mpatha1
Am I missing something??
[root at smtp ~]# multipath -F
Sep 03 13:50:55 | mpatha2: map in use
Sep 03 13:50:55 | failed to remove multipath map mpatha
[root at smtp ~]# more /etc/fstab
#
# /etc/fstab
# Created by anaconda on Tue Aug 11 20:01:08 2015
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
#/dev/mapper/fedora_smtp-root / xfs defaults 0 0
#/dev/mapper/fedora_smtp-swap swap swap defaults 0 0
UUID=529abf4d-17aa-47fb-8f22-5d0d33711684 / xfs defaults 0 0
UUID=19a56b93-5a7d-48ca-8bc4-4ec461292dc0 /boot ext4 defaults 1 2
UUID=59c17540-971e-4cc9-8d3b-3e29fa9d62f6 swap swap defaults 0 0
[root at smtp ~]# df -m
Filesystem 1M-blocks Used Available Use% Mounted on
devtmpfs 1966 0 1966 0% /dev
tmpfs 1976 0 1976 0% /dev/shm
tmpfs 1976 1 1976 1% /run
tmpfs 1976 0 1976 0% /sys/fs/cgroup
/dev/mapper/fedora_smtp-root 233358 3553 229806 2% /
tmpfs 1976 1 1976 1% /tmp
/dev/mapper/mpatha1 380 123 234 35% /boot
tmpfs 396 0 396 0% /run/user/1000
[root at smtp ~]# fdisk -l /dev/cciss/c0d0
Disk /dev/cciss/c0d0: 232.9 GiB, 250023444480 bytes, 488327040 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xea0e0059
Device Boot Start End Sectors Size Id Type
/dev/cciss/c0d0p1 * 2048 821247 819200 400M 83 Linux
/dev/cciss/c0d0p2 821248 488310783 487489536 232.5G 8e Linux LVM
[root at smtp ~]# blkid
/dev/mapper/mpatha1: UUID="19a56b93-5a7d-48ca-8bc4-4ec461292dc0" TYPE="ext4" PARTUUID="ea0e0059-01"
/dev/mapper/mpatha2: UUID="BWFbnX-pWQM-8zqS-SIBk-fTak-Cxzj-ksp0Au" TYPE="LVM2_member" PARTUUID="ea0e0059-02"
/dev/mapper/fedora_smtp-root: UUID="529abf4d-17aa-47fb-8f22-5d0d33711684" TYPE="xfs"
/dev/mapper/fedora_smtp-swap: UUID="59c17540-971e-4cc9-8d3b-3e29fa9d62f6" TYPE="swap"
/dev/cciss/c0d0: PTUUID="ea0e0059" PTTYPE="dos"
/dev/mapper/mpatha: PTUUID="ea0e0059" PTTYPE=“dos"
[root at smtp ~]# multipath -ll
Sep 03 13:53:16 | cciss/c0d0: No fc_host device for 'host0'
Sep 03 13:53:16 | cciss/c0d0: No fc_host device for 'host0'
Sep 03 13:53:16 | cciss/c0d0: No fc_remote_port device for 'rport-0:0-0'
mpatha (3600508b10010503953574630324d0003) dm-0 HP ,LOGICAL VOLUME
size=233G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='service-time 0' prio=1 status=active
`- 0:0:0:0 cciss/c0d0 104:0 active ready running
[root at smtp ~]# multipath -v3
Sep 03 13:52:15 | loading /lib64/multipath/libcheckdirectio.so checker
Sep 03 13:52:15 | loading /lib64/multipath/libprioconst.so prioritizer
Sep 03 13:52:15 | sr0: device node name blacklisted
Sep 03 13:52:15 | cciss/c0d0: not found in pathvec
Sep 03 13:52:15 | cciss/c0d0: mask = 0x3f
Sep 03 13:52:15 | cciss/c0d0: dev_t = 104:0
Sep 03 13:52:15 | cciss/c0d0: size = 488327040
Sep 03 13:52:15 | cciss/c0d0: vendor = HP
Sep 03 13:52:15 | cciss/c0d0: product = LOGICAL VOLUME
Sep 03 13:52:15 | cciss/c0d0: rev = 1.78
Sep 03 13:52:15 | cciss/c0d0: h:b:t:l = 0:0:0:0
Sep 03 13:52:15 | cciss/c0d0: 59844 cyl, 255 heads, 32 sectors/track, start at 0
Sep 03 13:52:15 | cciss/c0d0: serial = PA6C90P9SWF02M
Sep 03 13:52:15 | cciss/c0d0: get_state
Sep 03 13:52:15 | loading /lib64/multipath/libchecktur.so checker
Sep 03 13:52:15 | cciss/c0d0: path checker = tur (controller setting)
Sep 03 13:52:15 | cciss/c0d0: checker timeout = 300000 ms (internal default)
Sep 03 13:52:15 | cciss/c0d0: state = up
Sep 03 13:52:15 | cciss/c0d0: uid_attribute = ID_SERIAL (internal default)
Sep 03 13:52:15 | cciss/c0d0: uid = 3600508b10010503953574630324d0003 (udev)
Sep 03 13:52:15 | cciss/c0d0: detect_prio = 1 (config file default)
Sep 03 13:52:15 | cciss/c0d0: prio = const (controller setting)
Sep 03 13:52:15 | cciss/c0d0: prio args = (null) (controller setting)
Sep 03 13:52:15 | cciss/c0d0: const prio = 1
Sep 03 13:52:15 | dm-0: device node name blacklisted
Sep 03 13:52:15 | dm-1: device node name blacklisted
Sep 03 13:52:15 | dm-2: device node name blacklisted
Sep 03 13:52:15 | dm-3: device node name blacklisted
Sep 03 13:52:15 | dm-4: device node name blacklisted
===== paths list =====
Sep 03 13:52:15 | cciss/c0d0: No fc_host device for 'host0'
Sep 03 13:52:15 | cciss/c0d0: No fc_host device for 'host0'
Sep 03 13:52:15 | cciss/c0d0: No fc_remote_port device for 'rport-0:0-0'
uuid hcil dev dev_t pri dm_st chk_st ve
3600508b10010503953574630324d0003 0:0:0:0 cciss/c0d0 104:0 1 undef ready HP
Sep 03 13:52:15 | cciss/c0d0: No fc_host device for 'host0'
Sep 03 13:52:15 | cciss/c0d0: No fc_host device for 'host0'
Sep 03 13:52:15 | cciss/c0d0: No fc_remote_port device for 'rport-0:0-0'
Sep 03 13:52:15 | params = 1 queue_if_no_path 0 1 1 service-time 0 1 2 104:0 1 1
Sep 03 13:52:15 | status = 2 0 0 0 1 1 A 0 1 2 104:0 A 0 0 1
Sep 03 13:52:15 | mpatha: disassemble map [1 queue_if_no_path 0 1 1 service-time 0 1 2 104:0 1 1 ]
Sep 03 13:52:15 | mpatha: disassemble status [2 0 0 0 1 1 A 0 1 2 104:0 A 0 0 1 ]
Sep 03 13:52:15 | tur checker refcount 1
Sep 03 13:52:15 | const prioritizer refcount 1
Sep 03 13:52:15 | unloading const prioritizer
Sep 03 13:52:15 | unloading tur checker
Sep 03 13:52:15 | unloading directio checker
[root at smtp ~]# tail -f /var/log/messages
Sep 3 14:19:44 smtp multipathd: 104:0: reinstated
Sep 3 14:19:49 smtp multipathd: 104:0: reinstated
Sep 3 14:19:54 smtp multipathd: 104:0: reinstated
Sep 3 14:19:59 smtp multipathd: 104:0: reinstated
Sep 3 14:20:04 smtp multipathd: 104:0: reinstated
Sep 3 14:20:09 smtp multipathd: 104:0: reinstated
Sep 3 14:20:14 smtp multipathd: 104:0: reinstated
Sep 3 14:20:19 smtp multipathd: 104:0: reinstated
Sep 3 14:20:24 smtp multipathd: 104:0: reinstated
Sep 3 14:20:29 smtp multipathd: 104:0: reinstated
Sep 3 14:20:34 smtp multipathd: 104:0: reinstated
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20150903/410b85e8/attachment-0001.html>
More information about the users
mailing list