Sjmarf to Programmer Humor@programming.dev • 6 months agoDefragged Zebrash.itjust.worksimagemessage-square53fedilinkarrow-up11.15Karrow-down115
arrow-up11.14Karrow-down1imageDefragged Zebrash.itjust.worksSjmarf to Programmer Humor@programming.dev • 6 months agomessage-square53fedilink
minus-square@Alawami@lemmy.mllinkfedilink1•edit-25 months agoI’m pretty sure running XFS defrag will defrag without trimming no matter the type of block device. Edit: yea you might actually be right. I Played with my fstab too much years ago, and never thought of that untill now
minus-square@LazerFX@sh.itjust.workslinkfedilinkEnglish2•5 months agoI understood that XFS automatically mounted SSD’s with XFS_XFLAG_NODEFRAG set? Is this not the case?
minus-square@Alawami@lemmy.mllinkfedilink2•5 months agoyea you might actually be right. I Played with my fstab too much years ago, and never thought of that until now But does that flag affect manually running xfs_fsr?
minus-square@LazerFX@sh.itjust.workslinkfedilinkEnglish2•5 months agoAccording to the man(8) page, it will avoid touching any blocks that have the chattr -f flag set, which is XSR_XFLAGS_NODEFRAG… So I think if the docs are still accurate to the code, yes. A lot of ifs in that assumption.
I’m pretty sure running XFS defrag will defrag without trimming no matter the type of block device.
Edit: yea you might actually be right. I Played with my fstab too much years ago, and never thought of that untill now
I understood that XFS automatically mounted SSD’s with XFS_XFLAG_NODEFRAG set? Is this not the case?
yea you might actually be right. I Played with my fstab too much years ago, and never thought of that until now
But does that flag affect manually running xfs_fsr?
According to the man(8) page, it will avoid touching any blocks that have the
chattr -f
flag set, which is XSR_XFLAGS_NODEFRAG… So I think if the docs are still accurate to the code, yes.A lot of ifs in that assumption.