Harddrive room depleting #15
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?
Running out of hard drive room. Need 2 6tb, and a 14tb currently. Need to find model numbers so I can match up something for a raid.
Deleted around 10% of seeding torrents, not my best choice, but opened 300gb for now.
Currently have a stack of hard drives
1 - 6 tb in server now
1 - 6 tb on shelf
3 - 3 tb on shelf
1 - 250 gb seagate hdd also, (debian os? from my old home server)
Main Media Folder maxing out at 12.6 tb. Need to divide out music and documents. Documents would be better on an SSD so I can access instantly almost. Everything else can be spun up on a disc.
Documents
Games
Music
Need hard drives for those folders would be the easiest.
Command
root@server:/srv/samba/media# du -cha --max-depth=1 . | grep -E "M|G|T"Memory Used:
Games will be moved to 6tb I have available on server currently. Then that disk will be mounted at games location.
Which should solve this issue for a bit, till I figure out the best way to format each drive
https://www.phoronix.com/review/bcachefs-linux-2019
Used command
cp -r /srv/samba/media/games/* /mnt/6tbWaiting for data to copy over, probably should have ran rsync instead
rsync -avzP /srv/samba/media/games/* /mnt/6tbWill be the command, as cp doesn't verify the data it copies and may skip over files with no explanation I think.
Rsync verifies integrity of each file after sending also.
most recent run of:
du -cha --max-depth=1 /srv/samba/media | grep -E "M|G|T"Ran rsync just to make sure everything is the same. Took all night to transfer 3 tb for some reason. Lots of small files.
After rsyncing
nano /etc/fstab
Samba Media Games Mount
UUID=d466101e-1965-421a-b4bc-3cf8fec28e86 /srv/samba/media/games ext4 defaults,nofail 0 1
systemctl daemon-reload
mount /srv/samba/media/games
df -h # after transferring everything.
Filesystem Size Used Avail Use% Mounted On
/dev/sdf2 218G 124G 84G 60% /
/dev/md1 118G 3.9G 108G 4% /srv/samba/rcs
/dev/sdf1 511M 5.9M 506M 2% /boot/efi
/dev/sdc 13T 8.9T 3.2T 74% /srv/samba/media
/dev/md11 9.1T 6.9T 1.8T 80% /srv/samba/media/TvShows
/dev/sda 5.5T 3.1T 2.1T 60% /srv/samba/media/games
We have minimum 1.8 tb avail on Tvshows, should last a month or 2.
Closing for now as it should be sometime before this issue arises again.