don't dream your life, live your dreams !
Here are the following commands to recover your data stored in your diskstation.
IMPORTANT: You must insert all the hard disk in your linux operating system.
# Install mdadm yum install mdadm # Examine disk /dev/sdb3, and create /etc/mdadm.conf echo DEVICE /dev/sdb3 > /etc/mdadm.conf mdadm --examine --scan /dev/sdb3 >> /etc/mdadm.conf # Start raid mdadm -A -s -R # Now mount raid: mkdir /mnt/diskstation mount /dev/md2 /mnt/diskstation # Verify that's ok: df -h |
mdadm: /dev/md2 is already in use.
> Solution, stop the raid: mdadm –stop –scan
Installation:
export PATH=/opt/bin:$PATH /opt/bin/ipkg update # /opt/bin/ipkg list | grep git /opt/bin/install git |
My first repo:
mkdir -p /volume1/git/test.git cd /volume1/git/test.git git init --bare |
Copyright © 2024 My linux world - by Marc RABAHI
Design by Marc RABAHI and encelades.
admin