@Martin_Webster , here is my server details:
first fdisk -l
:
root@server:~# fdisk -l
Disk /dev/nvme0n1: 232.91 GiB, 250059350016 bytes, 488397168 sectors
Disk model: WDS250G3X0C-00SJG0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: D26EF9C4-9161-4024-9F0A-E352020A4EF8
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 1050623 1048576 512M EFI System
/dev/nvme0n1p2 1050624 168822783 167772160 80G Linux filesystem
/dev/nvme0n1p3 168822784 185599999 16777216 8G Linux swap
/dev/nvme0n1p4 185600000 283203583 97603584 46.6G Linux filesystem
/dev/nvme0n1p5 283203584 380858367 97654784 46.6G Linux filesystem
/dev/nvme0n1p6 380858368 488394751 107536384 51.3G Linux filesystem
The backup GPT table is not on the end of the device. This problem will be corrected by write.
Disk /dev/sda: 7.28 TiB, 8001563222016 bytes, 15628053168 sectors
Disk model: HGST HUS728T8TAL
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 88DD8608-0C3F-458E-B422-B312B68359D6
Device Start End Sectors Size Type
/dev/sda1 2048 11718750207 11718748160 5.5T Linux filesystem
/dev/sda2 11718750208 15628046335 3909296128 1.8T Linux filesystem
Disk /dev/sdc: 2.75 TiB, 3000592982016 bytes, 5860533168 sectors
Disk model: WDC WD30EFRX-68E
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 0679232D-974B-4F13-A3B9-229AC3188D3A
Device Start End Sectors Size Type
/dev/sdc1 2048 5860532223 5860530176 2.7T Linux filesystem
The backup GPT table is not on the end of the device. This problem will be corrected by write.
Disk /dev/sdb: 7.28 TiB, 8001563222016 bytes, 15628053168 sectors
Disk model: HGST HUS728T8TAL
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 88DD8608-0C3F-458E-B422-B312B68359D6
Device Start End Sectors Size Type
/dev/sdb1 2048 11718750207 11718748160 5.5T Linux filesystem
/dev/sdb2 11718750208 15628046335 3909296128 1.8T Linux filesystem
Disk /dev/md126: 7.28 TiB, 8001560772608 bytes, 15628048384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 88DD8608-0C3F-458E-B422-B312B68359D6
Device Start End Sectors Size Type
/dev/md126p1 2048 11718750207 11718748160 5.5T Linux filesystem
/dev/md126p2 11718750208 15628046335 3909296128 1.8T Linux filesystem
my music files are stored in /dev/sdc1
, my fstab:
root@server:~# cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/nvme0n1p2 during curtin installation
/dev/disk/by-uuid/5cc17467-eba2-4c0f-9f33-641ea8527975 / btrfs defaults 0 0
# /boot/efi was on /dev/nvme0n1p1 during curtin installation
/dev/disk/by-uuid/AE99-D1DE /boot/efi vfat defaults 0 0
/dev/disk/by-uuid/19c09e9f-fa9e-4a07-8ea1-3b733406eb2d none swap sw 0 0
/dev/nvme0n1p4 /var/lib/mysql btrfs defaults 0 0
/dev/nvme0n1p5 /var/lib/docker btrfs defaults 0 0
/dev/nvme0n1p6 /home btrfs defaults 0 0
/dev/md126p1 /var/share btrfs defaults 0 0
/dev/md126p2 /var/www btrfs defaults 0 0
/dev/sdc1 /var/share2 btrfs defaults 0 0
my mount
root@server:~# mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,noexec,relatime,size=7990052k,nr_inodes=1997513,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1604468k,mode=755)
/dev/nvme0n1p2 on / type btrfs (rw,relatime,ssd,space_cache,subvolid=5,subvol=/)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=19707)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
/dev/nvme0n1p1 on /boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/nvme0n1p4 on /var/lib/mysql type btrfs (rw,relatime,ssd,space_cache,subvolid=5,subvol=/)
/dev/nvme0n1p6 on /home type btrfs (rw,relatime,ssd,space_cache,subvolid=5,subvol=/)
/dev/md126p1 on /var/share type btrfs (rw,relatime,space_cache,subvolid=5,subvol=/)
/dev/md126p2 on /var/www type btrfs (rw,relatime,space_cache,subvolid=5,subvol=/)
/dev/sdc1 on /var/share2 type btrfs (rw,relatime,space_cache,subvolid=5,subvol=/)
/dev/nvme0n1p5 on /var/lib/docker type btrfs (rw,relatime,ssd,space_cache,subvolid=5,subvol=/)
/dev/sdc1 on /mnt/music type btrfs (rw,relatime,space_cache,subvolid=5,subvol=/)
tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=1604464k,mode=700)
btrfs subvolume list /
root@server:~# btrfs subvolume list /
ID 3161 gen 972982 top level 5 path var/lib/portables
ID 3162 gen 972983 top level 5 path var/lib/machines
root@server:~#
my roonserver are installed in /opt/RoonServer
, music files are saved in /var/share2/Musics
which is on /dev/sdc1
disk:
root@server:~# ls /opt/
containerd mssql RoonServer
kernel version:
root@server:~# uname -a
Linux server 5.4.0-99-generic #112-Ubuntu SMP Thu Feb 3 13:50:55 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
/var/share2/Musics
are also shared by samba:
[Music]
comment = Music files
path = /var/share2/Music
browseable = yes
read only = yes
write list = steve3d
I’m using my mac and windows, both installed roon, and mac/windows roon connect to server’s roon and on this server, roon use local folder /var/share2/Musics
as storage folder,
- roon server running on ubuntu with local storage set to
/var/share2/Musics
=> roon server ignore most of files
- roon server running on ubuntu and on ubuntu, I use
mount.cifs
to mount samba share to /media/musics
, then add /media/musics
as storage, same result.
- on mac/windows, if I choose not to use the roon server on ubuntu, and add music files by samba share, everything works.