Zabil by som tie hovada, ktore zoberu Linux, ale musia ho za kazdu cenu nejako skurvit. Vratane formatu dat na diskoch.
Vyzera to ako bezny mdraid:
Kód: Vybrat vše
# fdisk -l /dev/sdb
Disk /dev/sdb: 74.51 GiB, 80000000000 bytes, 156250000 sectors
Disk model: Hitachi HDS72168
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: 0x574cde87
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 4982527 4980480 2.4G fd Linux raid autodetect
/dev/sdb2 4982528 9176831 4194304 2G fd Linux raid autodetect
Lenze to nefunguje:
Kód: Vybrat vše
# mdadm -Asf
mdadm: No arrays found in config file or automatically
# mdadm --assemble /dev/md0 /dev/sdb1
mdadm: no recogniseable superblock on /dev/sdb1
mdadm: /dev/sdb1 has no superblock - assembly aborted
# mdadm --assemble /dev/md0 /dev/sdb2
mdadm: no recogniseable superblock on /dev/sdb2
mdadm: /dev/sdb2 has no superblock - assembly aborted
# blkid /dev/sdb1 /dev/sdb2
/dev/sdb1: UUID="32d4fbe6-7dae-66a6-3017-a5a8c86610be" TYPE="linux_raid_member" PARTUUID="574cde87-01"
/dev/sdb2: UUID="39e2a1c0-91d5-b8e5-3017-a5a8c86610be" TYPE="linux_raid_member" PARTUUID="574cde87-02"
Aha, oni do particii typu RAID nasrali priamo data? Alebo pouzili nejaky neznamy format superbloku (to je teraz jedno, kedze som tam mal len jeden disk).
Kód: Vybrat vše
# file -s /dev/sdb1
/dev/sdb1: Linux rev 1.0 ext4 filesystem data, UUID=6cddcdc5-a51b-41ba-b3a5-4c2a5d01ce2d, volume name "1.44.1-42218" (needs journal recovery) (extents) (64bit) (large files) (huge files)
# file -s /dev/sdb2
/dev/sdb2: Linux swap file, 4k page size, little endian, version 1, size 524271 pages, 0 bad pages, no label, UUID=5dab8c2d-eb5e-41cb-b473-8c6c9e199f1e
# mount /dev/sdb1 /mnt/ -t ext4
# ls -la /mnt
total 96
drwxr-xr-x 23 root root 4096 Jan 1 2000 .
drwxr-xr-x 24 root root 4096 Oct 23 20:14 ..
lrwxrwxrwx 1 root root 7 Feb 4 19:11 bin -> usr/bin
drwx------ 2 root root 4096 Feb 4 19:13 config
drwxr-xr-x 3 root root 4096 Feb 4 19:11 dev
drwxr-xr-x 45 root root 4096 Jan 1 2000 etc
drwxr-xr-x 42 root root 4096 Feb 4 19:12 etc.defaults
drwxr-xr-x 2 root root 4096 Oct 18 15:17 initrd
lrwxrwxrwx 1 root root 7 Feb 4 19:11 lib -> usr/lib
lrwxrwxrwx 1 root root 9 Feb 4 19:11 lib32 -> usr/lib32
lrwxrwxrwx 1 root root 7 Feb 4 19:11 lib64 -> usr/lib
drwxr-xr-x 3 root root 4096 Jan 1 2000 .log.junior
drwx------ 2 root root 4096 Oct 18 15:17 lost+found
drwxr-xr-x 2 root root 4096 Oct 18 15:17 mnt
drwxr-xr-x 2 root root 4096 Feb 4 19:12 .old_patch_info
drwxr-xr-x 2 root root 4096 Oct 18 15:17 proc
-rw------- 1 root root 1024 Jan 1 2000 .rnd
drwx------ 2 root root 4096 Feb 4 19:11 root
drwxr-xr-x 8 root root 4096 Feb 4 19:12 run
lrwxrwxrwx 1 root root 8 Feb 4 19:11 sbin -> usr/sbin
drwxr-xr-x 3 root root 4096 Feb 4 19:09 .syno
drwxr-xr-x 2 root root 4096 Feb 4 19:09 .SynoUpgradePackages
dr-xr-xr-x 2 root root 4096 Oct 18 15:17 sys
drwxr-xr-x 2 root root 4096 Feb 4 19:13 .system_info
drwxrwxrwx 2 root root 4096 Jan 1 2000 tmp
drwxr-xr-x 12 root root 4096 Jan 12 09:37 usr
drwxr-xr-x 15 root root 4096 Feb 4 19:13 var
drwxr-xr-x 12 root root 4096 Feb 4 19:11 var.defaults
drwxrwxrwx 2 root root 4096 Oct 18 15:17 volume1
RAM som zatial otestoval v notebooku a je dobra.