centos6.5掛載移動硬碟

來源:互聯網
上載者:User

標籤:掛載

問題: 
      # 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

掛載隨身碟 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)

[[email protected] /]# 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

哈哈,成功掛載

650) this.width=650;" src="http://s5.51cto.com/wyfs02/M01/8A/D4/wKiom1g83pCTQmd9AAAp1zzg2MQ991.png-wh_500x0-wm_3-wmp_4-s_374646386.png" title="QQ20161129094718.png" alt="wKiom1g83pCTQmd9AAAp1zzg2MQ991.png-wh_50" />

從Linux拷貝檔案到掛載硬碟

650) this.width=650;" src="http://s5.51cto.com/wyfs02/M01/8A/D0/wKioL1g83reCWSIuAAEP4gN0ZMo580.png-wh_500x0-wm_3-wmp_4-s_493024501.png" title="QQ20161129094736.png" alt="wKioL1g83reCWSIuAAEP4gN0ZMo580.png-wh_50" />

卸載 硬碟

#umount /mnt/upan               #卸載掛到/mnt/upan點的硬碟


本文出自 “勿忘初心” 部落格,轉載請與作者聯絡!

centos6.5掛載移動硬碟

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.