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

Re: [Xen-users] SSD 4K Alignment?


> You mean in the context of using a file to contain the virtual disk
> image? Just put it on a FS that is using 4KB sectors, and that is
> aligned to a 4KB boundary, and when you are installing the guest
> make sure you set up the FS to also use 4KB blocks.
Hmmm, that depends on what you do within the image: In case you create
partitions within those images you need to assure that those partitions are
aligned to use 4K blocks which boils down to using GPT for the partition
When you create a file system on the raw image you don't need to do
anything: the blocks are already aligned and it does not matter what
blocksize you use for creating the filesystem; so 512B is ok too.
I actually never used image files but only storage devices like lvm
volumes. But that depends on the use case, of course.

-- Adi

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.