Block size
Jump to navigation
Jump to search
blockdev --getbsz /dev/sda11 4096 blockdev --getsize64 '/dev/sda'
tune2fs -l /path/to/device | grep "Block size"
blockdev --rereadpt /dev/sdaaa
Windows: fsutil fsinfo ntfsinfo [your drive]
fsutil fsinfo ntfsinfo C: NTFS Volume Serial Number : 0x3a32d3ff32d3de55 NTFS Version : 3.1 LFS Version : 1.1 Number Sectors : 0x000000004af04fff Total Clusters : 0x00000000095e09ff Free Clusters : 0x0000000008e1334d Total Reserved : 0x0000000000001824 Bytes Per Sector : 512 Bytes Per Physical Sector : 512 Bytes Per Cluster : 4096 Bytes Per FileRecord Segment : 1024 Clusters Per FileRecord Segment : 0 Mft Valid Data Length : 0x000000000d8c0000 Mft Start Lcn : 0x00000000000c0000 Mft2 Start Lcn : 0x0000000000000002 Mft Zone Start : 0x0000000000506840 Mft Zone End : 0x0000000000513060 Max Device Trim Extent Count : 0 Max Device Trim Byte Count : 0x0 Max Volume Trim Extent Count : 62 Max Volume Trim Byte Count : 0x40000000 Resource Manager Identifier : 9D21DA68-6D41-11EA-8D5C-B54A0A7FDTXT
Bytes Per Cluster is the equivalent of the allocation unit.
PostgreSQL[edit]
show block_sizeselect current_setting('block_size');
Related terms[edit]
See also[edit]
- Block devices, partition, GUID Partition Table (GPT),
fdisk,parted,Kpartx, partition,/proc/partitions,blockdev, mkfs, partprobe,diskpart (Windows),fdisk -l /dev/nbd0, SD card - file, File system, directory,
touch,mkdir,ls,lntruncate,fallocate,split,stat, inode, File descriptor, superblock, block size (blockdev),fuser,lsof,scrub,chattr, ulimit (nofiles),cp,mv,file (command),mkfifo,chmod - File systems: clustered file system,
tune2fsmkfs.ext4,superblock, e2fsck,resize2fs,mount,df,umount, UUID,fstab - Block devices: HDD, SSD, Intel Optane, block size
Advertising: