@liks

Как понять откуда монтируется диск с ZFS?

Есть папка /media/docs есть zfs pool на 7 терабайт
есть запись в fstab
/dev/disk/by-uuid/ac2d9362-2141-481b-9626-0d7e53343db6 /media/docs ext4 defaults 0 0
Но в списке mount этого нет

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=32912160k,nr_inodes=8228040,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=6591160k,mode=755)
/dev/sda2 on / type ext4 (rw,relatime)
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)
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)
none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
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/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
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/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,clone_children)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
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=24286)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
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)
/var/lib/snapd/snaps/core_9289.snap on /snap/core/9289 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/links_33.snap on /snap/links/33 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core18_1754.snap on /snap/core18/1754 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core_9066.snap on /snap/core/9066 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/lxd_15223.snap on /snap/lxd/15223 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/lxd_15359.snap on /snap/lxd/15359 type squashfs (ro,nodev,relatime,x-gdu.hide)
lxcfs on /var/lib/lxcfs type fuse.lxcfs (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other)
tmpfs on /run/snapd/ns type tmpfs (rw,nosuid,nodev,noexec,relatime,size=6591160k,mode=755)
nsfs on /run/snapd/ns/lxd.mnt type nsfs (rw)
tmpfs on /var/snap/lxd/common/ns type tmpfs (rw,relatime,size=1024k,mode=700)
nsfs on /var/snap/lxd/common/ns/shmounts type nsfs (rw)
nsfs on /var/snap/lxd/common/ns/mntns type nsfs (rw)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=6591156k,mode=700,uid=1000,gid=1000)


В df -h тоже не отображается что-то похожее на 7TB

df -h
root@srv1:/# df -h
Filesystem Size Used Avail Use% Mounted on
udev 32G 0 32G 0% /dev
tmpfs 6,3G 7,8M 6,3G 1% /run
/dev/sda2 1,8T 298G 1,5T 18% /
tmpfs 32G 0 32G 0% /dev/shm
tmpfs 5,0M 0 5,0M 0% /run/lock
tmpfs 32G 0 32G 0% /sys/fs/cgroup
/dev/loop1 98M 98M 0 100% /snap/core/9289
/dev/loop2 1,8M 1,8M 0 100% /snap/links/33
/dev/loop0 55M 55M 0 100% /snap/core18/1754
/dev/loop3 94M 94M 0 100% /snap/core/9066
/dev/loop5 70M 70M 0 100% /snap/lxd/15223
/dev/loop4 70M 70M 0 100% /snap/lxd/15359
tmpfs 1,0M 0 1,0M 0% /var/snap/lxd/common/ns
tmpfs 6,3G 0 6,3G 0% /run/user/1000


Маунтпоинт ничего не показывает
mountpoint
root@srv1:/# mountpoint /media/docs/
/media/docs/ is not a mountpoint


lsblk
root@srv1:/# lsblk -o +uuid,name
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT UUID NAME
loop0 7:0 0 55M 1 loop /snap/core18/1754 loop0
loop1 7:1 0 97M 1 loop /snap/core/9289 loop1
loop2 7:2 0 1,8M 1 loop /snap/links/33 loop2
loop3 7:3 0 93,9M 1 loop /snap/core/9066 loop3
loop4 7:4 0 69,3M 1 loop /snap/lxd/15359 loop4
loop5 7:5 0 69,4M 1 loop /snap/lxd/15223 loop5
sda 8:0 0 1,8T 0 disk sda
├─sda1 8:1 0 1M 0 part sda1
└─sda2 8:2 0 1,8T 0 part / 67c34636-0064-48d4-b656-2a127b322088 sda2
sdb 8:16 0 7,3T 0 disk sdb
├─sdb1 8:17 0 7,3T 0 part 12927392690421033770 sdb1
└─sdb9 8:25 0 8M 0 part sdb9
sr0 11:0 1 1024M 0 rom sr0


Может я не туда смотрю?
  • Вопрос задан
  • 213 просмотров
Решения вопроса 1
@Swartalf
Возможно маунтпоинт слетел.
вам нужно смотреть
zpool status
zfs list
zfs get mountpoint <тут_путь_волуму>


upd. и почему то у вас в фстабе ext4 прописан. У вас точно зфс?
Ответ написан
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы