컴맹의 CS study
filesystem type 확인 및 mount 본문
# check the filesystem type of current(root) disk
sudo file -sL /dev/vda
# mount additional disk with type ext4
sudo mount -t ext4 /dev/vdb /mnt
위 대로 했을때 wrong fs type, bad option, 어쩌고 하는 에러가 나서 찾아보니
mount를 하기전에 new filesystem을 create해야하는것같다.
참고해서 아래대로 실행후 mount하니 잘됨
# create a new file system
sudo mkfs.ext4 /dev/vdb
'miscellaneous' 카테고리의 다른 글
kernel out of memory log 확인 (0) | 2024.06.30 |
---|---|
Vim restoring last cursor position (0) | 2022.11.17 |
Vim folding (0) | 2020.07.06 |
pthread sched_yield (0) | 2020.06.09 |
Cmake 사용 (0) | 2020.06.08 |
Comments