Difference between revisions of "Block size"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | [[wikipedia:Block (data storage)|Block size]] | |
− | [[wikipedia:Block size]] | ||
[[blockdev]] --getbsz /dev/sda11 | [[blockdev]] --getbsz /dev/sda11 | ||
Line 8: | Line 7: | ||
[[tune2fs]] -l /path/to/device | grep "[[Block]] size" | [[tune2fs]] -l /path/to/device | grep "[[Block]] size" | ||
+ | blockdev --rereadpt /dev/sdaaa | ||
Line 39: | Line 39: | ||
<code>Bytes Per Cluster</code> is the equivalent of the allocation unit. | <code>Bytes Per Cluster</code> is the equivalent of the allocation unit. | ||
+ | |||
+ | == PostgreSQL == | ||
+ | * <code>[[show block_size]]</code> | ||
+ | * <code>[[select]] [[current_setting]]('block_size');</code> | ||
+ | |||
+ | == Related terms == | ||
+ | * [[Reservation percentage]] | ||
+ | * [[Block]] | ||
== See also == | == See also == | ||
+ | * {{fdisk}} | ||
* {{files}} | * {{files}} | ||
* {{filesystems}} | * {{filesystems}} |
Latest revision as of 22:51, 31 October 2021
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_size
select 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
- file, File system, directory,
touch
,mkdir
,ls
,ln
truncate
,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,
tune2fs
mkfs.ext4
,superblock, e2fsck,resize2fs
,mount
,df
,umount
, UUID,fstab
- Block devices: HDD, SSD, Intel Optane, block size
Advertising: