Portál AbcLinuxu, 13. května 2025 23:04
Dobrý večer přeji Již několik hodin řeším, proč se mi přestaly vytvářen nody pro /dev/sdXY z kterých tvořím přes mdadm sw raid1. Z logů bohužel chytrý nejsem. MD nody jde vytvořit prostřednictvím "mknod /dev/mdXYZ b 9 XYZ" s tím, že posléze vše mountnu pomocí mount -a. Po restartu jsem ovšem zpátky při starém. Přiložené výpisy jsou po aplikaci prozatimní opravy. Kernel 2.6.36-r5 Mdadm 3.1.4 Udev 151-r4 Přikládám pár výpisů:
# blkid /dev/.tmp.md127: UUID="285e2f33-1c1e-420c-99a7-3322288ddb43" TYPE="xfs" /dev/.tmp.md126: UUID="6aeaecea-fe90-4ae9-a91a-0ee955b7a273" SEC_TYPE="ext2" TYPE="ext3" /dev/.tmp.md125: UUID="72792a17-750e-447e-aec2-f62231de06ac" TYPE="ext3" /dev/.tmp.md1: UUID="b15e70b9-7a1a-4eb3-8d38-e9243a9fbec7" TYPE="swap" /dev/.tmp.md123: UUID="66094ca0-651d-4f65-8bc9-b27e6a107cb1" SEC_TYPE="ext2" TYPE="ext3"
# cat /proc/mdstat Personalities : [raid0] [raid1] [multipath] md123 : active raid1 sdb1[1] sd a1[0] 48064 blocks [2/2] [UU] md1 : active raid1 sdb2[1] sd a2[0] 489856 blocks [2/2] [UU] md125 : active raid1 sdb3[1] sd a3[0] 19534976 blocks [2/2] [UU] md126 : active raid1 sdb5[1] sd a5[0] 39061952 blocks [2/2] [UU] md127 : active raid1 sdb6[1] sd a6[0] 101699328 blocks [2/2] [UU] unused devices:
# cat /etc/mdadm.conf MAILADDR root DEVICE partitions ARRAY /dev/md123 super-minor=1 level=raid1 num-devices=2 UUID=0d78510b:f5a2f486:467ac76d:dd50a15d ARRAY /dev/md1 super-minor=1 level=raid1 num-devices=2 UUID=b42eaacf:51576896:35479cfd:f45a2632 ARRAY /dev/md125 super-minor=1 level=raid1 num-devices=2 UUID=ccdf37b9:0502fe99:69d30215:d837bfbc ARRAY /dev/md126 super-minor=1 level=raid1 num-devices=2 UUID=7d5db13c:1630a296:89761491:bc05f84f ARRAY /dev/md127 super-minor=1 level=raid1 num-devices=2 UUID=5882debe:4b18d1d4:1e6bb696:6bf832ba
Ukázka logu:
md: Waiting for all devices to be available before autodetect md: If you don't use raid, use raid=noautodetect md: Autodetecting RAID arrays. usb 4-1: new low speed USB device using ohci_hcd and address 2 md: Scanned 10 and added 10 devices. md: autorun ... md: considering sdb6 ... md: adding sdb6 ... md: sdb5 has different UUID to sdb6 md: sdb3 has different UUID to sdb6 md: sdb2 has different UUID to sdb6 md: sdb1 has different UUID to sdb6 md: adding sd a6 ... md: sd a5 has different UUID to sdb6 md: sda3 has different UUID to sdb6 md: sda2 has different UUID to sdb6 md: sda1 has different UUID to sdb6 md: created md127 md: bind md: bind md: running: md/raid1:md127: active with 2 out of 2 mirrors md127: detected capacity change from 0 to 104140111872 md: considering sdb5 ... md: adding sdb5 ... md: sdb3 has different UUID to sdb5 md: sdb2 has different UUID to sdb5 md: sdb1 has different UUID to sdb5 md: adding sda5 ... md: sda3 has different UUID to sdb5 md: sda2 has different UUID to sdb5 md: sda1 has different UUID to sdb5 md: created md126 md: bind md: bind md: running: md/raid1:md126: active with 2 out of 2 mirrors md126: detected capacity change from 0 to 39999438848 md: considering sdb3 ... md: adding sdb3 ... md: sdb2 has different UUID to sdb3 md: sdb1 has different UUID to sdb3 md: adding sda3 ... md: sda2 has different UUID to sdb3 md: sda1 has different UUID to sdb3 md: created md125 md: bind md: bind md: running: md/raid1:md125: active with 2 out of 2 mirrors md125: detected capacity change from 0 to 20003815424 md: considering sdb2 ... md: adding sdb2 ... md: sdb1 has different UUID to sdb2 md: adding sda2 ... md: sda1 has different UUID to sdb2 md: created md1 md: bind md: bind md: running: md/raid1:md1: active with 2 out of 2 mirrors md1: detected capacity change from 0 to 501612544 md: considering sdb1 ... md: adding sdb1 ... md: adding sda1 ... md: created md123 md: bind md: bind md: running: md/raid1:md123: active with 2 out of 2 mirrors md123: detected capacity change from 0 to 49217536 md: ... autorun DONE. md125: detected capacity change from 0 to 20003815424 md125: unknown partition table EXT3-fs: barriers not enabled kjournald starting. Commit interval 5 seconds EXT3-fs (md125): mounted filesystem with writeback data mode VFS: Mounted root (ext3 filesystem) readonly on device 9:125. Freeing unused kernel memory: 656k freed generic-usb 0003:051D:0002.0001: hiddev0: USB HID v1.10 Device [American Power Conversion Back-UPS RS 500 FW:30.j5.I USB FW:j5] on usb-0000:00:12.1-1/input0 udev: starting version 151 udevd (1410): /proc/1410/oom_adj is deprecated, please use /proc/1410/oom_score_adj instead. EXT3-fs (md125): using internal journal md123: detected capacity change from 0 to 49217536 md123: unknown partition table md1: detected capacity change from 0 to 501612544 md1: unknown partition table md126: detected capacity change from 0 to 39999438848 md126: unknown partition table md127: detected capacity change from 0 to 104140111872 md127: unknown partition table md123: detected capacity change from 0 to 49217536 md123: unknown partition table md1: detected capacity change from 0 to 501612544 md1: unknown partition table md126: detected capacity change from 0 to 39999438848 md126: unknown partition table md127: detected capacity change from 0 to 104140111872 md127: unknown partition table md123: detected capacity change from 0 to 49217536 md123: unknown partition table md1: detected capacity change from 0 to 501612544 md1: unknown partition table md126: detected capacity change from 0 to 39999438848 md126: unknown partition table md127: detected capacity change from 0 to 104140111872 md127: unknown partition table md123: detected capacity change from 0 to 49217536 md123: unknown partition table md1: detected capacity change from 0 to 501612544 md1: unknown partition table md126: detected capacity change from 0 to 39999438848 md126: unknown partition table md127: detected capacity change from 0 to 104140111872 md127: unknown partition table md123: detected capacity change from 0 to 49217536 md123: unknown partition table md1: detected capacity change from 0 to 501612544 md1: unknown partition table md126: detected capacity change from 0 to 39999438848 md126: unknown partition table md127: detected capacity change from 0 to 104140111872 md127: unknown partition table md123: detected capacity change from 0 to 49217536 md123: unknown partition table md1: detected capacity change from 0 to 501612544 md1: unknown partition table md126: detected capacity change from 0 to 39999438848 md126: unknown partition table md127: detected capacity change from 0 to 104140111872 md127: unknown partition table
Jsem si vědom hlášení nesprávného UUID, ale to jsem kontroloval a je v pořádku. Uniká mi detekce počátku jednotlivých particí, ale jsem aktuálně na mrtvém bodu. Děkuji za každý ohlas.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.