Notice
Recent Posts
Recent Comments
Link
«   2025/07   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
Archives
Today
Total
관리 메뉴

컴맹의 CS study

filesystem type 확인 및 mount 본문

miscellaneous

filesystem type 확인 및 mount

코코블라썸 2021. 2. 11. 13:07

 

# 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