hi,
I found repositories dir not works, and i don’t know how to fix it .
I installed gitlab version 16.1 in ubuntu 22.04.2 lts
my dir is
git_data_dirs({
“default” => {
“path” => “/media/goldii/gitlab/data”
}
})
and i made a test , after uploaded a 816.8Mb file to a respository,
文件系统 1K的块 已用 可用 已用% 挂载点
tmpfs 813768 18280 795488 3% /run
/dev/mapper/vgubuntu-root 59119556 18536300 37547712 34% /
tmpfs 4068836 52 4068784 1% /dev/shm
tmpfs 5120 0 5120 0% /run/lock
/dev/sda1 523244 6216 517028 2% /boot/efi
tmpfs 813764 104 813660 1% /run/user/1000
/dev/sdb 514937088 10664 488695640 1% /media/goldii/gitlab
goldii@goldii-Virtual-Machine:~$ df
文件系统 1K的块 已用 可用 已用% 挂载点
tmpfs 813768 18276 795492 3% /run
/dev/mapper/vgubuntu-root 59119556 17990996 38093016 33% /
tmpfs 4068836 52 4068784 1% /dev/shm
tmpfs 5120 0 5120 0% /run/lock
/dev/sda1 523244 6216 517028 2% /boot/efi
tmpfs 813764 104 813660 1% /run/user/1000
/dev/sdb 514937088 10664 488695640 1% /media/goldii/gitlab
you can see, the file uploaded was saved to default /var/opt/gitlab/…
not /media/goldii/gitlab/data
Why ? and how to fix the problem?