새로운 ext4 파일 시스템에서 "지원되지 않는 읽기 전용 기능"에 대해 불평하는 tune2fs

새로운 ext4 파일 시스템에서 "지원되지 않는 읽기 전용 기능"에 대해 불평하는 tune2fs

Ubuntu 16.04를 새로 설치했습니다. /dev/md1다음 위치에 마운트된 ext4 파일 시스템을 포함합니다 /.

/dev/md1 on / type ext4 (rw,relatime,data=ordered)

이제 자동 파일 시스템 확인 간격을 한 달로 설정하고 싶지만 다음과 같은 유용한 정보를 찾을 수 없다는 이상한 오류가 발생합니다.

> tune2fs -i 1m /dev/md1
tune2fs 1.42.13 (17-May-2015)
tune2fs: Filesystem has unsupported read-only feature(s) while trying to open /dev/md1
Couldn't find valid filesystem superblock.

재부팅해도 도움이되지 않았습니다. Ubuntu 12.04를 실행하는 다른 시스템에서는 동일한 명령이 매력처럼 작동합니다.

누구든지 무엇이 잘못되었는지 알고 있습니까?

tune2fs -l /dev/md1그런데 명령이 잘 작동합니다. 출력은 다음과 같습니다.

tune2fs 1.42.13 (17-May-2015)
Filesystem volume name:   <none>
Last mounted on:          /
Filesystem UUID:          38366a40-bbe1-476b-acfe-d271be6335eb
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype needs_recovery extent 64bit flex_bg sparse_super large_file huge_file dir_nlink extra_isize metadata_csum
Filesystem flags:         signed_directory_hash
Default mount options:    user_xattr acl
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              8380416
Block count:              33521664
Reserved block count:     1676083
Free blocks:              32419430
Free inodes:              8312762
First block:              0
Block size:               4096
Fragment size:            4096
Group descriptor size:    64
Reserved GDT blocks:      1024
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8192
Inode blocks per group:   512
Flex block group size:    16
Filesystem created:       Thu May 31 10:01:27 2018
Last mount time:          Thu May 31 10:49:41 2018
Last write time:          Thu May 31 10:15:14 2018
Mount count:              7
Maximum mount count:      -1
Last checked:             Thu May 31 10:01:27 2018
Check interval:           0 (<none>)
Lifetime writes:          5782 MB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:               256
Required extra isize:     32
Desired extra isize:      32
Journal inode:            8
First orphan inode:       4325378
Default directory hash:   half_md4
Directory Hash Seed:      9d55d989-2c2b-4ad8-a29e-53c8798ec68e
Journal backup:           inode blocks
Checksum:                 0x3d9f8d23

답변1

문제는 내 버전이 tune2fs너무 오래되었다는 것입니다. 현재 버전을 다음에서 다운로드했습니다.여기, 그러면 작동했습니다.

관련 정보