Re: does util-linux have a 'report sector size' util?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* L A Walsh (lkml@xxxxxxxxx) wrote:
> 
> Trying to track down why my 4K drives no longer display 4K
> in sysfs (/sys) and don't seem to show individual disk
> drive information.  When I first got the drives, linux displayed
> the correct physical disk size, but when I look now, I only
> see 512. 
> 
> I just checked with MegaCLI, and it can still display all
> the data (harddisk manuf. in each bah, and physical sector size).
> 
> So I'm wonder if util-linux has something in its blk library
> about this?

Is this one of the PHY-SEC or LOG-SEC fields that lsblk can print?

[dg@major ~]$ lsblk -o "NAME,PHY-SEC,LOG-SEC"
NAME                                            PHY-SEC LOG-SEC
sda                                                 512     512

Dave

> 
-- 
 -----Open up your eyes, open up your mind, open up your code -------   
/ Dr. David Alan Gilbert    |       Running GNU/Linux       | Happy  \ 
\        dave @ treblig.org |                               | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux