Dev Log
linux ubuntu에서 어떤 device가 mount되었는지 확인하는 방법
- -
multipass에서 k3s를 설치했을 때 ubuntu 20.10 node 기준
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,relatime,size=8178484k,nr_inodes=2044621,mode=755,inode64)
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=1638660k,mode=755,inode64)
/dev/vda1 on / type ext4 (rw,relatime,discard,errors=remount-ro)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k,inode64)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
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)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=15804)
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)
/var/lib/snapd/snaps/core20_1361.snap on /snap/core20/1361 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/lxd_22525.snap on /snap/lxd/22525 type squashfs (ro,nodev,relatime,x-gdu.hide)
/dev/vda15 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/var/lib/snapd/snaps/snapd_14978.snap on /snap/snapd/14978 type squashfs (ro,nodev,relatime,x-gdu.hide)
tmpfs on /run/snapd/ns type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1638660k,mode=755,inode64)
nsfs on /run/snapd/ns/lxd.mnt type nsfs (rw)
sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
tmpfs on /var/lib/kubelet/pods/5f587c83-4a9d-4037-9cc6-0c48a3e52d52/volumes/kubernetes.io~secret/coredns-token-f229n type tmpfs (rw,relatime,inode64)
tmpfs on /var/lib/kubelet/pods/5345688a-40d8-4ebc-9f8c-042f1915b3c8/volumes/kubernetes.io~secret/metrics-server-token-wp9hp type tmpfs (rw,relatime,inode64)
nsfs on /run/netns/cni-57fb8bf2-68f2-4558-b3fe-d02e478bc963 type nsfs (rw)
nsfs on /run/netns/cni-a2c9d303-ef21-d30f-6965-6355caec32d0 type nsfs (rw)
shm on /run/k3s/containerd/io.containerd.grpc.v1.cri/sandboxes/12bb5a1fd263ea6cb8a0023475406056f4162835ffe380e258bb79b1a94644e0/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=65536k,inode64)
shm on /run/k3s/containerd/io.containerd.grpc.v1.cri/sandboxes/ccc6349aed30a39a25b5afe83cd1c427ffec876234f063db344468f41eaf1955/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=65536k,inode64)
overlay on /run/k3s/containerd/io.containerd.runtime.v2.task/k8s.io/12bb5a1fd263ea6cb8a0023475406056f4162835ffe380e258bb79b1a94644e0/rootfs type overlay (rw,relatime,lowerdir=/var/lib/rancher/k3s/agent/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/1/fs,upperdir=/var/lib/rancher/k3s/agent/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/3/fs,workdir=/var/lib/rancher/k3s/agent/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/3/work)
overlay on /run/k3s/containerd/io.containerd.runtime.v2.task/k8s.io/ccc6349aed30a39a25b5afe83cd1c427ffec876234f063db344468f41eaf1955/rootfs type overlay (rw,relatime,lowerdir=/var/lib/rancher/k3s/agent/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/1/fs,upperdir=/var/lib/rancher/k3s/agent/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/4/fs,workdir=/var/lib/rancher/k3s/agent/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/4/work)
overlay on /run/k3s/containerd/io.containerd.runtime.v2.task/k8s.io/290cbf66d2806af5be61544b32e96ae4564bd50b7bab904ef77a066c9d269c7b/rootfs type overlay (rw,relatime,lowerdir=/var/lib/rancher/k3s/agent/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/7/fs:/var/lib/rancher/k3s/agent/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/5/fs,upperdir=/var/lib/rancher/k3s/agent/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/9/fs,workdir=/var/lib/rancher/k3s/agent/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/9/work)
overlay on /run/k3s/containerd/io.containerd.runtime.v2.task/k8s.io/0b32ebb5c0903190f778386cdc07671c68b5ef56bab9be980d85f271305c5337/rootfs type overlay (rw,relatime,lowerdir=/var/lib/rancher/k3s/agent/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/8/fs:/var/lib/rancher/k3s/agent/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/6/fs,upperdir=/var/lib/rancher/k3s/agent/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/10/fs,workdir=/var/lib/rancher/k3s/agent/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/10/work)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1638656k,nr_inodes=409664,mode=700,uid=1000,gid=1000,inode64)
df
더보기
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 1638660 1096 1637564 1% /run
/dev/vda1 81120644 1833220 79271040 3% /
tmpfs 8193284 0 8193284 0% /dev/shm
tmpfs 5120 0 5120 0% /run/lock
/dev/vda15 106858 5309 101549 5% /boot/efi
shm 65536 0 65536 0% /run/k3s/containerd/io.containerd.grpc.v1.cri/sandboxes/12bb5a1fd263ea6cb8a0023475406056f4162835ffe380e258bb79b1a94644e0/shm
shm 65536 0 65536 0% /run/k3s/containerd/io.containerd.grpc.v1.cri/sandboxes/ccc6349aed30a39a25b5afe83cd1c427ffec876234f063db344468f41eaf1955/shm
tmpfs 1638656 4 1638652 1% /run/user/1000
lsblk
더보기
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 61.9M 1 loop /snap/core20/1361
loop1 7:1 0 78.1M 1 loop /snap/lxd/22525
loop2 7:2 0 43.6M 1 loop /snap/snapd/14978
sr0 11:0 1 52K 0 rom
vda 252:0 0 80G 0 disk
├─vda1 252:1 0 79.9G 0 part /
├─vda14 252:14 0 4M 0 part
└─vda15 252:15 0 106M 0 part /boot/efi
findmnt
더보기
TARGET SOURCE FSTYPE OPTIONS
/ /dev/vda1 ext4 rw,relatime,discard,errors=remount-ro
├─/sys sysfs sysfs rw,nosuid,nodev,noexec,relatime
│ ├─/sys/kernel/security securityfs securityfs rw,nosuid,nodev,noexec,relatime
│ ├─/sys/fs/cgroup cgroup2 cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot
│ ├─/sys/fs/pstore pstore pstore rw,nosuid,nodev,noexec,relatime
│ ├─/sys/fs/bpf none bpf rw,nosuid,nodev,noexec,relatime,mode=700
│ ├─/sys/kernel/debug debugfs debugfs rw,nosuid,nodev,noexec,relatime
│ ├─/sys/kernel/tracing tracefs tracefs rw,nosuid,nodev,noexec,relatime
│ ├─/sys/fs/fuse/connections fusectl fusectl rw,nosuid,nodev,noexec,relatime
│ └─/sys/kernel/config configfs configfs rw,nosuid,nodev,noexec,relatime
├─/proc proc proc rw,nosuid,nodev,noexec,relatime
│ ├─/proc/sys/fs/binfmt_misc systemd-1 autofs rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=15804
│ └─/proc/fs/nfsd nfsd nfsd rw,relatime
├─/dev udev devtmpfs rw,nosuid,relatime,size=8178484k,nr_inodes=2044621,mode=755,inode64
│ ├─/dev/pts devpts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000
│ ├─/dev/shm tmpfs tmpfs rw,nosuid,nodev,inode64
│ ├─/dev/hugepages hugetlbfs hugetlbfs rw,relatime,pagesize=2M
│ └─/dev/mqueue mqueue mqueue rw,nosuid,nodev,noexec,relatime
├─/run tmpfs tmpfs rw,nosuid,nodev,noexec,relatime,size=1638660k,mode=755,inode64
│ ├─/run/lock tmpfs tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k,inode64
│ ├─/run/snapd/ns tmpfs[/snapd/ns] tmpfs rw,nosuid,nodev,noexec,relatime,size=1638660k,mode=755,inode64
│ │ └─/run/snapd/ns/lxd.mnt nsfs[mnt:[4026532221]]
│ │ nsfs rw
│ ├─/run/user/1000 tmpfs tmpfs rw,nosuid,nodev,relatime,size=1638656k,nr_inodes=409664,mode=700,uid=1000,gid=1000,inode64
│ ├─/run/netns/cni-57fb8bf2-68f2-4558-b3fe-d02e478bc963 nsfs[net:[4026532267]]
│ │ nsfs rw
│ ├─/run/netns/cni-a2c9d303-ef21-d30f-6965-6355caec32d0 nsfs[net:[4026532363]]
│ │ nsfs rw
│ ├─/run/k3s/containerd/io.containerd.grpc.v1.cri/sandboxes/12bb5a1fd263ea6cb8a0023475406056f4162835ffe380e258bb79b1a94644e0/shm
│ │ shm tmpfs rw,nosuid,nodev,noexec,relatime,size=65536k,inode64
│ ├─/run/rpc_pipefs sunrpc rpc_pipefs rw,relatime
│ ├─/run/k3s/containerd/io.containerd.grpc.v1.cri/sandboxes/ccc6349aed30a39a25b5afe83cd1c427ffec876234f063db344468f41eaf1955/shm
│ │ shm tmpfs rw,nosuid,nodev,noexec,relatime,size=65536k,inode64
│ ├─/run/k3s/containerd/io.containerd.runtime.v2.task/k8s.io/12bb5a1fd263ea6cb8a0023475406056f4162835ffe380e258bb79b1a94644e0/rootfs
│ │ overlay overlay rw,relatime,lowerdir=/var/lib/rancher/k3s/agent/containerd/io.containerd.snapshotter.v1.overlayfs
│ ├─/run/k3s/containerd/io.containerd.runtime.v2.task/k8s.io/ccc6349aed30a39a25b5afe83cd1c427ffec876234f063db344468f41eaf1955/rootfs
│ │ overlay overlay rw,relatime,lowerdir=/var/lib/rancher/k3s/agent/containerd/io.containerd.snapshotter.v1.overlayfs
│ ├─/run/k3s/containerd/io.containerd.runtime.v2.task/k8s.io/290cbf66d2806af5be61544b32e96ae4564bd50b7bab904ef77a066c9d269c7b/rootfs
│ │ overlay overlay rw,relatime,lowerdir=/var/lib/rancher/k3s/agent/containerd/io.containerd.snapshotter.v1.overlayfs
│ └─/run/k3s/containerd/io.containerd.runtime.v2.task/k8s.io/0b32ebb5c0903190f778386cdc07671c68b5ef56bab9be980d85f271305c5337/rootfs
│ overlay overlay rw,relatime,lowerdir=/var/lib/rancher/k3s/agent/containerd/io.containerd.snapshotter.v1.overlayfs
├─/snap/core20/1361 /dev/loop0 squashfs ro,nodev,relatime
├─/snap/lxd/22525 /dev/loop1 squashfs ro,nodev,relatime
├─/boot/efi /dev/vda15 vfat rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount
├─/snap/snapd/14978 /dev/loop2 squashfs ro,nodev,relatime
├─/var/lib/kubelet/pods/5f587c83-4a9d-4037-9cc6-0c48a3e52d52/volumes/kubernetes.io~secret/coredns-token-f229n
│ tmpfs tmpfs rw,relatime,inode64
└─/var/lib/kubelet/pods/5345688a-40d8-4ebc-9f8c-042f1915b3c8/volumes/kubernetes.io~secret/metrics-server-token-wp9hp
tmpfs tmpfs rw,relatime,inode64
gio mount -l
더보기
Volume(0): Filesystem root
Type: GUnixVolume
Mount(0): Filesystem root -> file:///
Type: GUnixMount
Volume(1): efi
Type: GUnixVolume
Mount(0): efi -> file:///boot/efi
Type: GUnixMount
'Dev Log' 카테고리의 다른 글
VSCode로 Flask Jinja Template의 Auto Formatting 설정방법 (0) | 2023.02.02 |
---|---|
Vultr 서비스에서 gabia 도메인 얹어서 Https Nginx까지 (2) | 2022.11.17 |
windows에서 git bash auto-completion 설정 (0) | 2022.10.17 |
windows에서 docker volume을 mount할 때, postfix로 ;C가 붙는 현상 (0) | 2022.10.17 |
Javascript - [object Object] 내용 확인 방법 (0) | 2021.05.06 |
Contents
소중한 공감 감사합니다