Local Server
Local server
OS: Ubuntu Server 20.04 LTS
Processor: Intel(R) Core(TM) i3-6100 CPU @ 3.70GHz, 4 cores
Memory: 4GB/3.79GiB(actual)
Disks → command to get disk info `sudo fdisk -l`
/dev/sdb : WDC WD5000LPVX-6 : 465.78 GiB
/dev/sda : WDC WD10EZEX-75W : 931.28 GiB
/dev/sdc : SanDisk SD7SB2Q- : 476.96 GiB
/dev/sdd : HGST HTS721075A9 : 698.65 GiB
Disk Usage
/dev/sdc : SanDisk SD7SB2Q- : OS installed
RAID 5 : /dev/md127 → `cat /proc/mdstat’ → get RAID config
/dev/sdb
/dev/sda
/dev/sdd
Creating RAID config:
Create RAID during installation of the OS or after using Webmin
Create a file system on the RAID drive
/dev/mdX → X = your drive number it could be any number
After file system is created mount the drive in one of the locations on the OS drive so that it is accessible by all the applications
Links to understand RAID
Remove a disk from a RAID config
Webmin
https://192.168.1.4:10000/ → server login
Samba Share
Jellyfin
Manually Mount a USB Drive
A USB storage device plugged into the system usually mounts automatically, but if for some reasons it doesn't automount, it's possible to manually mount it with these steps.
Press Ctrl+Alt+T to run Terminal.
Enter sudo mkdir /media/usb to create a mount point called usb.
Enter sudo fdisk -l to look for the USB drive already plugged in, let's say the drive you want to mount is /dev/sdb1.
To mount a USB drive formatted with FAT16 or FAT32 system, enter:
sudo mount -t vfat /dev/sdb1 /media/usb -o uid=1000,gid=100,utf8,dmask=027,fmask=137OR, To mount a USB drive formatted with NTFS system, enter:
sudo mount -t ntfs-3g /dev/sdb1 /media/usb
To unmount it, just enter sudo umount /media/usb in the Terminal.
Mount USB and copy files to it
https://askubuntu.com/questions/895733/copying-files-to-a-usb-drive