LINUX.ORG.RU
решено ФорумAdmin

перенос сервера с mdadm на fake-raid(dmraid), проблема с initramfs в монтировании дисков

 ,


0

1

Всем доброго времяпрепровождения! Столкнулся с проблемой, при переносе с mdadm на фейк-raid. Вот есть сервер mdadm зеркало 2 диска /boot и расширенный раздел lvm с / и /var/lib/vz .ОС Debian c накатаным proxmoxom ve4.4. В общем все скопировал на новые разделы /boot / /var /var/lib/vz, отредактировал fstab, заплил загрузчик в MBR, сделал grub-update из под chroot. Но при старте после граба монтируется initramfs и начинаются проблемы система не может подмонтировать /var /boot /var/lib/vz и тд. Думаю может что-то в initramfs, обновил update-initramfs -u -k all.

процесс загрузки почемуто ищет LVM которых уже нет, дальше ждет dmraid https://drive.google.com/file/d/0By7od50gYcUAak5wUnZJdkhLVjBESUlEcnVESXJLUkVuQmFj/view?usp=sharing https://drive.google.com/file/d/0By7od50gYcUAdGRDWGxKMGViakhUaWV4bE51QTBGVDFVdGVB/view?usp=sharing

blkid

/dev/sda1: UUID="741b5440-4514-4510-9163-e3ef31a25629" TYPE="ext2" PARTUUID="c69319ca-01"
/dev/sda5: UUID="a6eb09a2-e34d-4b7d-b4cd-c4ce7a905725" TYPE="ext4" PARTUUID="c69319ca-05"
/dev/sda6: UUID="6ffd9886-ab90-4522-aff7-add8b14de7e9" TYPE="ext2" PARTUUID="c69319ca-06"
/dev/sda8: UUID="79eef058-1715-4ac5-a895-afa60a266d68" TYPE="ext4" PARTUUID="c69319ca-08"
/dev/sdb1: UUID="741b5440-4514-4510-9163-e3ef31a25629" TYPE="ext2" PARTUUID="c69319ca-01"
/dev/sdb5: UUID="a6eb09a2-e34d-4b7d-b4cd-c4ce7a905725" TYPE="ext4" PARTUUID="c69319ca-05"
/dev/sdb6: UUID="6ffd9886-ab90-4522-aff7-add8b14de7e9" TYPE="ext2" PARTUUID="c69319ca-06"
/dev/sdb8: UUID="79eef058-1715-4ac5-a895-afa60a266d68" TYPE="ext4" PARTUUID="c69319ca-08"
/dev/sdc1: UUID="c4I1Jf-zOSH-69IJ-lFYq-Re1L-pzAY-nKD6gI" TYPE="LVM2_member" PARTUUID="5d14065c-01"
/dev/sdd1: UUID="1b320f6d-b53a-4007-a046-27efb24fd419" TYPE="ext4" PARTUUID="961b9da1-01"
/dev/sdd5: UUID="e6d398b2-151c-4e8e-86db-84ac77cf8e57" TYPE="swap" PARTUUID="961b9da1-05"
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e781: UUID="741b5440-4514-4510-9163-e3ef31a25629" TYPE="ext2"
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e785: UUID="a6eb09a2-e34d-4b7d-b4cd-c4ce7a905725" TYPE="ext4"
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e786: UUID="6ffd9886-ab90-4522-aff7-add8b14de7e9" TYPE="ext2"
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e788: UUID="79eef058-1715-4ac5-a895-afa60a266d68" TYPE="ext4"
/dev/mapper/vg--storage00-lv01: UUID="7b9e58d2-6254-4b39-b270-f4241ab98afe" TYPE="ext4"
/dev/sde1: LABEL="USB DISK" UUID="2A44-2F36" TYPE="vfat" PARTUUID="42358ca1-01"
/dev/sda7: PARTUUID="c69319ca-07"
/dev/sdb7: PARTUUID="c69319ca-07"
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e78: PTUUID="c69319ca" PTTYPE="dos"

lsblk

NAME                   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda                      8:0    0 232.9G  0 disk 
|-sda1                   8:1    0   256M  0 part 
|-sda2                   8:2    0     1K  0 part 
|-sda5                   8:5    0    10G  0 part 
|-sda6                   8:6    0     4G  0 part 
|-sda7                   8:7    0    24G  0 part 
`-sda8                   8:8    0 193.7G  0 part 
sdb                      8:16   0 232.9G  0 disk 
|-sdb1                   8:17   0   256M  0 part 
|-sdb2                   8:18   0     1K  0 part 
|-sdb5                   8:21   0    10G  0 part 
|-sdb6                   8:22   0     4G  0 part 
|-sdb7                   8:23   0    24G  0 part 
`-sdb8                   8:24   0 193.7G  0 part 
sdc                      8:32   0 465.8G  0 disk 
`-sdc1                   8:33   0 465.8G  0 part 
  `-vg--storage00-lv01 251:2    0 465.8G  0 lvm  /mnt/storage00
