#apt-get --download-only install firmware-qlogic #cp /var/cache/apt/archives/firmware-qlogic_* . #ar x firmware-qlogic* #tar cJpfv data.tar.xz #dd if=/dev/zero of=qlfw.raw bs=1M count=50 #mkdir fw #mount -o loop qlfw.raw fw #cp -r lib/firmware/* fw #umount fw
#fdisk -l| grep 50 Disk /dev/sdr: 50 MiB, 52428800 bytes, 102400 sectors #mkdir /lib/firmware #mount /dev/sdr /lib/firmware #rmmod qla2xxx #modprobe qla2xxx
#apt-get install multipath-tools … … : multipath-tools-boot , : multipath-tools 0, 1 , 0 , 0 . 0 B/185 kB . , 632 kB. multipath-tools. ( … 30895 .) …/multipath-tools_0.5.0-6+deb8u2_amd64.deb … multipath-tools (0.5.0-6+deb8u2) … systemd (215-17+deb8u5) … man-db (2.7.0.2-5) … multipath-tools (0.5.0-6+deb8u2) … libc-bin (2.19-18+deb8u6) …
#systemctl enable multipath-tools Synchronizing state for multipath-tools.service with sysvinit using update-rc.d... Executing /usr/sbin/update-rc.d multipath-tools defaults Executing /usr/sbin/update-rc.d multipath-tools enable
# multipath -l 36001438005dea4600001a000000f0000 dm-0 HP,HSV450 size=100G features='1 queue_if_no_path' hwhandler='0' wp=rw |-+- policy='service-time 0' prio=0 status=active | |- 0:0:2:1 sdd 8:48 active undef running | |- 0:0:3:1 sde 8:64 active undef running | |- 2:0:0:1 sdj 8:144 active undef running | `- 2:0:1:1 sdk 8:160 active undef running `-+- policy='service-time 0' prio=0 status=enabled |- 0:0:0:1 sdb 8:16 active undef running |- 0:0:1:1 sdc 8:32 active undef running |- 2:0:2:1 sdl 8:176 active undef running `- 2:0:3:1 sdm 8:192 active undef running 3600143801259c5630000d00000a40000 dm-1 HP,HSV360 size=200G features='1 queue_if_no_path' hwhandler='0' wp=rw |-+- policy='service-time 0' prio=0 status=active | |- 0:0:4:1 sdf 8:80 active undef running | |- 0:0:5:1 sdg 8:96 active undef running | |- 2:0:4:1 sdn 8:208 active undef running | `- 2:0:5:1 sdo 8:224 active undef running `-+- policy='service-time 0' prio=0 status=enabled |- 0:0:6:1 sdh 8:112 active undef running |- 0:0:7:1 sdi 8:128 active undef running |- 2:0:6:1 sdp 8:240 active undef running `- 2:0:7:1 sdq 65:0 active undef running
# mkfs.ext4 /dev/dm-0 mke2fs 1.42.12 (29-Aug-2014) Creating filesystem with 26214400 4k blocks and 6553600 inodes Filesystem UUID: ae98a176-55d4-484a-b637-6a57a9212d3c Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424, 20480000, 23887872 Allocating group tables: done Writing inode tables: done Creating journal (32768 blocks): done Writing superblocks and filesystem accounting information: done
# mount /dev/dm-0 /mnt/ # df -h /mnt % C /dev/mapper/36001438005dea4600001a000000f0000 99G 60M 94G 1% /mnt
#echo '/dev/dm-0 /mnt/ext4 defaults 0 0'>>/etc/fstab
Source: https://habr.com/ru/post/428059/
All Articles