[OpenIndiana-discuss] Seagate 3000GB Drive only shows 746GB

Rainer Heilke rheilke at dragonhearth.com
Fri Sep 28 20:43:23 UTC 2012


zpool create zname c4t0d0 succeeds, but this whacky partition table is 
what format is showing me. I did, at some point, see the EFI message you 
have, but I've been running in circles so much... When it did show this, 
it still said 746GB.

Rainer
On 9/28/2012 12:27 PM, George Wilson wrote:
> That's very odd. If you specified the whole disk (c4t0d0) when you do 
> the 'zpool create' then zfs should have relabeled the disk as an EFI 
> label. From your post it looks like it's still using a Solaris VTOC 
> label:
>
>  Total disk size is 48725 cylinders
>              Cylinder size is 32130 (512 byte) blocks
>
>                                                Cylinders
>       Partition   Status    Type          Start   End Length    %
>       =========   ======    ============  =====   === ====== ===
>           1       Active    Solaris           1  48724 48724 100
>
>
> Instead you should see something like this:
>
>                                                Cylinders
>       Partition   Status    Type          Start   End Length    %
>       =========   ======    ============  =====   === ======   ===
>           1                 EFI               0  50128 50129 100
>
> (obviously with different values)
>
> Does the zpool command fail when you specify the whole disk (i.e. 
> c4t0d0)? Or does it just create this whacky partition table? If it's 
> the latter then that seems like a bug for sure.
>
> - George
>
>
> On 9/28/12 2:29 PM, Rainer Heilke wrote:
>> Yeah, I always use the whole disk (c4t0d0). Interestingly enough, I 
>> have to use slice 0 (c4t0d0s0) partition if I want to use the slice 
>> specification to "get the whole disk"; slice 2 doesn't exist, as you 
>> can see from the partition info. And slice 0, the "whole disk", says 
>> it's only 746GB, same as c4t0d0.... I've been fighting this for a 
>> while and tried most everything. :-(
>>
>> Rainer
>> On 9/28/2012 5:40 AM, George Wilson wrote:
>>> It looks like this disk has a Solaris VTOC on it so ZFS will only 
>>> use the partition size that was manually created (or came shipped 
>>> with the drive).
>>>
>>> Can you try running 'zpool create <pool> <diskname_without_sliceinfo>'?
>>>
>>> Example: zpool create test c4t0d0
>>>
>>> - George
>>>
>>> On 9/28/12 7:27 AM, Rainer Heilke wrote:
>>>> When I did a zpool create, it built a 744GB pool.
>>>>
>>>> Rainer
>>>> On 9/28/2012 4:13 AM, Sas(o Kiselkov wrote:
>>>>> On 09/28/2012 01:06 PM, Rainer Heilke wrote:
>>>>>> Greetings.
>>>>>>
>>>>>> I've connected a Seagate 3000GB HDD to my OpenIndiana oi_151.1.6 X86
>>>>>> server. But when I try to use it, only 746GB show. Printing the
>>>>>> partition table from format shows:
>>>>>> partition> pri
>>>>>> Current partition table (original):
>>>>>> Total disk cylinders available: 48722 + 2 (reserved cylinders)
>>>>>>
>>>>>> Part      Tag    Flag     Cylinders         Size Blocks
>>>>>>    0 unassigned    wm       0                0 
>>>>>> (0/0/0)              0
>>>>>>    1 unassigned    wm       0                0 
>>>>>> (0/0/0)              0
>>>>>>    2     backup    wu       0 - 48721      746.46GB (48722/0/0) 
>>>>>> 1565437860
>>>>>>    3 unassigned    wm       0                0 
>>>>>> (0/0/0)              0
>>>>>>    4 unassigned    wm       0                0 
>>>>>> (0/0/0)              0
>>>>>>    5 unassigned    wm       0                0 
>>>>>> (0/0/0)              0
>>>>>>    6 unassigned    wm       0                0 
>>>>>> (0/0/0)              0
>>>>>>    7 unassigned    wm       0                0 
>>>>>> (0/0/0)              0
>>>>>>    8       boot    wu       0 -     0       15.69MB 
>>>>>> (1/0/0)          32130
>>>>>>    9 unassigned    wm       0                0 
>>>>>> (0/0/0)              0
>>>>>>
>>>>>> format> inq
>>>>>> Vendor:   ST3000DM
>>>>>> Product:  001-9YN166
>>>>>> Revision:
>>>>>>
>>>>>>   Total disk size is 48725 cylinders
>>>>>>               Cylinder size is 32130 (512 byte) blocks
>>>>>>
>>>>>> Cylinders
>>>>>>        Partition   Status    Type          Start   End Length    %
>>>>>>        =========   ======    ============  =====   === ====== ===
>>>>>>            1       Active    Solaris           1  48724 48724    100
>>>>>>
>>>>>>
>>>>>> So, how can I get ZFS to see the full 3TB?
>>>>> Are you trying to use this driver for rpool? If not, you can 
>>>>> simply tell
>>>>> ZFS to use the entire drive, which should bypass any potential
>>>>> partitioning issues.
>>>>>
>>>>> Cheers,
>>>>> -- 
>>>>> Saso
>>>>>
>>>>
>>>
>>>
>>> _______________________________________________
>>> OpenIndiana-discuss mailing list
>>> OpenIndiana-discuss at openindiana.org
>>> http://openindiana.org/mailman/listinfo/openindiana-discuss
>>>
>>
>
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>

-- 
Mind the Gap
Web: http://www.dragonhearth.com
Blog: http://chaos.dragonhearth.com



More information about the OpenIndiana-discuss mailing list