sdd                      8:48   0  74.5G  0 disk 
|-sdd1                   8:49   0  71.5G  0 part 
|-sdd2                   8:50   0     1K  0 part 
`-sdd5                   8:53   0   3.1G  0 part 
sde                      8:64   1   3.7G  0 disk 
`-sde1                   8:65   1   3.7G  0 part /mnt/mymount/flush
dmraid -s
/dev/sdd: ddf1, ".ddf1_disks", GROUP, ok, 154296320 sectors, data@ 0
/dev/sdb: ddf1, ".ddf1_disks", GROUP, ok, 486326272 sectors, data@ 0
/dev/sda: ddf1, ".ddf1_disks", GROUP, ok, 486326272 sectors, data@ 0
dmraid -r
*** Group superset .ddf1_disks
--> Active Subset
name   : ddf1_4c5349202020202080862925000000004711471100001e78
size   : 486326272
stride : 128
type   : mirror
status : ok
subsets: 0
devs   : 2
spares : 0
--> Subset
name   : ddf1_4c53492020202020808629250000000047114711000028a0
size   : 154296320
stride : 128
type   : stripe
status : ok
subsets: 0
devs   : 1
spares : 0
fdisk -l

Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 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: 0xc69319ca

Device     Boot    Start       End   Sectors   Size Id Type
/dev/sda1  *        2048    526335    524288   256M 83 Linux
/dev/sda2         526336 486326271 485799936 231.7G  5 Extended
/dev/sda5         528384  21499903  20971520    10G 83 Linux
/dev/sda6       21501952  29890559   8388608     4G 83 Linux
/dev/sda7       29892608  80224255  50331648    24G 82 Linux swap / Solaris
/dev/sda8       80226304 486326271 406099968 193.7G 83 Linux

Disk /dev/sdb: 232.9 GiB, 250058268160 bytes, 488395055 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: 0xc69319ca

Device     Boot    Start       End   Sectors   Size Id Type
/dev/sdb1  *        2048    526335    524288   256M 83 Linux
/dev/sdb2         526336 486326271 485799936 231.7G  5 Extended
/dev/sdb5         528384  21499903  20971520    10G 83 Linux
/dev/sdb6       21501952  29890559   8388608     4G 83 Linux
/dev/sdb7       29892608  80224255  50331648    24G 82 Linux swap / Solaris
/dev/sdb8       80226304 486326271 406099968 193.7G 83 Linux

Disk /dev/sdc: 465.8 GiB, 500107862016 bytes, 976773168 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: 0x5d14065c

Device     Boot Start       End   Sectors   Size Id Type
/dev/sdc1        2048 976773167 976771120 465.8G 8e Linux LVM

Disk /dev/sdd: 74.5 GiB, 80025280000 bytes, 156299375 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: 0x961b9da1

Device     Boot     Start       End   Sectors  Size Id Type
/dev/sdd1  *         2048 149872639 149870592 71.5G 83 Linux
/dev/sdd2       149874686 156297215   6422530  3.1G  5 Extended
/dev/sdd5       149874688 156297215   6422528  3.1G 82 Linux swap / Solaris

Disk /dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e78: 231.9 GiB, 248999051264 bytes, 486326272 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: 0xc69319ca

Device                                                              Boot    Start       End   Sectors   Size Id Type
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e78p1 *        2048    526335    524288   256M 83 Linux
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e78p2        526336 486326271 485799936 231.7G  5 Extended
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e78p5        528384  21499903  20971520    10G 83 Linux
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e78p6      21501952  29890559   8388608     4G 83 Linux
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e78p7      29892608  80224255  50331648    24G 82 Linux swap / Solaris
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e78p8      80226304 486326271 406099968 193.7G 83 Linux

Disk /dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e781: 256 MiB, 268435456 bytes, 524288 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
Disk /dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e785: 10 GiB, 10737418240 bytes, 20971520 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
Disk /dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e786: 4 GiB, 4294967296 bytes, 8388608 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
Disk /dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e787: 24 GiB, 25769803776 bytes, 50331648 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
Disk /dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e788: 193.7 GiB, 207923183616 bytes, 406099968 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
Disk /dev/mapper/vg--storage00-lv01: 465.8 GiB, 500103643136 bytes, 976764928 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
Disk /dev/sde: 3.7 GiB, 4003037184 bytes, 7818432 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: 0x42358ca1

