저는 아치 리눅스를 사용하고 있습니다. 외장 하드 드라이브에 쓸 수 없습니다. 속성을 통해 수동으로 권한을 변경하려고 시도했지만 허용되지 않습니다. 이 문제를 어떻게 해결할 수 있나요?
fsck -l
이것은 합계의 출력입니다 mount
.
[root@localhost shravan]# fsck -l
fsck from util-linux 2.24.1
e2fsck 1.42.9 (28-Dec-2013)
/dev/sda1 is mounted.
e2fsck: Cannot continue, aborting.
[root@localhost shravan]# mount
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
dev on /dev type devtmpfs (rw,nosuid,relatime,size=1996364k,nr_inodes=499091,mode=755)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
/dev/sda1 on / type ext4 (rw,relatime,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=22,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
configfs on /sys/kernel/config type configfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=399844k,mode=700,uid=1000,gid=1000)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/sdb1 on /run/media/shravan/6FA6C3EC7A96B1D0 type ntfs (ro,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0177,dmask=077,nls=utf8,errors=continue,mft_zone_multiplier=1,uhelper=udisks2)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
답변1
Pastebin 페이지 출력에서 관찰한 바에 따르면 외장 HDD가 NTFS 파티션으로 포맷되어 있는 것을 확인했습니다.
/dev/sdb1 on /run/media/shravan/6FA6C3EC7A96B1D0 type ntfs
(ro,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0177,dmask=077,nls=utf8,
errors=continue,mft_zone_multiplier=1,uhelper=udisks2)
따라서 파티션을 NTFS 유형으로 다시 마운트하면 외장 하드 드라이브를 사용할 수 있을 것이라고 믿습니다. 파티션을 제거한 umount /dev/sdb1
후 다음 명령을 사용하여 다시 설치하십시오.
mount /dev/sdb1 /run/media/shravan/ -t ntfs-3g -o nls=utf8,umask=0222
Patrick의 의견에 따르면 파일 시스템은 읽기 전용인 커널의 ntfs 드라이버를 사용하여 마운트됩니다. 그러므로 시스템이 ntfs-3g
어떤 용도 mount
로 사용되어야 하는지를 가지고 있다면,
mount /dev/sdb1 /run/media/shravan/ -t ntfs-3g -o nls=utf8,umask=0222
인용하다
http://www.pendrivelinux.com/mounting-a-windows-xp-ntfs-partition-in-linux/ http://chat.stackexchange.com/rooms/26/conversation/ntfs-3g-use http://chat.stackexchange.com/rooms/26/conversation/mikeserv-suggestion