Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides https://forum.ivorde.com/ |
|
How to get UFS filesystem block size in FreeBSD https://forum.ivorde.com/how-to-get-ufs-filesystem-block-size-in-freebsd-t14751.html |
Page 1 of 1 |
Author: | mandrei99 [ Mon Jul 22, 2013 9:49 am ] |
Post subject: | How to get UFS filesystem block size in FreeBSD |
How to get UFS filesystem block size in FreeBSD using "dumpfs" utility Code: # dumpfs /var/ | grep "bsize" bsize 16384 shift 14 mask 0xffffc000 maxbsize 16384 maxbpg 2048 maxcontig 8 contigsumsize 8 sbsize 2048 cgsize 16384 csaddr 3000 cssize 2048 Default UFS filesystem block size in FreeBSD is 16 K ( and from my reading, this is a decent value, but care needs to be taken when deploying Postgresql on FreeBSD - both UFS block size and Postgresql blocks should be at the same size). |
Page 1 of 1 | All times are UTC - 5 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |