Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 6 months agoDefragged Zebrash.itjust.worksimagemessage-square53fedilinkarrow-up11.15Karrow-down115
arrow-up11.13Karrow-down1imageDefragged Zebrash.itjust.worksSjmarf@sh.itjust.works to Programmer Humor@programming.dev · 6 months agomessage-square53fedilink
minus-squareAlawami@lemmy.mllinkfedilinkarrow-up1·edit-26 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-squareLazerFX@sh.itjust.workslinkfedilinkEnglisharrow-up2·6 months agoI understood that XFS automatically mounted SSD’s with XFS_XFLAG_NODEFRAG set? Is this not the case?
minus-squareAlawami@lemmy.mllinkfedilinkarrow-up2·6 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-squareLazerFX@sh.itjust.workslinkfedilinkEnglisharrow-up2·6 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.