Re: Block size

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

 



On 10/23/2010 10:40 PM, Patrick Dupre wrote:
> Hello,
> 
> On a logical partition I am unable to set the block size to 1024 !
> I formatted the partition mke2fs /dev/VG1/part1 -b 1024 -t ext4
> and when I do a
> blockbsz --getbsz or mke2fs -n
> I get 4096 !

Are you sure the command you're running isn't "blockdev"? I've never heard of a
"blockbsz".

The command blockdev --getbsz will retrieve the soft block size (logical sector
size) of the block device which is a property of the device not the file system.

Use dumpe2fs -h or another file system level tool if you want to find out
information about the file system located on the device.

E.g.:

# blockdev --getbsz /dev/sda6
512
# dumpe2fs -h /dev/sda6 | grep Block
dumpe2fs 1.35 (28-Feb-2004)
Block count:              497980
Block size:               1024 <--
Blocks per group:         8192


> Is it related to the logical partition ?

No. It's just the block size of the drive that's being reported, not the file
system.

Regards,
Bryn.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux