/etc/fstab의 잘못된 라인 13

/etc/fstab의 잘못된 라인 13

저는 Ubuntu를 처음 접했고 NAS 드라이브를 마운트하려고 했습니다. 그 과정에서 내 /etc/fstab. 이제 VM/ubuntu를 부팅할 때 드라이브 0을 마운트할 수 없습니다. 수동으로 마운트할지 아니면 건너뛸지 묻는 메시지가 표시됩니다(나는 건너뛰기를 선택함).

명령을 실행하면 mount -a13행이 잘못되었다는 메시지가 나타납니다.

아래를 봐주세요:

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/mapper/ubuntu--vg-root /               ext4    errors=remount-ro 0       1
# /boot was on /dev/sda1 during installation
UUID=027ef0b9-53f8-4a08-94fa-4d0cd9c59b86 /boot           ext2    defaults        0       2
/dev/mapper/ubuntu--vg-swap_1 none            swap    sw              0       0
/dev/mapper/cryptswap1 none swap sw 
0 0
//192.168.0.21/videoii /media/c3po-videoii cifs credentials=/home/coolhandluke/.smbcredentials,iocharset=utf8,gid=1000,uid=1000,file_mode=0777,dir_mode=0777 0 0

답변1

초기 선언 후 12번째 줄에 있어야 하는 13번째 줄에 dumppass매개 변수( 귀하의 경우 0각각 ) 에 대한 값이 있습니다 . 0다음과 같이 선언한 후 12번째 줄에 있는 두 개를 이동하면 됩니다.

/dev/mapper/cryptswap1 none swap sw 0 0

관련 정보