fstab을 어떻게 수정해야 하나요?

fstab을 어떻게 수정해야 하나요?

마운트하려는 파티션이 2개 있습니다.

sdb1 which uses ext2 file system
sdc1 which uses ext4 file system

fstab에 이 두 줄을 추가했습니다

/dev/sdb1 /home2 auto auto,noatime,default 0 0
/dev/sdc1 /home3 auto auto,noatime,noload,data=ordered,commit=10,default 0 0

제가 설치를 못해서 잘못된 것 같습니다. 그것을 수정하는 방법?

하지만 몇 가지 오류로 인해 설치할 수 없습니다.

여기 내 fstab과 표시할 몇 가지 명령이 있습니다.

root@host [/etc]# cat fstab
#
# /etc/fstab
# Created by anaconda on Tue Jan 8 10:16:53 2013
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=eb3b9431-7964-47fd-a497-e4ddcd3f9d05 / ext4 defaults 1 1
UUID=ed11681c-9343-41ac-ac8b-a29bf4d13fbd /boot ext4 defaults 1 2
#UUID=191a3af4-c48a-4779-974a-c55dc290543d /home1 ext4 defaults 1 2
#UUID=eca46a9a-6666-40d0-bbe5-e35b54295264 /home2 ext4 defaults 1 2
UUID=475f3ba3-6459-42ac-b441-1daa95acb2b3 swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/usr/tmpDSK /tmp ext3 defaults,noauto 0 0
/dev/sdb1 /home2 auto auto,noatime,default 0 0
/dev/sdc1 /home3 auto auto,noatime,noload,data=ordered,commit=10,default 0 0
root@host [/etc]# parted -l
Model: ATA WDC WD15EADS-00R (scsi)
Disk /dev/sda: 1500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 525MB 524MB primary ext4 boot
2 525MB 34.4GB 33.8GB primary linux-swap(v1)
3 34.4GB 1500GB 1466GB primary ext4


Model: ATA SAMSUNG SSD 830 (scsi)
Disk /dev/sdb: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 256GB 256GB primary ext2


Model: ATA M4-CT256M4SSD2 (scsi)
Disk /dev/sdc: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 256GB 256GB primary ext4


root@host [/etc]# mount /home2
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

root@host [/etc]# mount /home3
mount: wrong fs type, bad option, bad superblock on /dev/sdc1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

root@host [/etc]#

답변1

이 시도:

/dev/sdb1 /home2 ext2 auto,noatime,defaults 0 0
/dev/sdc1 /home3 ext4 auto,noatime,noload,data=ordered,commit=10,defaults 0 0

"auto"(원래 /etc/fstab 항목에서 사용한 대로)는 유효한 파일 시스템 유형이 아닙니다.

답변2

이 질문을 삭제해야 하는지 궁금합니다. 문제는 내가 default글을 써야 할 때 그것을 사용하고 있다는 것입니다 defaults. 너무 현지화되어 있는 것 같아요.

관련 정보