Portál AbcLinuxu, 6. května 2025 17:23
Diskove pole se po restartu spravne nesestavi. Po restartu se to pokazde chova jinak
dmesg | grep md
[ 4.092207] systemd[1]: systemd 37 running in system mode. (+PAM +LIBWRAP
+AUDIT +SELINUX +SYSVINIT +LIBCRYPTSETUP; suse)
[ 4.289215] systemd[1]: Set hostname to <server1.petrmatula.priv>.
[ 5.736494] systemd-readahead-replay[368]: Bumped block_nr parameter of 8:0
to 16384. This is a temporary hack and should be removed one day.
[ 9.279546] systemd[1]: systemd-modules-load.service: main process exited,
code=exited, status=1
[ 9.295237] systemd[1]: Unit systemd-modules-load.service entered failed
state.
[ 9.781578] md: bind<sdb1>
[ 9.808776] md: bind<sdc1>
[ 9.821901] md: raid1 personality registered for level 1
[ 9.822723] md/raid1:md0: active with 2 out of 2 mirrors
[ 9.823003] created bitmap (8 pages) for device md0
[ 9.824865] md0: bitmap initialized from disk: read 1/1 pages, set 0 of
14905 bits
[ 9.842405] md0: detected capacity change from 0 to 1000202100736
[ 9.871189] md0: unknown partition table
[ 15.213639] md: bind<sdd1>
[ 15.229268] boot.md[418]: Starting MD RAID mdadm: /dev/md1 is already in
use.
[ 15.230425] boot.md[418]: ..failed
[ 15.231560] systemd[1]: md.service: control process exited, code=exited
status=1
[ 15.262126] systemd[1]: Unit md.service entered failed state.
[ 15.392321] systemd-fsck[672]: /dev/md0: čistý, 6924/61054976 souborů,
49931736/244189966 bloků
[ 15.545823] systemd-fsck[673]: /dev/sda3: čistý, 57509/19668992 souborů,
25464940/78644224 bloků
[ 15.870533] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts:
(null)
[ 95.661894] systemd[1]: Job
dev-disk-by\x2did-md\x2duuid\x2d46330e73:3ff05dbb:e511b58f:004ff5dd.device/start
timed out.
[ 95.662036] systemd[1]: Job remote-fs.target/start failed with result
'dependency'.
[ 95.662069] systemd[1]: Job local-fs.target/start failed with result
'dependency'.
[ 95.662084] systemd[1]: Triggering OnFailure= dependencies of
local-fs.target.
[ 95.664256] systemd[1]: Job raid-md1.mount/start failed with result
'dependency'.
[ 95.664281] systemd[1]: Job
dev-disk-by\x2did-md\x2duuid\x2d46330e73:3ff05dbb:e511b58f:004ff5dd.device/start
failed with result 'timeout'.
[ 96.014262] systemd[1]: Startup finished in 4s 314ms 891us (kernel) + 1min
31s 699ms 18us (userspace) = 1min 36s 13ms 909us.
dalsi restart
[ 3.882198] systemd[1]: systemd 37 running in system mode. (+PAM +LIBWRAP
+AUDIT +SELINUX +SYSVINIT +LIBCRYPTSETUP; suse)
[ 4.079183] systemd[1]: Set hostname to <server1.petrmatula.priv>.
[ 5.521600] systemd-readahead-replay[370]: Bumped block_nr parameter of 8:0
to 16384. This is a temporary hack and should be removed one day.
[ 10.807652] systemd[1]: systemd-modules-load.service: main process exited,
code=exited, status=1
[ 10.818249] systemd[1]: Unit systemd-modules-load.service entered failed
state.
[ 11.213409] md: bind<sdc1>
[ 11.239733] md: bind<sdb1>
[ 11.253827] md: raid1 personality registered for level 1
[ 11.255723] md/raid1:md0: active with 2 out of 2 mirrors
[ 11.256200] created bitmap (8 pages) for device md0
[ 11.260700] md0: bitmap initialized from disk: read 1/1 pages, set 0 of
14905 bits
[ 11.276659] md0: detected capacity change from 0 to 1000202100736
[ 11.283628] md0: unknown partition table
[ 16.557254] md: md1 stopped.
[ 16.559317] md: could not open unknown-block(8,49).
[ 16.559372] md: md_import_device returned -16
[ 16.559890] boot.md[509]: Starting MD RAID mdadm: failed to add /dev/sdd1 to
/dev/md1: Device or resource busy
[ 16.559928] boot.md[509]: mdadm: /dev/md1 assembled from 0 drives - not
enough to start the array.
[ 16.561289] boot.md[509]: ..failed
[ 16.562917] systemd[1]: md.service: control process exited, code=exited
status=1
[ 16.573077] md: bind<sdd1>
[ 16.582157] systemd[1]: Unit md.service entered failed state.
[ 16.696679] systemd-fsck[669]: /dev/md0: čistý, 6924/61054976 souborů,
49931736/244189966 bloků
[ 16.850261] systemd-fsck[671]: /dev/sda3: čistý, 57509/19668992 souborů,
25464940/78644224 bloků
[ 17.118064] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts:
(null)
[ 95.443625] systemd[1]: Job
dev-disk-by\x2did-md\x2duuid\x2d46330e73:3ff05dbb:e511b58f:004ff5dd.device/start
timed out.
[ 95.443739] systemd[1]: Job remote-fs.target/start failed with result
'dependency'.
[ 95.443765] systemd[1]: Job local-fs.target/start failed with result
'dependency'.
[ 95.443779] systemd[1]: Triggering OnFailure= dependencies of
local-fs.target.
[ 95.445970] systemd[1]: Job raid-md1.mount/start failed with result
'dependency'.
[ 95.445996] systemd[1]: Job
dev-disk-by\x2did-md\x2duuid\x2d46330e73:3ff05dbb:e511b58f:004ff5dd.device/start
failed with result 'timeout'.
[ 95.896242] systemd[1]: Startup finished in 4s 104ms 859us (kernel) + 1min
31s 791ms 26us (userspace) = 1min 35s 895ms 885us.
dalsi restart
[ 4.292208] systemd[1]: systemd 37 running in system mode. (+PAM +LIBWRAP
+AUDIT +SELINUX +SYSVINIT +LIBCRYPTSETUP; suse)
[ 4.489246] systemd[1]: Set hostname to <server1.petrmatula.priv>.
[ 5.940908] systemd-readahead-replay[372]: Bumped block_nr parameter of 8:0
to 16384. This is a temporary hack and should be removed one day.
[ 7.251639] systemd[1]: systemd-modules-load.service: main process exited,
code=exited, status=1
[ 7.268288] systemd[1]: Unit systemd-modules-load.service entered failed
state.
[ 7.388841] md: bind<sdb1>
[ 7.442316] md: bind<sdc1>
[ 7.458472] md: raid1 personality registered for level 1
[ 7.459314] md/raid1:md0: active with 2 out of 2 mirrors
[ 7.459491] created bitmap (8 pages) for device md0
[ 7.461243] md0: bitmap initialized from disk: read 1/1 pages, set 0 of
14905 bits
[ 7.479690] md0: detected capacity change from 0 to 1000202100736
[ 7.486602] md0: unknown partition table
[ 7.964076] boot.md[533]: Starting MD RAID ..done
[ 8.136621] systemd-fsck[668]: /dev/md0: čistý, 6924/61054976 souborů,
49931736/244189966 bloků
[ 8.273418] systemd-fsck[669]: /dev/sda3: čistý, 57509/19668992 souborů,
25464940/78644224 bloků
[ 8.768531] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts:
(null)
[ 12.789912] md: bind<sdd1>
[ 12.799591] md: bind<sde1>
[ 12.805834] md/raid1:md1: active with 2 out of 2 mirrors
[ 12.806124] created bitmap (22 pages) for device md1
[ 12.810168] md1: bitmap initialized from disk: read 2/2 pages, set 0 of
44713 bits
[ 12.826584] md1: detected capacity change from 0 to 3000591310848
[ 12.830919] md1: unknown partition table
[ 12.989353] systemd-fsck[705]: /dev/md1: čistý, 26324/183148544 souborů,
597971505/732566238 bloků
[ 13.353282] EXT4-fs (md1): mounted filesystem with ordered data mode. Opts:
(null)
[ 13.859577] systemd[1]: lm_sensors.service: control process exited,
code=exited status=1
[ 13.875216] systemd[1]: Unit lm_sensors.service entered failed state.
dalsi reboot
[ 3.920200] systemd[1]: systemd 37 running in system mode. (+PAM +LIBWRAP
+AUDIT +SELINUX +SYSVINIT +LIBCRYPTSETUP; suse)
[ 4.099924] systemd[1]: Set hostname to <server1.petrmatula.priv>.
[ 5.540746] systemd-readahead-replay[372]: Bumped block_nr parameter of 8:0
to 16384. This is a temporary hack and should be removed one day.
[ 10.628687] systemd[1]: systemd-modules-load.service: main process exited,
code=exited, status=1
[ 10.640230] systemd[1]: Unit systemd-modules-load.service entered failed
state.
[ 10.971605] md: bind<sdb1>
[ 11.061229] md: bind<sdc1>
[ 11.069523] md: raid1 personality registered for level 1
[ 11.070311] md/raid1:md0: active with 2 out of 2 mirrors
[ 11.070506] created bitmap (8 pages) for device md0
[ 11.072392] md0: bitmap initialized from disk: read 1/1 pages, set 0 of
14905 bits
[ 11.086918] md0: detected capacity change from 0 to 1000202100736
[ 11.093430] md0: unknown partition table
[ 16.316647] md: bind<sdd1>
[ 16.346755] boot.md[496]: Starting MD RAID mdadm: /dev/md1 is already in
use.
[ 16.348321] boot.md[496]: ..failed
[ 16.349846] systemd[1]: md.service: control process exited, code=exited
status=1
[ 16.359144] systemd[1]: Unit md.service entered failed state.
[ 16.365800] md: bind<sde1>
[ 16.371756] md/raid1:md1: active with 2 out of 2 mirrors
[ 16.371972] created bitmap (22 pages) for device md1
[ 16.376605] md1: bitmap initialized from disk: read 2/2 pages, set 0 of
44713 bits
[ 16.401608] md1: detected capacity change from 0 to 3000591310848
[ 16.406154] md1: unknown partition table
[ 16.468152] systemd-fsck[655]: /dev/md0: čistý, 6924/61054976 souborů,
49931736/244189966 bloků
[ 16.560877] systemd-fsck[666]: /dev/md1: čistý, 26324/183148544 souborů,
597971505/732566238 bloků
[ 16.621383] systemd-fsck[659]: /dev/sda3: čistý, 57509/19668992 souborů,
25464940/78644224 bloků
[ 16.883210] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts:
(null)
[ 17.066801] EXT4-fs (md1): mounted filesystem with ordered data mode. Opts:
(null)
[ 17.428728] systemd[1]: lm_sensors.service: control process exited,
code=exited status=1
[ 17.444155] systemd[1]: Unit lm_sensors.service entered failed state.
Diskove pole se po restartu spravne nesestavi. Po restaru se to chova pokazde jinak. Viz. priloha
cat /proc/mdstat
vypíše co?
cat /proc/mdstatvypise, ze se pole sestavilo degradovane. Pole je sestavene z jednoho disku, pokazde jineho. Pokud potom druhy disk do pole pridam rucne
mdadm --add /dev/sde1 /dev/md1
pole se okamzite sestavi.
ARRAY /dev/md1 level=raid1 num-devices=2 metadata=00.90 UUID=1c98839c:cbd14e0a:a817a25d:448d6eec
ARRAY /dev/md0 level=raid1 num-devices=2 metadata=00.90 spares=1 UUID=edc47bd8:0ef3af38:a817a25d:448d6eec
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.