ONTAP Discussions

Filesystem alignment in RHEL with DataONTAP

MICHAEL_SAYGAK

Hello!

I have a question about filesystem alignment.

For example, I have a NetApp storage and physical RHEL host. I would like to add a virtual disk from storage to server over FC SAN.

After creating and mapping a LUN on storage I see a new block device in Linux.

I would like to create a LVM2 volume on it and create ext4 filesystem.

Should I use pvcreate with        --dataalignmentoffset option?

Which sizes of physical extent should I use, while creating volume group to get better performance from storage array?

Which size should I put into blockdev --setbsz ? (default is 4096)

Should I create a lvm partition on raw device with fdisk and make physical volume on primary partition or use raw device to pvcreate?

Should I align partition with some sectors while creating in with fdisk?

Which sizes should I use for options stride and width_size in mkfs.ext4 ?

Thanks!

0 REPLIES 0
Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public