讀取外接3TB硬碟出現問題 - Linux

Jake avatar
By Jake
at 2015-08-12T21:56

Table of Contents



----最新更新 問題解決

換了外接盒cyberslim的,一切正常。

所以是外接盒的關係,現在1TB+3TB接在RPi一代上。


----

外接盒是玄人志向座式USB 2.0,硬碟 toshiba 3TB 格式NTFS

環境是arch linux @ raspberry pi 與 arch linux @ x86(筆電)


----

硬碟是在windows 7 底下格式化(GPT & NTFS),拿到linux底下要使用時發現

沒有辨識出來,假設sda代表這顆硬碟,他並沒有顯示sda1這樣的分割區


[root@alarmpi rex]# ls /dev/sd*
/dev/sda


這時我利用fdisk查看了一下硬碟資訊,顯示如下


[root@alarmpi rex]# fdisk -l /dev/sda

The primary GPT table is corrupt, but the backup appears OK, so that will be
used.
Disk /dev/sda: 746.5 GiB, 801569726464 bytes, 1565565872 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: gpt
Disk identifier: 8B70A37D-25F0-44D1-979A-D52355A88B59

Device Start End Sectors Size Type
/dev/sda1 34 1565563919 1565563886 746.5G Microsoft basic data


顯示只有746.5G,上網搜尋一下fdisk好像不支援gpt的分割,但查詢應該沒有什麼問題?

於是安裝了gdisk來查詢試試,顯示如下


[root@alarmpi rex]# gdisk -l /dev/sda
GPT fdisk (gdisk) version 1.0.0

Warning! Disk size is smaller than the main header indicates! Loading
secondary header from the last sector of the disk! You should use 'v' to
verify disk integrity, and perhaps options on the experts' menu to repair
the disk.
Warning! Main and backup partition tables differ! Use the 'c' and 'e' options
on the recovery & transformation menu to examine the two tables.

Warning! One or more CRCs don't match. You should repair the disk!

Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: damaged

****************************************************************************
Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
verification and recovery are STRONGLY recommended.
****************************************************************************
Disk /dev/sda: 1565565872 sectors, 746.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 8B70A37D-25F0-44D1-979A-D52355A88B59
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 5860533134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2925 sectors (1.4 MiB)

Number Start (sector) End (sector) Size Code Name
1 2048 5860532223 2.7 TiB 0700 Basic data partition





請問這種情況會是外接盒支援度不足嗎?謝謝!

--
Tags: Linux

All Comments

Damian avatar
By Damian
at 2015-08-13T09:58
對了 已安裝ntfs-3g
Andrew avatar
By Andrew
at 2015-08-14T06:06
問個白癡問題 為什麼要用NTFS?
Puput avatar
By Puput
at 2015-08-18T23:32
樓上,因為要跟windows通?
Bethany avatar
By Bethany
at 2015-08-22T07:05
檔案系統因inode的配置會有其限制,以ext2來說好像就是
Andrew avatar
By Andrew
at 2015-08-26T20:23
256GiB,很明顯的是在抓取容量出錯了,如果要通WIN,先用
Puput avatar
By Puput
at 2015-08-31T18:25
WIN把它分割在第一個主磁區,容量就不要746GiB這麼大,其
Andrew avatar
By Andrew
at 2015-09-05T12:44
它剩餘的就給Linux去分割,這互通樣比較不會有問題。
Joe avatar
By Joe
at 2015-09-10T08:42
換個硬碟轉接盒看看,因為就款大多都有 2T 的限制
超過了結果就會整個錯誤...
Irma avatar
By Irma
at 2015-09-11T14:26
我意思是不要用WIN做 single partition,3T耶...,用WIN
Tom avatar
By Tom
at 2015-09-16T11:50
切WIN要用的就好,且不要大超過目前的顯示限制,重點是要
Annie avatar
By Annie
at 2015-09-20T03:18
當第一個主分割區並格式化好,之後再用Linux來添加分割區
,難道這樣也抓不到嗎?
Yuri avatar
By Yuri
at 2015-09-22T20:04
你是用什麼window切割?32bit是讀不到2T以上的
Olivia avatar
By Olivia
at 2015-09-23T11:18
感覺上你的linux根本沒辦法讀到3T
Zanna avatar
By Zanna
at 2015-09-27T22:23
arm是32的樣子唷
Kama avatar
By Kama
at 2015-10-01T19:58
會不會是EFI_PARTITION 沒開?

CentOS 6.3如何完全停用SSH連線?

Iris avatar
By Iris
at 2015-08-12T14:49
CentOS似乎一開始就有預設有ssh連線的服務 公司應因資安政策要我們不再提供22port 也要停下ssh服務。 想請問 是否下service sshd stop即可? 重開機時 ssh服務是否又會回來? 不好意思 因為機房在與OA離很遠的地方(好幾條街外) 也不便測試。 請有經驗的鄉民幫幫忙。 ...

Ubuntu 10.04 更新

Victoria avatar
By Victoria
at 2015-08-11T22:16
前陣子 Ubuntu 10.04已經停止更新支援了, update-manger已經沒辦法使用 我想更新到 12.04 或 14.04 並且不要換kernel 有辦法嗎? 老機 2.6 長青版kernel 穩定 不希望改了 謝謝~ - ...

懷舊一下 jmcce 1.5

Queena avatar
By Queena
at 2015-08-11T20:35
https://youtu.be/X0CvqYSBHak 上述影片會 cat 出 b 檔案的內容, 有簡體中文、繁體中文、日文, 呼 ... 總算出來了 , 心中的興奮到現在還不能忘。 之前支援 utf8 是轉成 big5 再由原本的 code 秀出, 實在太蠢了, 不過要徹底改造 jmcce 完全支援 ...

關於使用筆電做routing

Bennie avatar
By Bennie
at 2015-08-11T12:52
※ 引述《wandog (慢跑中毒)》之銘言: andgt; 我的說明應該造成誤會了 不好意思 實際上的架構是 andgt; 以太 以太 wifi andgt; pcandlt;--------------------------a ...

請推薦Centos 方便設定使用的wifi網卡

Dora avatar
By Dora
at 2015-08-11T03:35
各位前輩,最近想要在公司的linux機台上加usb wifi無限網卡, 再用手機當熱點讓linux可以上網! 會想這麼幹的原因是,很多linux的套件都要用到yum來下載或更新, 偏偏部門的機台都是單機不連外網,所以才有此一想, 使用手機當熱點來上網! 不知道有沒有前輩有買過在linux上比較好設定的us ...