저는 Fedora 26을 사용하고 있으며 디스크가 2개 있습니다. 그 중 1개는 2개의 파티션으로 구성되어 있습니다.
/dev/sdb: 30GB /dev/sdb1: 20GB /dev/sdb2: 10GB
다음 명령을 사용하여 파티션을 마운트하려고 합니다.
udisksctl mount -b /dev/sdb1
다음 오류가 발생합니다.
`Object /org/freedesktop/UDisks2/block_devices/sdb1 is not a mountable filesystem.`
이 문제를 어떻게 해결할 수 있나요?
fdisk -l
Disk /dev/sda: 25 GiB, 26843545600 bytes, 52428800 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x6092c6a8
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 2099199 2097152 1G 83 Linux
/dev/sda2 2099200 52428799 50329600 24G 8e Linux LVM
Disk /dev/sdb: 30 GiB, 32212254720 bytes, 62914560 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xb6a8a9cf
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 41943039 41940992 20G 83 Linux
/dev/sdb2 41943040 62914559 20971520 10G 83 Linux
Disk /dev/mapper/fedora_fedora-root: 21.5 GiB, 23081254912 bytes, 45080576 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/fedora_fedora-swap: 2.5 GiB, 2684354560 bytes, 5242880 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
df-h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 2.0G 0 2.0G 0% /dev
tmpfs 2.0G 0 2.0G 0% /dev/shm
tmpfs 2.0G 4.2M 2.0G 1% /run
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
/dev/mapper/fedora_fedora-root 22G 5.4G 15G 27% /
tmpfs 2.0G 12K 2.0G 1% /tmp
/dev/sda1 976M 128M 781M 15% /boot
tmpfs 393M 16K 393M 1% /run/user/1001
lsblk -o 이름,fs유형
NAME FSTYPE
sda
├─sda1 ext4
└─sda2 LVM2_member
├─fedora_fedora-root ext4
└─fedora_fedora-swap swap
sdb
├─sdb1
└─sdb2
sr0 iso9660
파일 -s /dev/sdb1
/dev/sdb1: data
답변1
문제가 해결되었습니다!
나는 파티션의 파일 시스템 유형을 변경하고 다음을 사용하여 마운트합니다 mkfs.ext4 /dev/sdb1
.mkfs.ext4 /dev/sdb2
mount /dev/sdb1 /mnt
mount /dev/sdb2 /mnt2