Categories
Linux Mastering Development

How to compare RAID mirror elements?

I’ve got a RAID mirror (md1) with three devices (sdc, sdd, sdf). Something went wrong overnight, the array went readonly, and fsck found thousands of inodes with inline_data_fl set and/or on the orphaned inode list. I’ve stopped the array with mdadm –manage /dev/md1 –stop, and am running smartctl -t long on each device. I presume […]

Categories
Linux Mastering Development

RESOLVED: EXT4-fs (md1): unable to read superblock – really want to avoid data loss

my level of Linux knowledge is very light (I’m learning) and I’ve got a problem that’s beyond my level of Google-Fu. I’m well out of my depth and I’m hoping somebody might be able to help me… I’m running OpenMediaVault 5.5.3-1 (Usul) in my homelab and have two software RAID arrays /dev/md0 and /dev/md1. When […]

Categories
Linux Mastering Development

EXT4-fs (md1): unable to read superblock – really want to avoid data loss

my level of Linux knowledge is very light (I’m learning) and I’ve got a problem that’s beyond my level of Google-Fu. I’m well out of my depth and I’m hoping somebody might be able to help me… I’m running OpenMediaVault 5.5.3-1 (Usul) in my homelab and have two software RAID arrays /dev/md0 and /dev/md1. When […]

Categories
Linux Mastering Development

Setup RAID10 (mdadm and/or lvm) starting with three empty disks, then add fourth disk (has data in it)

Please, tell me if it is possibile to create RAID10 (near layout) with odd drives and then adding even(th) disk to that existing RAID10. TOTAL: 4* 2TB drives (sdc,sdd,sde,sdf) FREE: 3 of them (sdd,sde,sdf) are empty / unpartitioned; ready to RAID IN-USE: 1 HDD (sdc) has data in it mdadm or lvm creation of RAID10 […]

Categories
User Help

Assembling a lsw fakeraid using mdadm

I am having problems getting a RAID 10 array working. A bit of context – I want to setup a fakeraid array on my PC so I can have the array used by both Linux and Windows. Before I commit my data to it I want to make sure I can get it off if […]

Categories
Linux Mastering Development

Conky disk information not working beyond /dev/sda

I am trying to display disk information (read/write/temp) with conky’s built in objects diskio_read, diskio_write, diskiograph, and hddtemp. The relevant part of the code: ${color}/dev/sda${alignr}${color2}${diskio_read /dev/sda} ${color3}RW ${color2}${diskio_write /dev/sda} ${color1}${hddtemp /dev/sda}°C ${color2}${diskiograph /dev/sda 20,350 02AFD7 02AFD7} ${color}/dev/sdb${alignr}${color2}${diskio_read /dev/sdb} ${color3}RW ${color2}${diskio_write /dev/sdb} ${color1}${hddtemp /dev/sdb}°C ${color2}${diskiograph /dev/sdb 20,350 02AFD7 02AFD7} … The same code above for all […]

Categories
Linux Mastering Development Ubuntu

dmraid don’t activate disk

Background : this trouble appears after an upgrade from ubuntu 16.04 to 18.04. My /home partition was on my Ubunutu 16.04 a raid 5 partition from 3 disk, manage with lvm2. I have absolutly no trouble. After upgrade with command “do-release-upgrade” from Ubuntu 16.04 to 18.04, the first reboot failed. I send a first message […]

Categories
Development System & Network

How to list all unused disc in linux?

lsblk -l NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT fd0 2:0 1 4K 0 disk sda 8:0 0 10G 0 disk sda1 8:1 0 10G 0 part / sdb 8:16 0 12G 0 disk vg_root-swap_lv 253:1 0 7.9G 0 lvm [SWAP] vg_root-var_tmp_lv 253:2 0 4G 0 lvm /var/tmp sdc 8:32 0 16G 0 disk sdd […]