Portál AbcLinuxu, 10. května 2025 09:12
[ 49.567645] Attempting manual resume [ 49.567650] swsusp: Resume From Partition 9:3 [ 49.567652] PM: Checking swsusp image. [ 49.567663] Read-error on swap-device (9:3:8) [ 49.567709] PM: Resume from disk failed.cat /proc/mdstat:
md3 : active raid1 sda6[0] sdb6[1] 1951744 blocks [2/2] [UU]mdadm --detail --scan /dev/md3: /dev/md3: Version : 00.90.03 Creation Time : Wed Jan 2 10:34:45 2008 Raid Level : raid1 Used Dev Size : 1951744 (1906.32 MiB 1998.59 MB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 3 Persistence : Superblock is persistent Update Time : Thu Feb 14 02:01:16 2008 State : clean, Not Started Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : e02feaa1:99046ffd:65de5d81:8df22480 Events : 0.18 Number Major Minor RaidDevice State 0 8 6 0 active sync /dev/sda6 1 8 22 1 active sync /dev/sdb6
mkswap /dev/md3 # a připojit : swapon /dev/md3zdar Max
mkswap: error: swap area needs to be at least 40kB
Při tom, ale velikost /dev/md3 (z mdadm --detail --scan /dev/md3) je 2 GB.
#fdisk -l Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x05f720bc Device Boot Start End Blocks Id System /dev/sda1 * 1 122 979933+ fd Linux raid autodetect /dev/sda2 123 48753 390628507+ fd Linux raid autodetect /dev/sda3 48754 56655 63472815 5 Extended /dev/sda5 48754 48875 979933+ fd Linux raid autodetect /dev/sda6 48876 49118 1951866 fd Linux raid autodetect /dev/sda7 49119 49847 5855661 fd Linux raid autodetect /dev/sda8 49848 50333 3903763+ fd Linux raid autodetect /dev/sda9 50334 50576 1951866 fd Linux raid autodetect /dev/sda10 50577 56655 48829536 fd Linux raid autodetect Disk /dev/sdb: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x05f720bc Device Boot Start End Blocks Id System /dev/sdb1 * 1 122 979933+ fd Linux raid autodetect /dev/sdb2 123 48753 390628507+ fd Linux raid autodetect /dev/sdb3 48754 56655 63472815 5 Extended /dev/sdb5 48754 48875 979933+ fd Linux raid autodetect /dev/sdb6 48876 49118 1951866 fd Linux raid autodetect /dev/sdb7 49119 49847 5855661 fd Linux raid autodetect /dev/sdb8 49848 50333 3903763+ fd Linux raid autodetect /dev/sdb9 50334 50576 1951866 fd Linux raid autodetect /dev/sdb10 50577 56655 48829536 fd Linux raid autodetect Disk /dev/md0: 1003 MB, 1003356160 bytes 2 heads, 4 sectors/track, 244960 cylinders Units = cylinders of 8 * 512 = 4096 bytes Disk identifier: 0x00000000 Disk /dev/md0 doesn't contain a valid partition table Disk /dev/md1: 400.0 GB, 400003497984 bytes 2 heads, 4 sectors/track, 97657104 cylinders Units = cylinders of 8 * 512 = 4096 bytes Disk identifier: 0x00000000 Disk /dev/md1 doesn't contain a valid partition table Disk /dev/md2: 1003 MB, 1003356160 bytes 2 heads, 4 sectors/track, 244960 cylinders Units = cylinders of 8 * 512 = 4096 bytes Disk identifier: 0x00000000 Disk /dev/md2 doesn't contain a valid partition table Disk /dev/md4: 5996 MB, 5996085248 bytes 2 heads, 4 sectors/track, 1463888 cylinders Units = cylinders of 8 * 512 = 4096 bytes Disk identifier: 0x00000000 Disk /dev/md4 doesn't contain a valid partition table Disk /dev/md5: 3997 MB, 3997368320 bytes 2 heads, 4 sectors/track, 975920 cylinders Units = cylinders of 8 * 512 = 4096 bytes Disk identifier: 0x00000000 Disk /dev/md5 doesn't contain a valid partition table Disk /dev/md6: 1998 MB, 1998585856 bytes 2 heads, 4 sectors/track, 487936 cylinders Units = cylinders of 8 * 512 = 4096 bytes Disk identifier: 0x00000000 Disk /dev/md6 doesn't contain a valid partition table Disk /dev/md7: 50.0 GB, 50001346560 bytes 2 heads, 4 sectors/track, 12207360 cylinders Units = cylinders of 8 * 512 = 4096 bytes Disk identifier: 0x00000000 Disk /dev/md7 doesn't contain a valid partition table
'Disk /dev/mdx doesn't contain a valid partition table'To je podle mne normální hláška, z toho si nic nedělej ...
blockdev --getsize --getss /dev/md3
?
#blockdev --getsize --getss /dev/md3 0 512
Aha, on neni nastartovany. No tak bych ho zkusil rozjet.
mdadm -A /de/md3 -R /dev/sd[ab]6
Ale je to divne, pokud to nenastaruje automaticky, tak by mel neco vypsat do logu...
Feb 13 20:30:13 iscp kernel: [ 51.317731] md: md3 stopped. Feb 13 20:30:13 iscp kernel: [ 51.463933] md: bind< sdb6> Feb 13 20:30:13 iscp kernel: [ 51.464165] md: bind< sda6> Feb 13 20:30:13 iscp kernel: [ 52.497500] raid1: raid set md3 active with 2 out of 2 mirrors
#mdadm -A /dev/md3 -R /dev/sda6 mdadm: device /dev/md3 already active - cannot assemble it # mdadm -A /dev/md3 -R /dev/sdb6 mdadm: device /dev/md3 already active - cannot assemble it
free # nebo : cat /proc/swapsZkus kdyžtak zkontrolovat stav swapu :
mkswap -c /dev/md3 swapon /dev/md3Nebo ho pak zkus ještě znovu vytvořit nějak takhle :
mkswap -v1 /dev/md3 swapon /dev/md3Zdar Max
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.