Movies Directory Full #52
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Think i have 3 - 6 tb I can copy everything to and host till i can get an extra 14tb drive to raid together with the current one.
Location of drives:
/dev/sdi 5.5T 4.3T 940G 83% /mnt/6tb
where are the other 2 6tb drives?
sdd linux_ 1.2 server:6
4f3e7539-aaff-dba6-f66a-945010703e8e
└─md6
ext4 1.0 1675fa85-a1c5-42e0-bae8-e64033e0d6e6
sde linux_ 1.2 server:6
4f3e7539-aaff-dba6-f66a-945010703e8e
└─md6
ext4 1.0 1675fa85-a1c5-42e0-bae8-e64033e0d6e6
Raided together not anywhere right now but plugged in..
So next prolly
Clear old raid metadata first, good practice:
mdadm --create --verbose /dev/md17 --level=0 --raid-devices=3 /dev/sdd /dev/sde /dev/sdi
And next
cat /proc/mdstat # show which raids are active (sometimes md# will change, possibly when changing sata ports)
mkdir -p /mnt/md17 # Make a directory for it
mkfs.ext4 /dev/md17 # This creates a file system on device md3
mount /dev/md17 /mnt/md17 # mount it to a directory
blkid /dev/md17
/dev/md17: UUID="0697cb28-bf1a-405c-b0d5-26977ca80545" BLOCK_SIZE="4096" TYPE="ext4"
UUID=0697cb28-bf1a-405c-b0d5-26977ca80545 /mnt/md17 ext4 defaults,nofail,discard 0 0
screen -S movies
rsync -avzP /srv/samba/media/Movies/ /mnt/md17
Now just waiting till rsync is finished and can move umount movies, mount md17 to movies, change/update fstab to reflect. Reload, and see where we are from there. Will only have a few more tb available after this so gonna have to find a 16tb drive to raid.
Stop radarr
root@server:
# umount /srv/samba/media/Movies# umount /mnt/md17root@server:
nano /etc/fstab
move /srv/samba/mediaMovies to /mnt/md17 and vice versa
Actually going to use filezilla, sftp with key file.
1 16tb drive in /mnt/md17 now
systemctl daemon-reload
mount /srv/samba/media/Movies/
mount: /srv/samba/media/Movies: /dev/md17 already mounted on /srv/samba/media/Movies.
dmesg(1) may have more information after failed mount system call.
df -h # to verify location/mount/size
/dev/md17 17T 14T 1.9T 89% /srv/samba/media/Movies
/dev/sdg 15T 14T 50G 100% /mnt/md17