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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux