User Tools

Site Tools


systems:media_server:hard_drive_setup

This is an old revision of the document!


Systems - Media Server - Hard Drive setup

Identify the Drives

List the available drives:

lsblk -o NAME,FSTYPE,MOUNTPOINT,SIZE,UUID

and

ls -la /dev/disk/by-id

returns:

...
lrwxrwxrwx  1 root root    9 Apr 20 14:59 ata-ST16000NM000G-2KH103_ZL29RRKD -> ../../sdm
lrwxrwxrwx  1 root root    9 Apr 20 14:59 ata-ST16000NM000J-2TW103_ZR51SQ0D -> ../../sdh
lrwxrwxrwx  1 root root    9 Apr 20 14:59 ata-ST16000NM000J-2TW103_ZR52QJV5 -> ../../sdn
lrwxrwxrwx  1 root root    9 Apr 20 14:59 ata-ST16000NM000J-2TW103_ZR703EYB -> ../../sdj
lrwxrwxrwx  1 root root    9 Apr 20 14:59 ata-ST16000NM000J-2TW103_ZR70WLTL -> ../../sdo
lrwxrwxrwx  1 root root    9 Apr 20 14:58 ata-ST16000NM001G-2KK103_ZL23FY8P -> ../../sdb
lrwxrwxrwx  1 root root    9 Apr 20 14:58 ata-ST16000NM001G-2KK103_ZL24PY4R -> ../../sdc
lrwxrwxrwx  1 root root    9 Apr 20 14:59 ata-ST16000NM001G-2KK103_ZL2HN378 -> ../../sdk
lrwxrwxrwx  1 root root    9 Apr 20 14:59 ata-ST16000NM001G-2KK103_ZL2HZQZX -> ../../sdi
lrwxrwxrwx  1 root root    9 Apr 20 14:59 ata-ST16000NM001G-2KK103_ZL2JH6CN -> ../../sdl
lrwxrwxrwx  1 root root    9 May  5 09:18 ata-WDC_WD80EFAX-68KNBN0_VAJB0YAL -> ../../sde
lrwxrwxrwx  1 root root    9 May  5 09:18 ata-WDC_WD80EFZX-68UW8N0_R6GYZ8RY -> ../../sdd
lrwxrwxrwx  1 root root    9 May  5 09:18 ata-WDC_WD80EFZX-68UW8N0_R6GZ55XY -> ../../sdf
lrwxrwxrwx  1 root root    9 May  5 09:18 ata-WDC_WD80EFZX-68UW8N0_VJHD6AMX -> ../../sdg
lrwxrwxrwx  1 root root   10 May  5 09:18 ata-WDC_WD80EFZX-68UW8N0_VJHD6AMX-part1 -> ../../sdg1

Create Mount Points

For example, if the drives are /dev/sdb1 and /dev/sdc1, then create mount points:

sudo mkdir -p /mnt/disk1 /mnt/disk2

Manually Mount the Drives

sudo mount -t ext4 /dev/sdb1 /mnt/disk1
sudo mount -t ext4 /dev/sdc1 /mnt/disk2

NOTE: Replace ext4 with your actual filesystem type, if this differs.

systems/media_server/hard_drive_setup.1746971770.txt.gz · Last modified: 2025/05/11 13:56 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki