Re: gpart and sector size

From: Andriy Gapon <avg_at_icyb.net.ua>
Date: Fri, 09 Apr 2010 14:19:18 +0300
on 09/04/2010 14:00 Alexey Tarasov said the following:
> I've booted from dvd to fixit mode and got the following:
> 
> FreeBSD  8.0-STABLE-201002 FreeBSD 8.0-STABLE-201002 #0: Tue Feb 16 21:05:59 UTC 2010     root_at_mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
> 
> ATA channel 0:
> Master:  ad0 <TRANSCEND/20091215> ATA/ATAPI revision 0
> Slave:       no device present
> ATA channel 2:
> Master:  ad4 <WDC WD15EARS-00Z5B1/80.00A80> SATA revision 2.x
> Slave:       no device present
> ATA channel 3:
> Master:  ad6 <WDC WD15EARS-00Z5B1/80.00A80> SATA revision 2.x
> Slave:       no device present
> ATA channel 4:
> Master:  ad8 <WDC WD15EARS-00Z5B1/80.00A80> SATA revision 2.x
> Slave:       no device present
> ATA channel 5:
> Master: ad10 <WDC WD15EARS-00Z5B1/80.00A80> SATA revision 2.x
> Slave:       no device present
> 
> /dev/ad4
>    512             # sectorsize
>    1500301910016   # mediasize in bytes (1.4T)
>    2930277168      # mediasize in sectors
>    0               # stripesize
>    0               # stripeoffset
>    2907021         # Cylinders according to firmware.
>    16              # Heads according to firmware.
>    63              # Sectors according to firmware.
>    WD-WMAVU1512579 # Disk ident.
> 
> Seems that mav_at_ commit doesn't work? o_O

Or the disk doesn't actually report 4096 anywhere anyhow...  Have you considered
that?  If yes, can you verify using any tools of any OS that the disk reports 4K
in any way?

P.S. DES's name looks strange in headers :-)

P.P.S.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

> On 09.04.2010, at 0:44, Dimitry Andric wrote:
> 
>> That said, if the physical sector size is larger than the logical
>> sector size, the d_stripesize field is initialized with it.  So if you
>> run "diskinfo -v" on the disk, what is the output for stripesize?
> 
> --
> Alexey Tarasov
> 
> (\__/) 
> (='.'=) 
> E[: | | | | :]З 
> (")_(")
> 
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
> 


-- 
Andriy Gapon
Received on Fri Apr 09 2010 - 09:19:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:02 UTC