标签:挂载
问题:
# mount –t ntfs /dev/sdc1 /mnt/upan
mount: unknown filesystem type ‘ntfs’
这是由于CentOS release 5.6(Final)上无法识别NTFS格式的分区。
解决办法:
通过使用 ntfs-3g 来解决。
· wget https://tuxera.com/opensource/ntfs-3g_ntfsprogs-2015.3.14.tgz
· tarxzf ntfs-3g_ntfsprogs-2015.3.14.tgz
· cd ntfs-3g_ntfsprogs-2015.3.14
· ./configure &&make &&makeinstall
挂载U盘 mount 步骤:
1.fdisk -l # 查得硬盘设备号为:/dev/sdc1 ntfs格式
2.ntfs-3g /dev/sdc1 /mnt/upan #用ntfs-3g 直接将硬盘挂到/mnt/upan 点上读写.
问题:
The disk contains an unclean file system (0, 0).
The file system wasn‘t safely closed on Windows. Fixing.
解决:
#moun
/dev/sda2 on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sda1 on /boot type ext4 (rw)
/dev/sda5 on /home type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/dev/sdc1 on /mnt/upan type fuseblk(rw,allow_other,blksize=4096)
[root@bogon /]# df -H
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 13G 5.2G 6.8G 44% /
tmpfs 118M 0 118M 0% /dev/shm
/dev/sda1 199M 55M 131M 30% /boot
/dev/sda5 11G 42M 9.7G 1% /home
/dev/sdc1 751G 351G 400G 47% /mnt/upan
哈哈,成功挂载
从Linux拷贝文件到挂载硬盘
卸载 硬盘
#umount /mnt/upan #卸载挂到/mnt/upan点的硬盘
本文出自 “勿忘初心” 博客,转载请与作者联系!
标签:挂载
原文地址:http://wangjiatong.blog.51cto.com/11834370/1877575