Gentoo Archives: gentoo-user

From: james <garftd@×××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Partition of 3TB USB drive not detected
Date: Sun, 31 Jul 2016 19:17:33
Message-Id: 96edc81c-de08-5dd9-f164-5a0093fdf4b2@verizon.net
In Reply to: [gentoo-user] Re: Partition of 3TB USB drive not detected by "Jörg Schaible"
1 On 07/31/2016 12:56 PM, Jörg Schaible wrote:
2 > Jörg Schaible wrote:
3 >
4 >> Hi Daniel,
5 >>
6 >> thanks for your response.
7 >>
8 >> Daniel Frey wrote:
9 >>
10 >> [snip]
11 >>
12 >>> I can only think of two reasons, the kernel on the livecd doesn't
13 >>> support GPT (which is unlikely)
14 >>
15 >> That would be really strange. However, how can I prove it?
16 >>
17 >>> or you're booting a 32-bit kernel live
18 >>> USB. I am reasonably certain for drives > 2TB a 64-bit kernel and GPT
19 >>> are required.
20 >>
21 >> No, I've always chosen 64-bit kernels. I wonder what is so special about
22 >> this partition ...
23 >
24 > Currently I wonder, why my system can find the partition at all:
25 >
26 > ======================== %< ========================
27 > # gdisk -l /dev/sdi
28 > GPT fdisk (gdisk) version 1.0.1
29 >
30 > Partition table scan:
31 > MBR: protective
32 > BSD: not present
33 > APM: not present
34 > GPT: not present
35
36 If you have seen my recent thread, much of this automounting during
37 boot(strapping) is flaky that is much of what I have been searching out
38 is a default (magical) partitioning schema that will eventually lead to
39 clear documents on the current state of affairs not only with old versus
40 new motherboards (mbr-->efi) and disk (mbr < 2.2T and gpt >2.2T)
41 but including all sorts of new arm and other embedded (linux) boards.
42
43 Different forms of Solid State memory are next on my list, with usb (1.x
44 --> 3.x) being top of the SS memory mediums..... (Sorry I do not have
45 more atm).
46
47
48 >
49 > Creating new GPT entries.
50 > Disk /dev/sdi: 732566646 sectors, 2.7 TiB
51 > Logical sector size: 4096 bytes
52 > Disk identifier (GUID): 80C04475-9B51-4A44-A52F-1F165AE02695
53 > Partition table holds up to 128 entries
54 > First usable sector is 6, last usable sector is 732566640
55 > Partitions will be aligned on 256-sector boundaries
56 > Total free space is 732566635 sectors (2.7 TiB)
57 >
58 > Number Start (sector) End (sector) Size Code Name
59 > ======================== %< ========================
60 >
61 > However, it's mounted successfully, see system logs:
62 >
63 > ======================== %< ========================
64 > [22735.626752] sd 13:0:0:0: [sdi] 732566646 4096-byte logical blocks: (3.00
65 > TB/2.73 TiB)
66 > [22735.629255] sdi: sdi1
67 > [23414.066315] EXT4-fs (sdi1): mounted filesystem with ordered data mode.
68 > Opts: (null)
69 > ======================== %< ========================
70 >
71 > Has anyone ever tried the recovery option of GPT disk to rebuild GPT from
72 > MBR?
73
74 I see some sort of 'auto correction' by gpt technology to convert many
75 forms of perceived mbr to gpt to be used by the booting process for
76 spinning rust. So this issue is not limited to usb medium. I would also
77 point out that I'd look deeply into the usb specs for the vendor of your
78 usb sticks, as they do some 'funky things' at the firmware level inside
79 many of the newer/faster/larger usb devices. It not just dumb memory
80 like the early 1.x devices. Many are slanted to Microsoft business
81 strategies. I'm not suggesting that is your current issues. I'm merely
82 pointing out that some newer usb sticks are systems themselves complete
83 with firmware so the devices looks like dumb memory. Furthermore, the
84 silicon vendors provide firmware options to usb sticks vendors (like
85 Texas Instruments) but also the vendor add to or change the hidden
86 firmware as meets their multifaceted business objects. Sadly, the NSA is
87 deeply involved here, as are many nation states and large corporations.
88 You'd be surprised what youd find in a modern usb stick, should you take
89 it into a class 6+ clean-room for analysis. The lower the particle count
90 the more fantastic the tools
91 to open up silicon and look deeply into what is actually going on.
92 This is why folks love those classified research facilities that have
93 govt contract and folks hanging around. Lots of very, very cool toys
94 you just do not hear about...... Way beyond microscopes built by
95 physicist.....
96
97 Prolly not your issue, but still present. Cheap ass usb vendors often
98 have corner issues that are unintentional, that is why well recognized
99 vendors of SS memory are the best to deal with, for consistency of behavior.
100
101 I'd use as many different tools as you can find and read the vendor &
102 silicon manufacturer's docs to see what you are really dealing with to
103 ferret out this weirdness. (it's a darn time sync, just so you know).
104
105
106 [1] http://www.cleanroom.byu.edu/particlecount.phtml
107
108 hth,
109 James

Replies

Subject Author
[gentoo-user] Re: Re: Partition of 3TB USB drive not detected "Jörg Schaible" <joerg.schaible@×××.de>