Back once again. Studying the man pages especially for the commands mentioned here.
It is a pity I have not been able to find more info (yet) about dealing with a harddrive that comes out of an external nas. Many time I read about files on the local disk where ubuntu resides. These files do not exist in my case, which makes understanding a bit confusing.
result for the question earlier:
joes@film16-linux:~$ sudo cat /proc/mdstat
[sudo] password for joes:
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md127 : inactive sda3[0](S)
976486848 blocks
Working on creating a backup. Fear to have written anything to disk, so studying many man pages. What a pleasure to get that much basic info. Not easy to grow in, but not impossible either.
Double Commander shows the drive with 'md127' and states 'disk is not available'.
It shows a partition as sda2 after the md127.
In sda2 there is a raidconf file stating:
[RAID]
raid_enable = 1
raid_mode = 1
disk_num = 2
disk1 = "/dev/sda"
disk2 = "/dev/sdb"
disk3 = ""
disk4 = ""
fstype = 0
raid_vendor = ""
Think this partition is on the nas-disk. See if I can get more info.
joes@film16-linux:~$ sudo mdadm --examine --scan /dev/sda1 /dev/sda2 /dev/sda3
ARRAY /dev/md0 UUID=1120c154:ee458961:c72e49a8:c467befb
joes@film16-linux:~$ sudo fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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 identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 63 273104 136521 82 Linux swap / Solaris
/dev/sda2 273105 546209 136552+ 83 Linux
/dev/sda3 546210 1953520064 976486927+ 83 Linux
Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 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 identifier: 0x63a924e1
Device Boot Start End Blocks Id System
/dev/sdb1 63 273104 136521 82 Linux swap / Solaris
/dev/sdb2 273105 546209 136552+ 83 Linux
/dev/sdb3 546210 3907024064 1953238927+ 83 Linux
Disk /dev/sdc: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 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 identifier: 0xdc4da274
Device Boot Start End Blocks Id System
/dev/sdc1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
/dev/sdc2 206848 152115051 75954102 83 Linux
Disk /dev/sdd: 64.0 GB, 64023257088 bytes
255 heads, 63 sectors/track, 7783 cylinders, total 125045424 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 identifier: 0xffffffff
Device Boot Start End Blocks Id System
/dev/sdd1 * 63 125033894 62516916 7 HPFS/NTFS/exFAT
Continue searching and deriving extra info.
Tips speeding the search are welcome.