sorry i don't write it.
Yeah, ofcourse.
this is output
sudo update-initramfs -u
update-initramfs: Generating /boot/initrd.img-4.10.0-19-generic
i have notices that in conf file array is /dev/md/0
ARRAY /dev/md/0 metadata=1.2 name=johna:0 UUID=bd34d949:34a3999d:949d6038:a871e1c1
------ Post updated at 06:41 AM ------
i also cant access to my data after deattach one hard drive.
------ Post updated at 06:43 AM ------
THis is output of mdstat
root@myuser:/mnt/raid/test# cat /proc/mdstat
Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]
md0 : active raid1 sdc[1] sdb[0]
1953383488 blocks super 1.2 [2/2] [UU]
bitmap: 0/15 pages [0KB], 65536KB chunk
unused devices: <none>
------ Post updated at 07:23 AM ------
i now do it like this
Link
i delete array and added like in example. No errors found.
I can see that it is monuted
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/johnas--vg-root 223G 1.4G 210G 1% /
/dev/md0 1.8T 898M 1.7T 1% /mnt/md0
lsblk -o NAME,SIZE,FSTYPE,TYPE,MOUNTPOINT
NAME SIZE FSTYPE TYPE MOUNTPOINT
sda 232.9G disk
sda1 232.9G LVM2_member part
johnas--vg-root 227G ext4 lvm /
johnas--vg-swap_1 5.9G swap lvm [SWAP]
sdb 1.8T linux_raid_member disk
md0 1.8T ext4 raid1 /mnt/md0
sdc 1.8T linux_raid_member disk
md0 1.8T ext4 raid1 /mnt/md0
I am now waiting to sync and try again to deattach disks and try to copy for example to /home/johnas/something, to see if it is good to go or not.
Just one question.
If I deattach one disk, and restart, it should be also in md0 because i added it in fstab.