Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ sudo mdadm --detail-platform
- Platform : Intel(R) Rapid Storage Technology
- Version : 10.1.0.1008
- RAID Levels : raid0 raid1 raid5
- Chunk Sizes : 4k 8k 16k 32k 64k 128k
- 2TB volumes : supported
- 2TB disks : not supported
- Max Disks : 7
- Max Volumes : 2 per array, 4 per controller
- I/O Controller : /sys/devices/pci0000:00/0000:00:1f.2 (SATA)
- Port0 : /dev/sda (W0Q6DV7Z)
- Port3 : - non-disk device (HL-DT-ST DVD+-RW GS30N) -
- Port1 : /dev/sdb (W0Q6CJM1)
- Port2 : - no device attached -
- Port4 : - no device attached -
- Port5 : - no device attached -
- $ sudo fdisk -l
- Disk /dev/loop0: 298.1 GiB, 320072933376 bytes, 625142448 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: 0x2bd2c32a
- Device Boot Start End Sectors Size Id Type
- /dev/loop0p1 * 2048 4196351 4194304 2G 7 HPFS/NTFS/exFAT
- /dev/loop0p2 4196352 1250273279 1246076928 594.2G 7 HPFS/NTFS/exFAT
- Disk /dev/loop1: 298.1 GiB, 320072933376 bytes, 625142448 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/sda: 298.1 GiB, 320072933376 bytes, 625142448 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
- Disklabel type: dos
- Disk identifier: 0x2bd2c32a
- Device Boot Start End Sectors Size Id Type
- /dev/sda1 * 2048 4196351 4194304 2G 7 HPFS/NTFS/exFAT
- /dev/sda2 4196352 1250273279 1246076928 594.2G 7 HPFS/NTFS/exFAT
- Disk /dev/sdb: 298.1 GiB, 320072933376 bytes, 625142448 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
- $ sudo mdadm --examine --verbose /dev/sda
- /dev/sda:
- Magic : Intel Raid ISM Cfg Sig.
- Version : 1.0.00
- Orig Family : 81bdf089
- Family : 81bdf089
- Generation : 00001796
- Attributes : All supported
- UUID : acf55f6b:49f936c5:787fa66e:620d7df0
- Checksum : 6cf37d06 correct
- MPB Sectors : 1
- Disks : 2
- RAID Devices : 1
- [ARRAY]:
- UUID : e4d3f954:2f449bfd:43495615:e040960c
- RAID Level : 0
- Members : 2
- Slots : [_U]
- Failed disk : 0
- This Slot : ?
- Array Size : 1250275328 (596.18 GiB 640.14 GB)
- Per Dev Size : 625137928 (298.09 GiB 320.07 GB)
- Sector Offset : 0
- Num Stripes : 2441944
- Chunk Size : 128 KiB
- Reserved : 0
- Migrate State : idle
- Map State : normal
- Dirty State : clean
- Disk00 Serial : W0Q6DV7Z
- State : active failed
- Id : 00000000
- Usable Size : 625136142 (298.09 GiB 320.07 GB)
- Disk01 Serial : W0Q6CJM1
- State : active
- Id : 00010000
- Usable Size : 625136142 (298.09 GiB 320.07 GB)
- $ sudo mdadm --examine --verbose /dev/sdb
- /dev/sdb:
- Magic : Intel Raid ISM Cfg Sig.
- Version : 1.0.00
- Orig Family : 81bdf089
- Family : 81bdf089
- Generation : 00001796
- Attributes : All supported
- UUID : acf55f6b:49f936c5:787fa66e:620d7df0
- Checksum : 6cf37d06 correct
- MPB Sectors : 1
- Disks : 2
- RAID Devices : 1
- Disk01 Serial : W0Q6CJM1
- State : active
- Id : 00010000
- Usable Size : 625137928 (298.09 GiB 320.07 GB)
- [ARRAY]:
- UUID : e4d3f954:2f449bfd:43495615:e040960c
- RAID Level : 0
- Members : 2
- Slots : [_U]
- Failed disk : 0
- This Slot : 1
- Array Size : 1250275328 (596.18 GiB 640.14 GB)
- Per Dev Size : 625137928 (298.09 GiB 320.07 GB)
- Sector Offset : 0
- Num Stripes : 2441944
- Chunk Size : 128 KiB
- Reserved : 0
- Migrate State : idle
- Map State : normal
- Dirty State : clean
- Disk00 Serial : W0Q6DV7Z
- State : active failed
- Id : 00000000
- Usable Size : 625137928 (298.09 GiB 320.07 GB)
- $ sudo mdadm --assemble --verbose /dev/md0 /dev/loop0 /dev/loop1
- mdadm: looking for devices for /dev/md0
- mdadm: Cannot assemble mbr metadata on /dev/loop0
- mdadm: /dev/loop0 has no superblock - assembly aborted
- $ sudo mdadm -CR /dev/md/imsm -e imsm -n 2 /dev/loop[01]
- mdadm: /dev/loop0 is not attached to Intel(R) RAID controller.
- mdadm: /dev/loop0 is not suitable for this array.
- mdadm: /dev/loop1 is not attached to Intel(R) RAID controller.
- mdadm: /dev/loop1 is not suitable for this array.
- mdadm: create aborted
- $ sudo IMSM_NO_PLATFORM=1 IMSM_DEVNAME_AS_SERIAL=1 mdadm -CR /dev/md/imsm -e imsm -n 2 /dev/loop[01]
- mdadm: /dev/loop0 appears to be part of a raid array:
- level=container devices=0 ctime=Wed Dec 31 19:00:00 1969
- mdadm: metadata will over-write last partition on /dev/loop0.
- mdadm: /dev/loop1 appears to be part of a raid array:
- level=container devices=0 ctime=Wed Dec 31 19:00:00 1969
- mdadm: container /dev/md/imsm prepared.
- $ ls -l /dev/md
- total 0
- lrwxrwxrwx 1 root root 8 Apr 2 05:32 imsm -> ../md126
- lrwxrwxrwx 1 root root 8 Apr 2 05:20 imsm0 -> ../md127
- $ sudo IMSM_NO_PLATFORM=1 IMSM_DEVNAME_AS_SERIAL=1 mdadm -Ev /dev/md/imsm
- /dev/md/imsm:
- Magic : Intel Raid ISM Cfg Sig.
- Version : 1.0.00
- Orig Family : 00000000
- Family : ff3cb556
- Generation : 00000001
- Attributes : All supported
- UUID : 00000000:00000000:00000000:00000000
- Checksum : 7edb0f81 correct
- MPB Sectors : 1
- Disks : 1
- RAID Devices : 0
- Disk00 Serial : /dev/loop0
- State : spare
- Id : 00000000
- Usable Size : 625140238 (298.09 GiB 320.07 GB)
- Disk Serial : /dev/loop1
- State : spare
- Id : 00000000
- Usable Size : 625140238 (298.09 GiB 320.07 GB)
- Disk Serial : /dev/loop0
- State : spare
- Id : 00000000
- Usable Size : 625140238 (298.09 GiB 320.07 GB)
- $ sudo IMSM_NO_PLATFORM=1 IMSM_DEVNAME_AS_SERIAL=1 mdadm -I /dev/md/imsm
- $ sudo IMSM_NO_PLATFORM=1 IMSM_DEVNAME_AS_SERIAL=1 mdadm -Iv /dev/md/imsm
- mdadm: not enough devices to start the container
- $ sudo cat /proc/mdstat
- Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
- md126 : inactive loop1[1](S) loop0[0](S)
- 2210 blocks super external:imsm
- md127 : inactive sdb[1](S) sda[0](S)
- 5413 blocks super external:imsm
- unused devices: <none>
- Disk /dev/loop0: 298.1 GiB, 320072933376 bytes, 625142448 sectors
- Device Boot Start End Sectors Size Id Type
- /dev/loop0p1 * 2048 4196351 4194304 2G 7 HPFS/NTFS/exFAT
- /dev/loop0p2 4196352 1250273279 1246076928 594.2G 7 HPFS/NTFS/exFAT
- Disk /dev/loop1: 298.1 GiB, 320072933376 bytes, 625142448 sectors
- mdadm --build /dev/md0 --raid-devices=2 --level=0 --chunk=128 /dev/loop0 /dev/loop1
- cat /proc/mdstat
- ld=$(losetup --show --find --offset=$((4196352*512)) /dev/md0)
- echo loop device is $ld
- mkdir -p /mnt/dsk
- mount -t ntfs -o ro $ld /mnt/dsk
Add Comment
Please, Sign In to add comment