Device     Boot Start     End Sectors  Size Id Type
/dev/sde1  *     8064 7818431 7810368  3.7G  b W95 FAT32

fstab

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e785 /               ext4    errors=remount-ro 0       1
# /boot was on /dev/md0p1 during installation
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e781 /boot           ext2    defaults        0       2
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e786 /var            ext2    defaults        0       2
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e788 /var/lib/vz     ext4    defaults        0       2
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e787 none            swap    sw              0       0
/dev/sr0        /media/cdrom0   udf,iso9660 user,noauto     0       0
# UUID="c4I1Jf-zOSH-69IJ-lFYq-Re1L-pzAY-nKD6gI" TYPE="LVM2_member" storage
/dev/mapper/vg--storage00-lv01	/mnt/storage00	ext4	defaults	0	2
mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=3074456,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,relatime,size=4924528k,mode=755)
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e785 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd,nsroot=/)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,nsroot=/)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct,nsroot=/)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio,nsroot=/)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory,nsroot=/)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices,nsroot=/)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer,nsroot=/)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio,nsroot=/)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event,nsroot=/)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,nsroot=/)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids,nsroot=/)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=21,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/mapper/vg--storage00-lv01 on /mnt/storage00 type ext4 (rw,relatime,data=ordered)
/dev/fuse on /etc/pve type fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other)
/dev/sde1 on /mnt/mymount/flush type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)

ls udev в initramfs

50-firmware.rules
50-udev-default.rules
55-dm.rules
56-lvm.rules
60-persistent-storage-dm.rules
60-persistent-storage.rules
63-md-raid-arrays.rules
64-md-raid-assembly.rules
80-drivers.rules
85-dmraid.rules



Последнее исправление: hovercraft (всего исправлений: 2)

если потом выполнить команду mount -a то все подмонтируется mount -a

sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=3074456,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,relatime,size=4924528k,mode=755)
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e785 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd,nsroot=/)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,nsroot=/)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct,nsroot=/)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio,nsroot=/)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory,nsroot=/)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices,nsroot=/)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer,nsroot=/)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio,nsroot=/)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event,nsroot=/)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,nsroot=/)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids,nsroot=/)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=21,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/mapper/vg--storage00-lv01 on /mnt/storage00 type ext4 (rw,relatime,data=ordered)
/dev/fuse on /etc/pve type fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other)
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e781 on /boot type ext2 (rw,relatime,block_validity,barrier,user_xattr,acl)
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e786 on /var type ext2 (rw,relatime,block_validity,barrier,user_xattr,acl)
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e788 on /var/lib/vz type ext4 (rw,relatime,data=ordered)
/dev/sde1 on /mnt/mymount/flush type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)

hovercraft
() автор топика

Dracut, который в initramfs, ищет то, что указано в командной строке ядра. Удали оттуда поиск логического тома с бывшим корнем, добавь запуск dmraid.

iliyap ★★★★★
()

при переносе с mdadm на фейк-raid

Можно вопрос - зачем?

Deleted
()
Ответ на: комментарий от hovercraft

Intel специально допиливала mdadm для полной поддержки RST, а dmraid давно уже закопали.

anonymous
()
Ответ на: комментарий от hovercraft

Решил проблему с монтированием: в fstab изменил пути на /dev/disk/by-id/id_MD_RAID_ddf1_4c5349202020202080862925000000004711471100001e781 (как-то так точно не помню имя симлинка), они являются символьными ссылками на dm-№ устройства. Хотя в /dev/mapper/ тоже самое но видимо как-то подругому создаются, не знаю почему не монтрировалось, (и если прописать /dev/dm-№ или UUID то тоже не работало, что нибудь да и не подмонтируется), (если кто нибудь знает, из-за чего такие проблемы, буду безмерно благодарен).

Так вот решив одну проблему вылезла другая, в одном из 3-x попыток загрузить систему вылазит ошибка, устройство /dev/sdb5 занято (на нем точка монтирования root), я предполагаю что-то из-за UUID тк. оно одинаковое у sdb5 и sdc5 (диски в raid1) и ddf1_4c5349202020202080862925000000004711471100001e785 возможно состояние когда ядро путает и пытается подключить физический диск в место dm-raid устройства. https://drive.google.com/file/d/0B4v4APdHTeJTLUhHLUtFdzlFWDlsVzhORjRzN0Q0WDRZ...

hovercraft
() автор топика
Ответ на: комментарий от hovercraft

раскоментил в /etc/default/grub GRUB_DISABLE_LINUX_UUID=true

все ок полет нормальный

hovercraft
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.