[Top] [All Lists]

Change sector size on existing partition

To: xfs@xxxxxxxxxxx
Subject: Change sector size on existing partition
From: Dewangga Bachrul Alam <dewanggaba@xxxxxxxxxxxxxxx>
Date: Fri, 23 Jan 2015 20:04:44 +0700
Delivered-to: xfs@xxxxxxxxxxx
Disposition-notification-to: Dewangga Bachrul Alam <dewanggaba@xxxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

I'm new to XFS, I have RAID-10 array with 4 disk, when I check with
xfs_info, the information print like this.

$ xfs_info /var/lib/mysql
meta-data=/dev/mapper/vg_catalystdb01-lv_database isize=256
agcount=16, agsize=1600000 blks
         =                       sectsz=4096  attr=2, projid32bit=0
data     =                       bsize=4096   blocks=25600000, imaxpct=25
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0
log      =internal               bsize=4096   blocks=12500, version=2
         =                       sectsz=4096  sunit=1 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0

Is it possible to change `sectsz` value to 512 without re-format it? Or
any suggestion? I have issue with current sector size, my TokuDB
engines[1] can't start because of this.

[1] https://groups.google.com/forum/#!topic/tokudb-user/kvQFJLCmKwo

<Prev in Thread] Current Thread [Next in Thread>