On Windows I use a driver from here: https://sourceforge.net/projects/ext2fsd/After one of my raid 0 drives failed, I wanted to replace both drives with higher capacity drives. This driver enabled me to put the remaining good drive in a caddy and copy all my files across to the new drive array.
Oops – sorry my RAID is where the data is the same on both disks. I usually have had to replace one of the drives every 3 to 4 years thru the 15 to 20 years I have had the DNS323
--
You received this message because you are subscribed to a topic in the Google Groups "Alt-F" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/alt-f/xBaZUnHO8Ww/unsubscribe.
To unsubscribe from this group and all its topics, send an email to alt-f+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/alt-f/e1dac891-ba05-4f8c-ae4e-1c69630904c2n%40googlegroups.com.
# blkid
/dev/loop0: UUID="9b4590f8-139a-48cf-bff5-9d54b083bffd" BLOCK_SIZE="1024" TYPE="ext4"
/dev/sda2: UUID="b2e563da-7ca5-719b-1c11-37310e666033" UUID_SUB="b00d23fc-49f0-eae8-e23c-47e9c2073087" LABEL="AS5202T-2D0B:0" TYPE="linux_raid_member" PARTUUID="0c2f5675-9209-432b-aa9e-c55d1cc691f1"
/dev/sda3: UUID="42e067e7-3965-0d5d-cc48-1ce71bca8ac2" UUID_SUB="361af2ba-3a2d-3c61-19ce-5a50dc4f402a" LABEL="AS5202T:126" TYPE="linux_raid_member" PARTUUID="a0be72a5-7a65-4ec7-aad9-8c427ee0bc34"
/dev/sda4: UUID="5ca9717f-7554-dc86-6a03-e8135cf11008" UUID_SUB="ce02c463-1209-c1c5-3ec9-2801630291b8" LABEL="AS5202T-2D0B:1" TYPE="linux_raid_member" PARTUUID="81b7b14d-21ac-46db-aeab-2912ac2bcd7a"
/dev/sdc2: LABEL="Seagate Backup Plus Drive" BLOCK_SIZE="512" UUID="7AB82449B82405EB" TYPE="ntfs" PTTYPE="atari" PARTLABEL="Basic data partition" PARTUUID="8d71bb95-e855-44c8-a500-c0e0f306f787"
/dev/sdc3: LABEL="Seagate Backup Plus 2" BLOCK_SIZE="512" UUID="70CCA943CCA90486" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="819a419a-f6d5-49f8-a623-61070d1b0617"
/dev/md0: UUID="e01b1e9b-8bfd-4d69-b727-1cd161853f98" BLOCK_SIZE="4096" TYPE="ext4"
/dev/md126: UUID="dc5bf433-4af8-4f11-8de7-060e7e60325b" TYPE="swap"
/dev/md1: UUID="e6d0ac05-736e-4448-a8e1-ef4b57033b84" BLOCK_SIZE="4096" TYPE="ext4"
/dev/sda1: PARTUUID="0db7c2f0-4223-4a54-af79-cb1aea2cb2bb"
/dev/sdc1: PARTLABEL="Microsoft reserved partition" PARTUUID="c47bed0e-9614-4502-aad4-6b9cad9bf711"
==============================================
I can tell from here that sdc2 and sdc3 are my external 8tb drive. The rest are unclear to me.
Model: ATA WDC WD20EARS-00M (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 268MB 267MB
2 268MB 2416MB 2147MB raid
3 2416MB 4563MB 2147MB raid
4 4563MB 2000GB 1996GB raid
Error: /dev/sdb: unrecognised disk label
Model: WD My Book 1130 (scsi)
Disk /dev/sdb: 3001GB
Sector size (logical/physical): 512B/4096B
Partition Table: unknown
Disk Flags:
Model: Seagate Backup+ Hub BK (scsi)
Disk /dev/sdc: 8002GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 17.4kB 134MB 134MB Microsoft reserved partition msftres
2 135MB 4001GB 4001GB ntfs Basic data partition
3 4001GB 8002GB 4001GB ntfs Basic data partition
Error: /dev/mmcblk0: unrecognised disk label
Warning: Error fsyncing/closing /dev/mmcblk0: Input/output error
Retry/Ignore? i
Model: MMC 8GTF4R (sd/mmc)
Disk /dev/mmcblk0: 7818MB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
Error: /dev/mmcblk0boot0: unrecognised disk label
Model: Generic SD/MMC Storage Card (sd/mmc)
Disk /dev/mmcblk0boot0: 4194kB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
Model: Linux Software RAID Array (md)
Disk /dev/md0: 2144MB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 2144MB 2144MB ext4
Model: Linux Software RAID Array (md)
Disk /dev/md126: 2144MB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 2144MB 2144MB linux-swap(v1)
Error: /dev/mmcblk0boot1: unrecognised disk label
Model: Generic SD/MMC Storage Card (sd/mmc)
Disk /dev/mmcblk0boot1: 4194kB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
Model: Linux Software RAID Array (md)
Disk /dev/md1: 1996GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 1996GB 1996GB ext4
=====================================================
For deeper understanding I have a 2TB WD drive that the NAS boots from and an 8TB drive attached as target storage. The 2 drives are both 3TB Toshiba units, one loaded inside the NAS via SATA and the 2nd attached via USB (seems to be /dev/sdb). I am confused about /dev/mmcblk0boot0 and /dev/mmcblk0 though. To me it looks like the unrecognised disk label items are the JBOD but they don't seem to follow any of the logic I've seen anywhere else. I also ran an frisk -l command with the following output:# fdisk -l
Disk /dev/sda: 1863 GB, 2000398934016 bytes, 3907029168 sectors
243201 cylinders, 255 heads, 63 sectors/track
Units: sectors of 1 * 512 = 512 bytes
Device Boot StartCHS EndCHS StartLBA EndLBA Sectors Size Id Type
/dev/sda1 0,32,33 32,162,2 2048 524287 522240 255M 83 Linux
/dev/sda4 0,0,2 0,32,32 1 2047 2047 1023K ee EFI GPT
Partition table entries are not in disk order
fdisk: device has more than 2^32 sectors, can't use all of them
Disk /dev/sdc: 2048 GB, 2199023255040 bytes, 4294967295 sectors
266305 cylinders, 256 heads, 63 sectors/track
Units: sectors of 1 * 512 = 512 bytes
Device Boot StartCHS EndCHS StartLBA EndLBA Sectors Size Id Type
/dev/sdc1 0,0,2 1023,255,63 1 4294967295 4294967295 2047G ee EFI GPT
Disk /dev/md0: 2045 MB, 2144337920 bytes, 4188160 sectors
523520 cylinders, 2 heads, 4 sectors/track
Units: sectors of 1 * 512 = 512 bytes
Disk /dev/md0 doesn't contain a valid partition table
Disk /dev/md126: 2045 MB, 2144337920 bytes, 4188160 sectors
523520 cylinders, 2 heads, 4 sectors/track
Units: sectors of 1 * 512 = 512 bytes
Disk /dev/md126 doesn't contain a valid partition table
Disk /dev/md1: 1859 GB, 1995700174848 bytes, 3897851904 sectors
487231488 cylinders, 2 heads, 4 sectors/track
Units: sectors of 1 * 512 = 512 bytes
Disk /dev/md1 doesn't contain a valid partition table
=======================================hi all, I managed to install both disks on my new NAS (As5202T) and ran a couple of commands but I'm still lost on what I'm looking at. Hoping you can point me in the right direction here.
Below is the result of blkid command:===================================# blkid
# cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
md1 : active raid1 sda4[0]
1948925952 blocks super 1.2 [1/1] [U]
md126 : active raid1 sda3[0]
2094080 blocks super 1.2 [2/1] [U_]
md0 : active raid1 sda2[0]
2094080 blocks super 1.2 [2/1] [U_]
unused devices: <none>
============================mdadm --detail /dev/md0
/dev/md0:
Version : 1.2
Creation Time : Mon May 30 23:29:50 2022
Raid Level : raid1
Array Size : 2094080 (2045.00 MiB 2144.34 MB)
Used Dev Size : 2094080 (2045.00 MiB 2144.34 MB)
Raid Devices : 2
Total Devices : 1
Persistence : Superblock is persistent
Update Time : Mon Jun 13 04:10:57 2022
State : clean, degraded
Active Devices : 1
Working Devices : 1
Failed Devices : 0
Spare Devices : 0
Consistency Policy : resync
Name : AS5202T-2D0B:0
UUID : b2e563da:7ca5719b:1c113731:0e666033
Events : 6996
Number Major Minor RaidDevice State
0 8 2 0 active sync /dev/sda2
- 0 0 1 removed
=================================# mdadm --detail /dev/md1
/dev/md1:
Version : 1.2
Creation Time : Mon May 30 23:29:58 2022
Raid Level : raid1
Array Size : 1948925952 (1858.64 GiB 1995.70 GB)
Used Dev Size : 1948925952 (1858.64 GiB 1995.70 GB)
Raid Devices : 1
Total Devices : 1
Persistence : Superblock is persistent
Update Time : Mon Jun 13 09:01:09 2022
State : clean
Active Devices : 1
Working Devices : 1
Failed Devices : 0
Spare Devices : 0
Consistency Policy : resync
Name : AS5202T-2D0B:1
UUID : 5ca9717f:7554dc86:6a03e813:5cf11008
Events : 14
Number Major Minor RaidDevice State
0 8 4 0 active sync /dev/sda4
===============================
# mdadm --detail /dev/md126
/dev/md126:
Version : 1.2
Creation Time : Mon May 30 23:29:55 2022
Raid Level : raid1
Array Size : 2094080 (2045.00 MiB 2144.34 MB)
Used Dev Size : 2094080 (2045.00 MiB 2144.34 MB)
Raid Devices : 2
Total Devices : 1
Persistence : Superblock is persistent
Update Time : Mon Jun 13 00:00:26 2022
State : clean, degraded
Active Devices : 1
Working Devices : 1
Failed Devices : 0
Spare Devices : 0
Consistency Policy : resync
Name : AS5202T:126 (local to host AS5202T)
UUID : 42e067e7:39650d5d:cc481ce7:1bca8ac2
Events : 1412
Number Major Minor RaidDevice State
0 8 3 0 active sync /dev/sda3
- 0 0 1 removed
=============================
parted -l
Model: ATA WDC WD20EARS-00M (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 268MB 267MB
2 268MB 2416MB 2147MB raid
3 2416MB 4563MB 2147MB raid
4 4563MB 2000GB 1996GB raid
Model: ATA TOSHIBA DT01ACA3 (scsi)
Disk /dev/sdb: 3001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 32.8kB 537MB 537MB linux-swap(v1)
2 537MB 3001GB 3000GB ext4
Model: Seagate Backup+ Hub BK (scsi)
Disk /dev/sdd: 8002GB
In this new set up with the disk in the other slot on the NAS, I have the following output on the 3TB disk.
mdadm --examine /dev/sdb
/dev/sdb:
MBR Magic : aa55
Partition[0] : 4294967295 sectors at 1 (type ee)
Made some progress today - I was able to mount the first disk on my NAS, mount it and copy the data to the USB 8TB disk hanging off it. The second disk is in the freezer to see if I can revive it somehow. Seems strange to me that I was able to mount the disk without any issue but so be it. I'm a happy camper :)